/* CSS Variables & Reset */
:root {
    --bg-color: #0c0c0e;
    --text-color: #fafafa;
    --text-primary: #fafafa;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #818cf8;
    --accent-glow: rgba(129, 140, 248, 0.4);
    --glass-bg: rgba(24, 24, 27, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(24, 24, 27, 0.45);
    --banner-overlay: linear-gradient(180deg, rgba(12, 12, 14, 0) 0%, rgba(12, 12, 14, 0.95) 100%);
    --footer-bg: rgba(12, 12, 14, 0.85);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --nav-height: 85px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.light-mode {
    --bg-color: #ffffff;
    --text-color: #111827;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #4b5563;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.4);
    --banner-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
    --footer-bg: rgba(249, 250, 251, 0.85);
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 9999;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    /* Inner highlight */
}

/* Header */
.main-header {
    height: var(--nav-height);
    position: sticky;
    top: 0;
    /* Sticky header */
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.highlight {
    color: var(--accent-color);
}

/* Live Score Ticker */
.news-ticker-container {
    flex-grow: 1;
    overflow: hidden;
    margin: 0 2rem;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.news-ticker {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
}

.news-ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: var(--glass-border);
}

/* New Layout with Sidebars */
.content-wrapper.container {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    /* Wider container for sidebars */
    margin: 0 auto;
    padding: 2rem 20px;
}

.main-content-area {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.ad-sidebar {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ad-banner-vertical {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: calc(var(--nav-height) + 1rem);
    overflow: hidden;
}

.ad-banner-horizontal {
    display: none;
    /* Hidden by default (on desktop) */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    height: 120px;
    margin: 1.5rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ad-banner-horizontal.top-ad {
    margin-top: 0;
    margin-bottom: 2rem;
}

.ad-banner-horizontal.bottom-ad {
    margin-top: 3rem;
    margin-bottom: 0;
}

.ad-banner-vertical img,
.ad-banner-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.5;
    letter-spacing: 0.12em;
    padding: 0.5rem;
    color: var(--text-color);
    z-index: 10;
}

.ad-banner-vertical .ad-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: var(--footer-bg);
}

.ad-banner-horizontal .ad-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--footer-bg);
    border-radius: 0 0 8px 0;
}

/* Featured News Slider */
.featured-slider-container {
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 1rem;
}

.banner-item {
    position: relative;
    padding: 3rem 4rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 350px;
    transition: all 0.4s ease;
    overflow: hidden;
    background: var(--banner-overlay);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    opacity: 0.1;
    z-index: -1;
}

.banner-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.banner-label {
    position: absolute;
    top: 2rem;
    left: 4rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    max-width: 80%;
}

.banner-footer {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-footer::after {
    content: '→';
    transition: transform 0.3s;
}

.banner-item:hover .banner-footer::after {
    transform: translateX(8px);
}

/* Featured News Banners (Old Clean-up) */
.banners-container {
    display: none;
}

/* Original Hero Section (fallback/cleanup) */
.hero-section {
    padding: 2rem 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Header */
.category-header {
    padding: 4rem 0 3rem;
    text-align: center;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* News Grid */
.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    /* Handle mobile */
    gap: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 0;
    /* Reset */
}

/* New Filters / Tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    opacity: 0.6;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.news-card {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow:
        0 20px 40px -12px rgba(0, 0, 0, 0.5),
        0 0 20px -5px var(--accent-glow);
}

/* Top colored border for cards based on category */
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--glass-border);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--input-bg);
}

.category-tag.sports {
    color: var(--color-sports);
    border: 1px solid var(--color-sports);
}

.category-tag.economy {
    color: var(--color-economy);
    border: 1px solid var(--color-economy);
}

.category-tag.health {
    color: var(--color-health);
    border: 1px solid var(--color-health);
}

.category-tag.ai {
    color: var(--color-ai);
    border: 1px solid var(--color-ai);
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-title a {
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--accent-color);
}

.news-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: transform 0.2s;
}

