@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #faf6f0;
    --cream-dark: #f0e8d8;
    --parchment: #f5efe3;
    --bark: #3d2b1f;
    --bark-light: #6b4f3a;
    --bark-muted: #8b7355;
    --leaf-deep: #2a6041;
    --leaf: #3d8b5e;
    --leaf-light: #5aad7a;
    --leaf-pale: #a8d5ba;
    --moss: #7a9e6b;
    --fern: #4a7c4e;
    --earth: #c9a96e;
    --earth-light: #dfc793;
    --sky: #87b5c4;
    --berry: #a0445a;
    --text-dark: #2c2418;
    --text-body: #4a3f33;
    --text-muted: #8a7e6e;
    --text-light: #b5a998;
    --shadow-soft: 0 2px 20px rgba(61, 43, 31, 0.06);
    --shadow-card: 0 4px 24px rgba(61, 43, 31, 0.08);
    --shadow-hover: 0 8px 36px rgba(61, 43, 31, 0.12);
    --radius: 8px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text-body);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== ORGANIC TEXTURE OVERLAY ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== TOPBAR / NAVIGATION ===== */
.nature-topbar {
    background: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 48px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ff4b4b, #9b1c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.topbar-brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.topbar-brand h1 span {
    color: #ff4b4b;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.topbar-nav a {
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.topbar-nav a:hover,
.topbar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-search {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 9px 20px 9px 40px;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    width: 220px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

.topbar-search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.topbar-search:focus {
    width: 280px;
    border-color: #ff4b4b;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.15);
}

/* ===== HERO BANNER ===== */
.nature-hero-banner {
    background: linear-gradient(135deg, #09090b 0%, #18181b 40%, #09090b 100%);
    padding: 70px 48px 90px;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nature-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background: radial-gradient(circle at 70% 30%, rgba(255, 75, 75, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.nature-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 0%, #d1d1d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #ff4b4b 0%, #ff8f8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat:first-child::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    font-weight: 600;
}

/* ===== MAIN CONTAINER ===== */
.nature-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

/* ===== SECTION HEADERS ===== */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 48px 0 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(201, 169, 110, 0.15);
}

.section-head-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--bark);
    letter-spacing: -0.5px;
}

.section-head-left p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.section-head-right {
    font-size: 0.78rem;
    color: var(--leaf);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== TOPLIST GAME GRID ===== */
.toplist-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin-bottom: 48px;
}

.toplist-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(201, 169, 110, 0.08);
    position: relative;
}

.toplist-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.toplist-card:hover .card-thumb {
    transform: scale(1.05);
}

.card-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--leaf-deep);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(42, 96, 65, 0.3);
}

.card-rank.top3 {
    background: linear-gradient(135deg, var(--earth), var(--earth-light));
    color: var(--bark);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--berry);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bark);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-category {
    font-size: 0.7rem;
    color: var(--leaf);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.card-plays {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-plays strong {
    color: var(--bark-light);
}

.card-btn {
    background: var(--leaf-deep);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.card-btn:hover {
    background: var(--leaf);
    transform: scale(1.05);
}

/* ===== AD SLOT ===== */
.nature-ad {
    background: #fff;
    border: 1px dashed rgba(201, 169, 110, 0.25);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin: 32px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== DISPATCHES / LIVE FEED ===== */
.feed-section {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.feed-panel {
    background: #fff;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.feed-panel-head {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--leaf);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--leaf);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--leaf);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.dispatch-list {
    max-height: 420px;
    overflow-y: auto;
}

.dispatch-list::-webkit-scrollbar {
    width: 3px;
}

.dispatch-list::-webkit-scrollbar-thumb {
    background: var(--earth);
    border-radius: 2px;
}

.dispatch-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.06);
    transition: background 0.2s;
}

.dispatch-item:hover {
    background: rgba(201, 169, 110, 0.04);
}

.dispatch-time {
    font-size: 0.68rem;
    color: var(--text-light);
    min-width: 55px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.dispatch-text {
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

.dispatch-text a {
    color: var(--text-body);
    transition: color 0.2s;
}

.dispatch-text a:hover {
    color: var(--leaf);
}

.tag-bloom {
    color: var(--leaf);
    font-size: 0.68rem;
    font-weight: 700;
    margin-right: 6px;
    text-transform: uppercase;
}

.tag-grow {
    color: var(--earth);
    font-size: 0.68rem;
    font-weight: 700;
    margin-right: 6px;
    text-transform: uppercase;
}

.tag-seed {
    color: var(--sky);
    font-size: 0.68rem;
    font-weight: 700;
    margin-right: 6px;
    text-transform: uppercase;
}

/* Stats Panel */
.stats-panel {
    padding: 22px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.stat-item:last-child {
    border: none;
}

.stat-icon {
    width: 42px;
    height: 42px;
    background: var(--parchment);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bark);
}

.stat-bar {
    height: 4px;
    background: var(--cream-dark);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--leaf-deep), var(--leaf-light));
    border-radius: 2px;
}

/* ===== CATEGORY TAGS GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 48px;
}

.cat-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: var(--bark);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--leaf);
    display: inline-block;
}

.cat-column a {
    display: block;
    padding: 5px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: all 0.2s;
    border-bottom: 1px solid rgba(201, 169, 110, 0.06);
}

.cat-column a:hover {
    color: var(--leaf-deep);
    padding-left: 8px;
}

/* ===== FOOTER ===== */
.nature-footer {
    background: var(--bark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 48px 40px;
    margin-top: 60px;
    position: relative;
}

.nature-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 0%);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-tag-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.nature-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.nature-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    transition: all 0.25s;
}

.nature-tag:hover {
    color: #fff;
    border-color: var(--leaf-light);
    background: rgba(90, 173, 122, 0.15);
}

.footer-legal {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    margin: 0 16px;
    transition: 0.2s;
}

.footer-legal a:hover {
    color: var(--leaf-pale);
}

.footer-legal p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .toplist-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .toplist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feed-section {
        grid-template-columns: 1fr;
    }

    .nature-topbar {
        padding: 0 24px;
    }

    .nature-container {
        padding: 0 24px;
    }

    .nature-hero-banner {
        padding: 40px 24px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .topbar-nav {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .toplist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .toplist-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
}