/* Base Styles */
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #2d3748;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Top Navigation */
.top-nav {
    padding: 4px 0;
    text-align: right;
    margin-right: 12px;
    margin-bottom: 2px;
}

.top-nav a {
    color: #2c3e50;
    text-decoration: none;
    padding: 3px 8px;
    margin: 0 2px;
    font-size: 10px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 4px 12px 12px 12px;
}

.header-top {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.header-content {
    position: relative;
    z-index: 1;
    padding-right: 60px;
}

.logo {
    color: #ffffff;
    background: rgba(255, 255, 255);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header h2 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.header p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Content Sections */
.section {
    margin: 12px;
    padding: 16px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.summary-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f7ff 100%);
}

.section-title {
    color: #4f46e5;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #b0b8e6;
}

/* News Items */
.news-item {
    padding: 12px;
    margin-bottom: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.news-title {
    color: #4338ca;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-item p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Trending Button */
.trending-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0e7ff 100%);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #4338ca;
    margin-top: 8px;
}

.trending-button i {
    margin-right: 6px;
    color: #6366f1;
}

/* Share Section */
.share-section {
    /* background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);*/
    background: linear-gradient(135deg, #f0f7ff 0%, #e0e7ff 100%);
    color: black;
    text-align: center;
    padding: 20px 16px;
}

.share-button {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 16px;
    margin: 6px;
}

/* Feedback Section */
.feedback-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0e7ff 100%);
    text-align: center;
    padding: 20px 16px;
}

.feedback-button {
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 13px;
    margin: 0 6px;
}

/* Read Time */
.read-time {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 8px;
    font-size: 12px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: white;
    padding: 20px 16px;
    text-align: center;
    font-size: 12px;
}

.footer a {
    padding: 0 8px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .section {
        margin: 8px;
        padding: 12px;
    }

    .header {
        padding: 20px;
        margin: 4px 8px 8px 8px;
    }

    .header h2 {
        font-size: 20px;
    }

    .news-item {
        padding: 10px;
        margin-bottom: 10px;
    }
}