:root {
    --primary-color: #007AFF;
    --accent-color: #FFCC00;
    --text-color: #1D1D1F;
    --text-muted: #6E6E73;
    --bg-color: #FFFFFF;
    --header-bg: rgba(255, 255, 255, 0.8);
    --card-bg: #FFFFFF;
    --border-color: #D2D2D7;
    --footer-bg: #F5F5F7;
    --container-max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.logo-image {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--text-color);
}

.logo-subtext {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 18px;
}

.pt-3 {
    margin-bottom: 10px;
}

/* Header Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    z-index: 1001;
    top: 100%;
    left: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f5f5f7;
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 8px 0;
}

#main-nav ul {
    display: flex;
    gap: 40px;
}

#main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

#main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-actions .v-line {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 4px;
}

/* App Main */
#app {
    min-height: 80vh;
}

/* Hero Minimal (Big Tech Style) */
.hero-minimal {
    padding: 40px 0 60px;
}

.hero-grid-featured {
    display: block;
}

.hero-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 21/9;
}

.hero-link {
    display: block;
    height: 100%;
    position: relative;
}

.hero-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Increased from 0.7 to 1.0 for better visual quality under the gradient */
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.hero-link:hover .hero-img-large {
    transform: scale(1.02);
}

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: clamp(32px, 5vw, 60px);
    color: #fff;
    max-width: 720px;
    z-index: 2;
}

.hero-text-overlay h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-wrap: balance;
}

.hero-text-overlay p {
    font-size: clamp(16px, 2vw, 18px);
    opacity: 0.85;
    max-width: 540px;
    line-height: 1.6;
}

/* Topics Bar */
.topics-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    padding-bottom: 16px;
    padding-top: 16px;
}

.topics-bar ul {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 14px 0;
}

.topics-bar a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    padding-bottom: 8px;
    display: inline-block;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.topics-bar a.active,
.topics-bar a:hover {
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    padding-top: 100px;
}

.search-overlay.active {
    display: block;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 16px;
    margin-bottom: 40px;
}

#search-input {
    flex: 1;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    outline: none;
}

#search-close {
    background: none;
    border: none;
    font-size: 48px;
    cursor: pointer;
    color: var(--text-muted);
}

.search-results h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
    margin-top: 32px;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item strong {
    font-size: 18px;
    margin-bottom: 4px;
}

.search-result-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Grid Refinement */
.blog-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 60px 40px;
    padding-bottom: 40px;
}

.post-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.post-card .summary {
    font-size: 15px;
}

/* News Section */
.news-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 40px auto 0;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
}

.news-content {
    display: flex;
    align-items: baseline;
    gap: 40px;
}

.news-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 80px;
}

.news-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.news-item svg {
    color: var(--text-muted);
    transition: var(--transition);
}

.news-item:hover svg {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Ecosystem Overhaul (Premium Grid) */
.ecosystem-overhaul {
    background: #ffffff;
}

.section-header-centered {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-header-centered h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 16px 0 24px;
}

.section-header-centered p {
    font-size: 18px;
    color: var(--text-muted);
}

.ecosystem-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.eco-tile {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: #f8f9fb;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    isolation: isolate;
}

/* Subtle tinted glow on hover */
.eco-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--accent, var(--primary-color)) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.eco-tile:hover::after {
    opacity: 0.07;
}

.btn-primary:hover {
    background: #0062CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--text-color);
    color: #fff;
    transform: translateY(-2px);
}

.eco-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.eco-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.5s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.eco-tile:hover .eco-icon-wrapper {
    transform: scale(1.08);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.eco-icon-wrapper img {
    width: 32px;
    height: 32px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-tile:hover .eco-icon-wrapper img {
    transform: scale(1.12) rotate(-3deg);
}

.eco-info {
    flex-grow: 1;
}

.eco-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.eco-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.eco-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ebebed;
    color: var(--text-color);
    align-self: flex-start;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.eco-tile:hover .eco-arrow {
    background: var(--text-color);
    color: #ffffff;
    transform: translateX(6px);
    border-color: transparent;
}

/* Footer Minimal (Big Tech Style) */
#site-footer {
    background: #fdfdfe;
    padding: 120px 0 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.footer-minimal-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 80px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    color: var(--text-color);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
    display: inline-block;
}

.brand-col .logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.brand-col p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.7;
}

.social-links-minimal {
    display: flex;
    gap: 20px;
    margin-top: 48px;
}

.social-links-minimal a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links-minimal a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Grid */
.blog-section {
    padding: 1px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
}

.section-header-modern .header-title {
    display: flex;
    flex-direction: column;
}

