/* ============================================================
   0xnav.com Replica - Main Stylesheet
   Based on onenav WordPress theme design system
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Brand Colors */
    --theme-color: #f1404b;
    --theme-color-rgb: 241, 64, 75;
    --theme-color-bg: rgba(var(--theme-color-rgb), 0.1);
    --hover-color: #d12768;
    --focus-color: var(--theme-color);
    --focus-shadow-color: rgba(220, 65, 75, 0.6);

    /* Base Colors */
    --main-color: #484b4f;
    --main-bg-color: #fff;
    --main-shadow: rgba(0, 0, 0, 0.08);
    --body-bg-color: #e8ecf1;
    --input-bg-color: #f2f4f7;

    /* Blur Background Colors */
    --main-blur-bg-color: rgba(245, 245, 245, 0.75);
    --main-blur-bg-color2: rgba(245, 245, 245, 0.85);
    --main-blur-bg-color3: rgba(245, 245, 245, 0.6);

    /* Muted Colors */
    --muted-color: #93959a;
    --muted-color2: #66686b;
    --muted-color3: #a5a8aa;
    --muted-bg-color: #e6e8ea;
    --muted-bg-color-l: #f1f2f4;
    --muted-shadow: rgba(116, 116, 116, 0.1);
    --muted-bg-a-color: rgba(116, 116, 116, 0.08);

    /* Layout */
    --main-radius: 12px;
    --main-nav-height: 80px;
    --main-max-width: 1260px;
    --home-max-width: 1900px;
    --sidebar-width: 200px;
    --sidebar-collapsed-width: 0px;

    /* Border Radius */
    --radius-xxl: calc(var(--main-radius) + 8px);
    --radius-xl: calc(var(--main-radius) + 4px);
    --radius-lg: calc(var(--main-radius) - 2px);
    --radius-md: calc(var(--main-radius) - 4px);
    --radius-sm: calc(var(--main-radius) - 6px);
    --radius-xs: calc(var(--main-radius) - 8px);

    /* Spacing */
    --content-padding: 15px;
    --card-padding: 20px;
    --section-gap: 24px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--main-nav-height) + 20px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    color: var(--main-color);
    background-color: var(--body-bg-color);
    padding-top: var(--main-nav-height);
    line-height: 1.6;
    transition: background-color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--focus-color);
}

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

ul {
    list-style: none;
}

.container-fluid {
    width: 100%;
    max-width: var(--home-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* ==================== HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--main-nav-height);
}

.header-nav {
    background: var(--main-blur-bg-color);
    -webkit-backdrop-filter: saturate(2) blur(15px);
    backdrop-filter: saturate(2) blur(15px);
    border-bottom: 1px solid var(--muted-bg-a-color);
    height: 100%;
    transition: background-color 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--home-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-link img {
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-color);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.navbar-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--main-color);
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--focus-color);
    background: var(--muted-bg-a-color);
}

.flex-fill {
    flex: 1;
}

/* Header Tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: var(--muted-bg-a-color);
    color: var(--focus-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.menu-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== MAIN LAYOUT ==================== */
.main-layout {
    display: flex;
    max-width: var(--home-max-width);
    margin: 0 auto;
    padding: var(--content-padding);
    gap: var(--content-padding);
    min-height: calc(100vh - var(--main-nav-height));
}

/* ==================== SIDEBAR ==================== */
.main-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--main-nav-height) + var(--content-padding));
    height: calc(100vh - var(--main-nav-height) - var(--content-padding) * 2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}


.sidebar-card {
    background: var(--main-bg-color);
    border-radius: var(--main-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    scrollbar-width: thin;
}

.sidebar-nav::-webkit-scrollbar {
    width: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--muted-bg-color);
    border-radius: 10px;
}

/* Sidebar Items */
.sidebar-item {
    position: relative;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--main-color);
    border-radius: 8px;
    margin: 1px 8px;
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
}

.sidebar-link:hover {
    background: var(--muted-bg-a-color);
    color: var(--focus-color);
}

.sidebar-link.active {
    color: #EBBB4E;
    background: rgba(235, 187, 78, 0.12);
    font-weight: 600;
}