.read-more:hover {
    transform: translateX(4px);
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .ad-sidebar {
        display: none;
    }

    .ad-banner-horizontal {
        display: flex;
    }
}

@media (max-width: 768px) {
    .ad-banner-horizontal {
        height: 100px;
        margin: 1rem 0;
    }

    .banner-item {
        padding: 2rem 1.5rem;
        min-height: 280px;
    }

    .banner-label {
        top: 1.5rem;
        left: 1.5rem;
        font-size: 0.7rem;
    }

    .banner-title {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.page-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.page-btn:hover {
    border-color: var(--accent-color);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.page-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.arrow-btn {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Post-Pagination Ad */
.pagination-ad-container {
    margin: 4rem auto 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.pagination-ad {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pagination-ad:hover {
    transform: scale(1.02);
}

.pagination-ad img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .pagination-ad-container {
        margin-top: 2rem;
        padding: 1rem;
    }
}

/* Healthy Lifestyle Section */
.lifestyle-section {
    margin: 4rem 0;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    height: 500px;
}

.lifestyle-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.lifestyle-card:hover {
    transform: translateY(-5px);
}

.lifestyle-main {
    height: 100%;
}

.lifestyle-card.feature {
    height: 100%;
}

.lifestyle-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
}

.lifestyle-card.small {
    height: 100%;
}

.lifestyle-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-overlay);
    z-index: 1;
}

.lifestyle-card .card-content {
    position: relative;
    z-index: 2;
}

.lifestyle-card .card-content {
    z-index: 2;
}

.lifestyle-card .card-title {
    color: var(--text-color);
    font-size: 2rem;
    line-height: 1.2;
    margin: 0.8rem 0;
    font-family: var(--font-heading);
    font-weight: 800;
}

.lifestyle-card.small .card-title {
    font-size: 1.3rem;
}

.lifestyle-card .card-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.category-tag.lifestyle {
    background: #ff6b35;
    /* Matching AI World/Food orange-ish */
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.lifestyle-card.placeholder-card {
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lifestyle-card .read-more {
    margin-top: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

.category-tag.fitness {
    background: #00d2ff;
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.category-tag.health {
    background: #00f260;
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .lifestyle-main,
    .lifestyle-card.feature {
        height: 350px;
    }

    .lifestyle-side {
        grid-template-rows: auto;
        height: auto;
    }

    .lifestyle-card.small {
        height: 250px;
    }
}

/* Subscription Section */
.subscription-section {
    margin: 6rem 0 4rem;
}

.subscription-card {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.subscription-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.subscription-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.subscription-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.search-box {
    display: flex;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    padding: 8px;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 20px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.subscribe-btn {
    background: linear-gradient(to right, #6366f1, #a855f7);
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .subscription-title {
        font-size: 2rem;
    }

    .subscription-card {
        padding: 3rem 1.5rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
        gap: 15px;
    }

    .subscribe-btn {
        width: 100%;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-blue);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-icon {
    font-style: normal;
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 0 30px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-pink);
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 20px;
    }
}

/* Premium Footer Section */
.main-footer {
    margin-top: 80px;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
    background: var(--footer-bg);
    backdrop-filter: blur(20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.main-footer h4 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.main-footer h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li {
    margin-bottom: 12px;
}

.main-footer ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.main-footer ul li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    padding: 10px 20px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand {
        margin-bottom: 20px;
    }
}

/* Seamless Blog View Layout (Matches About Us) */
#post-view {
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-navigation-top {
    margin-bottom: 2rem;
}

.post-navigation-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.post-detail-container {
    padding: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.post-view-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 3rem;
}

.post-view-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.post-view-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.post-view-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
}

.post-view-content h2 {
    font-size: 2.2rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--highlight);
    font-family: 'Outfit', sans-serif;
}

.post-view-content p {
    margin-bottom: 1.8rem;
}

.post-view-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.post-view-image img {
    width: 100%;
    display: block;
}

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .post-detail-container {
        padding: 2rem;
    }

    .post-view-title {
        font-size: 2.5rem;
    }
}