.section-header-modern h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 8px 0 0;
    color: var(--text-color);
}

.section-header-modern .header-desc {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    text-align: left;
    margin: 12px 0 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 48px 32px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.post-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .card-image img {
    transform: scale(1.05);
}

.post-meta {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.post-card .summary {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
#site-footer {
    background: var(--footer-bg);
    padding: 80px 0 40px;
    margin-top: 100px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 250px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text-color);
}

.footer-bottom {
    border-top: 1px solid #D2D2D7;
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* Loader */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Premium Content Pages (News & Categories) */
.post-view {
    padding-bottom: 100px;
}

.post-header-premium {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
    margin-bottom: 100px;
}

.post-header-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.post-header-premium .container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.post-header-premium h1 {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1.05;
    margin: 24px 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-header-premium .eyebrow {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 32px;
    padding: 8px 24px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.post-meta-premium {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.content-premium {
    font-size: 21px;
    line-height: 1.85;
    color: #222;
}

.content-premium h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 80px 0 32px;
    letter-spacing: -1.5px;
    color: var(--text-color);
}

.content-premium p {
    margin-bottom: 32px;
}

.content-premium img {
    width: 100%;
    border-radius: 32px;
    margin: 60px 0;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

/* Category Hero Refined */
.category-hero-refined {
    padding: 200px 0 140px;
    background-color: #18181b;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-hero-refined .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.category-hero-refined .eyebrow {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 32px;
    padding: 8px 24px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.category-hero-refined h1 {
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -5px;
    margin: 0 0 32px 0;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.category-hero-refined p {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Read Next Section */
.read-next {
    padding: 50px 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    background: #fbfbfc;
}

.read-next h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 100%;
    }

    .mobile-only {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .container {
        padding: 0 16px;
    }

    /* Header */
    #site-header {
        height: 64px;
    }

    .header-content {
        gap: 12px;
    }

    .logo-subtext {
        font-size: 14px;
    }

    /* Mobile Navigation */
    #main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: #fff;
        z-index: 2000;
        padding: 40px 20px;
        overflow-y: auto;
    }

    #main-nav.active {
        display: block;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    #main-nav a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-color);
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        margin-top: 10px;
    }

    /* Hero Section */
    .hero-minimal {
        padding: 20px 0 40px;
    }

    .hero-main {
        aspect-ratio: 1/1;
        /* Square on mobile for better visibility */
        border-radius: 16px;
    }

    .hero-text-overlay {
        padding: 20px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    }

    .hero-text-overlay h1 {
        margin-bottom: 16px;
        letter-spacing: -1px;
    }

    .hero-text-overlay p {
        line-height: 1.5;
    }

    /* Section Headers */
    .section-header-modern h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .section-header-modern .header-desc {
        font-size: 16px;
    }

    /* Grids */
    .blog-grid,
    .blog-grid-minimal {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-card h3 {
        font-size: 20px;
    }

    /* Ecosystem Tiles */
    .ecosystem-modern-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eco-tile {
        padding: 24px;
    }

    .eco-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }

    .eco-info h3 {
        font-size: 18px;
    }

    /* News Section */
    .news-item {
        padding: 24px 0;
    }

    .news-content {
        gap: 12px;
    }

    .news-item h3 {
        font-size: 18px;
    }

    /* Premium Content Views */
    .post-header-premium {
        height: 50vh;
        min-height: 350px;
        margin-bottom: 40px;
    }

    .post-header-premium h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .category-hero-refined {
        padding: 120px 0 80px;
    }

    .category-hero-refined h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .category-hero-refined p {
        font-size: 18px;
    }

    .content-premium {
        font-size: 17px;
    }

    .content-premium h2 {
        font-size: 24px;
        margin: 40px 0 16px;
    }

    /* Footer */
    .footer-minimal-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-col ul {
        align-items: center;
    }

    .brand-col .logo {
        justify-content: center;
    }

    .social-links-minimal {
        justify-content: center;
        margin-top: 32px;
    }

    /* Search Overlay */
    .search-overlay {
        padding-top: 60px;
    }

    #search-input {
        font-size: 24px;
    }
}

/* 404 Error Page */
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    min-height: 70vh;
}

.error-code {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), #00C6FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    letter-spacing: -8px;
    animation: float 6s ease-in-out infinite;
}

.error-404 h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -1px;
}

.error-404 p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 100px;
        letter-spacing: -4px;
    }
    
    .error-404 h2 {
        font-size: 28px;
    }
    
    .error-actions {
        flex-direction: column;
        width: 100%;
    }
}