.sidebar-icon {
    font-size: 1.1rem;
    margin-right: 8px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.nav-icon {
    font-size: 1rem;
    margin-right: 4px;
    vertical-align: -2px;
}

.icon-xs {
    font-size: 0.75rem;
    margin-right: 2px;
    vertical-align: -1px;
}

/* Theme toggle icons */
.cw-theme-btn .cw-sun,
.cw-theme-btn .cw-moon {
    font-size: 1rem;
    display: block;
}

.cw-theme-btn .cw-sun { display: block; }
.cw-theme-btn .cw-moon { display: none; }

.crypto-widget:not(.cw-light) .cw-theme-btn .cw-sun { display: none; }
.crypto-widget:not(.cw-light) .cw-theme-btn .cw-moon { display: block; }

/* ==================== CONTENT MAIN ==================== */
.content-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

/* ==================== CRYPTO WIDGET ==================== */
.crypto-widget-wrapper {
    margin-top: -3px;
}

.crypto-widget {
    width: 100%;
    height: 370px;
    display: flex;
    flex-direction: column;
    border-radius: var(--main-radius);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #ffffff;
    color: #1e2329;
    transition: background 0.25s, color 0.25s;
    border: 1px solid var(--muted-bg-a-color);
}

.crypto-widget *, .crypto-widget *::before, .crypto-widget *::after {
    box-sizing: border-box;
}

/* Promo Banner */
.cw-promo {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    background: linear-gradient(90deg, #49b4df 0%, #f8d12f 100%);
    color: #1e2329;
    font-weight: 500;
}

.cw-promo a {
    color: #1e2329;
    text-decoration: underline;
    font-weight: 700;
}

/* Top Bar - Coin Buttons */
.cw-top-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 4px;
    background: #f5f5f5;
    border-bottom: 1px solid #e6e8ea;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
    transition: background 0.25s, border-color 0.25s;
}

.cw-top-bar::-webkit-scrollbar {
    display: none;
}

.cw-coin-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: 1px solid #e6e8ea;
    border-radius: 6px;
    background: transparent;
    color: #707a8a;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.cw-coin-btn:hover {
    background: #eaecef;
    color: #1e2329;
    border-color: #cfd2d6;
}

.cw-coin-btn.active {
    background: rgba(240, 185, 11, 0.1);
    color: #c99400;
    border-color: rgba(240, 185, 11, 0.35);
}

.cw-coin-price {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.cw-coin-price.up { color: #0ecb81; }
.cw-coin-price.down { color: #f6465d; }

.cw-theme-btn {
    flex-shrink: 0;
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid #e6e8ea;
    border-radius: 6px;
    background: transparent;
    color: #707a8a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
    font-family: inherit;
}

.cw-theme-btn:hover {
    background: #eaecef;
    color: #1e2329;
    border-color: #cfd2d6;
}

/* Price Header */
.cw-price-header {
    display: flex;
    align-items: baseline;
    padding: 6px 14px;
    gap: 10px;
    flex-shrink: 0;
    background: #ffffff;
    transition: background 0.25s;
}

.cw-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #1e2329;
}

.cw-current-price {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cw-current-price.up { color: #0ecb81; }
.cw-current-price.down { color: #f6465d; }

.cw-change {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.cw-change.up { color: #0ecb81; }
.cw-change.down { color: #f6465d; }

/* Interval Bar */
.cw-interval-bar {
    display: flex;
    padding: 0 14px 6px;
    gap: 2px;
    flex-shrink: 0;
    background: #ffffff;
    transition: background 0.25s;
}

.cw-interval-btn {
    padding: 3px 10px;
    font-size: 11px;
    color: #707a8a;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.cw-interval-btn:hover {
    color: #1e2329;
}

.cw-interval-btn.active {
    background: #eaecef;
    color: #c99400;
    font-weight: 600;
}

/* Chart */
.cw-chart {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.cw-chart canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.cw-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    color: #707a8a;
    font-size: 13px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

/* ==================== CONTENT SECTION ==================== */
.content-section {
    scroll-margin-top: calc(var(--main-nav-height) + 20px);
}

.section-card {
    background: var(--main-blur-bg-color);
    -webkit-backdrop-filter: saturate(2) blur(15px);
    backdrop-filter: saturate(2) blur(15px);
    border-radius: var(--main-radius);
    box-shadow: 0 5px 20px var(--main-shadow);
    overflow: hidden;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    padding: 14px var(--card-padding);
    border-bottom: 1px solid var(--muted-bg-a-color);
    gap: 1rem;
    flex-wrap: wrap;
}

.section-tabs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--main-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.section-icon {
    font-size: 1.1rem;
}

.tab-list {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
    background: var(--muted-bg-a-color);
    border-radius: var(--radius-md);
}

.tab-list::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-color2);
    background: transparent;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--main-color);
}

.tab-btn.active {
    background: var(--main-bg-color);
    color: var(--theme-color);
    font-weight: 600;
    box-shadow: 0 1px 3px var(--main-shadow);
}

.more-link {
    font-size: 0.8rem;
    color: var(--muted-color);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}

.more-link:hover {
    color: var(--focus-color);
}

/* ==================== FEATURED ARTICLES ==================== */
.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: var(--card-padding);
    border-bottom: 1px solid var(--muted-bg-a-color);
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--main-bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--main-shadow);
}

.article-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--muted-bg-color-l);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.article-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: var(--main-color);
}

.article-title a:hover {
    color: var(--focus-color);
}

.article-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.meta-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    background: var(--theme-color-bg);
    color: var(--theme-color);
    white-space: nowrap;
}

.meta-tag:nth-child(n+2) {
    background: var(--muted-bg-a-color);
    color: var(--muted-color2);
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--muted-color);
}

/* ==================== SITES GRID ==================== */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    padding: var(--card-padding);
}

/* Site Card */
.site-card {
    display: flex;
    flex-direction: column;
    background: var(--main-bg-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.site-card:hover {
    border-color: var(--muted-bg-a-color);
    box-shadow: 0 4px 16px var(--main-shadow);
    transform: translateY(-1px);
}

.site-card-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.site-card-body:hover {
    color: inherit;
}

/* Site Icon */
.site-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.site-icon-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 0.6;
    transform: scale(1.1);
}

.site-favicon {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.3s;
}

.site-card:hover .site-favicon {
    transform: scale(1.08);
}

/* Site Info */
.site-card-info {
    flex: 1;
    min-width: 0;
}

.site-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--main-color);
}

.site-desc {
    font-size: 0.78rem;
    color: var(--muted-color);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Site Card Meta */
.site-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--muted-bg-a-color);
}

.meta-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 4px;
    background: var(--theme-color-bg);
    color: var(--theme-color);
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-views {
    font-size: 0.72rem;
    color: var(--muted-color);
    display: flex;
    align-items: center;
    gap: 3px;
}

.btn-goto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--muted-color);
    background: var(--muted-bg-color-l);
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-goto:hover {
    background: var(--theme-color);
    color: #fff;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted-color);
    font-size: 0.95rem;
    grid-column: 1 / -1;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--main-bg-color);
    border-top: 1px solid var(--muted-bg-a-color);
    margin-top: 3rem;
}

.footer-container {
    max-width: var(--home-max-width);
    margin: 0 auto;
    padding: 2rem var(--content-padding);
}

.footer-content {
    display: flex;

    justify-content: center;
}



.footer-brand img {
    height: 30px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--muted-color);

}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--main-color);
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--muted-color);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--focus-color);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted-color3);
}

/* ==================== MOBILE OVERLAY ==================== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.mobile-overlay.show {
    display: block;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet and below */
@media (max-width: 1199px) {
    :root {
        --content-padding: 12px;
    }

    .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .featured-articles {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Small Tablet / Large Phone */
@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
    }

    .main-sidebar {
        position: fixed;
        left: -320px;
        top: calc(var(--main-nav-height) + 12px);
        width: 280px;
        min-width: 280px;
        height: calc(100vh - var(--main-nav-height) - 24px);
        z-index: 1001;
        padding: 0;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-sidebar.mobile-open {
        left: 12px;
        width: 280px;
        min-width: 280px;
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-card {
        border-radius: 16px;
        height: 100%;
        box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .main-layout {
        padding: 10px;
    }
}

/* Phone */
@media (max-width: 767px) {
    :root {
        --main-nav-height: 64px;
        --section-gap: 16px;
        --content-padding: 10px;
    }

    .main-layout {
        padding: 8px;
        gap: 12px;
    }

    .sites-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .featured-articles {
        grid-template-columns: 1fr;
        padding: 12px;
    }

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

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

    .tab-list {
        flex-wrap: wrap;
    }

    .crypto-widget {
        height: 320px;
        border-radius: var(--radius-lg);
    }

    .cw-price-header {
        padding: 4px 10px;
    }

    .cw-current-price {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .cw-top-bar {
        padding: 6px 8px;
        gap: 2px;
    }

    .cw-coin-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .site-card-body {
        gap: 10px;
    }

    .site-card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .site-card {
        padding: 12px;
    }
}

/* Small Phone */
@media (max-width: 480px) {
    .crypto-widget {
        height: 280px;
    }

    .cw-promo {
        font-size: 11px;
        padding: 6px 10px;
    }

    .section-title {
        font-size: 0.95rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-card {
    animation: fadeInUp 0.4s ease forwards;
}

.site-card:nth-child(1) { animation-delay: 0.02s; }
.site-card:nth-child(2) { animation-delay: 0.04s; }
.site-card:nth-child(3) { animation-delay: 0.06s; }
.site-card:nth-child(4) { animation-delay: 0.08s; }
.site-card:nth-child(5) { animation-delay: 0.10s; }
.site-card:nth-child(6) { animation-delay: 0.12s; }
.site-card:nth-child(7) { animation-delay: 0.14s; }
.site-card:nth-child(8) { animation-delay: 0.16s; }
.site-card:nth-child(n+9) { animation-delay: 0.18s; }

/* ==================== PRINT STYLES ==================== */
@media print {
    .main-header,
    .main-sidebar,
    .mobile-overlay,
    .search-modal {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .main-layout {
        display: block;
    }
}
