/* ==========================================================================
   ASENTOP 2.0 Linear-Bento Design System
   World-class Landing Page CSS (Ref: National Geographic, BBC Earth, Linear)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-base: #07090c;
    --bg-surface: rgba(13, 19, 23, 0.75);
    --bg-card: rgba(15, 23, 27, 0.85);
    --bg-card-hover: rgba(19, 30, 35, 0.95);
    
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.35);
    
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.35);

    --teal: #06b6d4;
    --teal-light: #22d3ee;
    
    /* Slate Neutral Text (WCAG AA Contrast) */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Border System */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-emerald: rgba(16, 185, 129, 0.22);
    --border-amber: rgba(245, 158, 11, 0.22);
    --border-hover: rgba(16, 185, 129, 0.55);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Radius Hierarchy */
    --radius-2xl: 28px;
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --radius-pill: 9999px;
    
    /* Easing */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.35s var(--ease-smooth);
}

/* Reset & Base Rules */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Full-page High-Impact Organic Nature Background Layer */
.fullpage-bg-layer {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to bottom, rgba(7, 9, 12, 0.65) 0%, rgba(7, 9, 12, 0.88) 100%),
        url('assets/bg_nature.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
}

/* Linear-style Background Mesh Grid */
.grid-mesh-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Canvas Particle Backdrop */
#bio-particle-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ambient Backdrop Glow Orbs */
.glow-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.25;
}

.orb-primary {
    width: 650px; height: 650px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -220px; left: -180px;
}

.orb-amber {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #78350f 0%, transparent 75%);
    bottom: -280px; right: -220px;
}

.orb-teal {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
    top: 35%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Layout Container */
.page-layout {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 6rem 1.5rem;
}

/* Floating Frosted Glass Navbar */
.top-nav-container {
    position: sticky;
    top: 1.2rem;
    z-index: 100;
    margin-bottom: 4rem;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 15, 17, 0.82);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo {
    transform: rotate(15deg) scale(1.08);
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-main);
}

.brand-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.9;
    margin-left: 0.35rem;
    letter-spacing: 1.5px;
}

.nav-status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

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

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.nav-item:hover {
    color: var(--text-main);
}

.nav-btn {
    padding: 0.45rem 1.1rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    color: var(--primary-light);
    font-weight: 700;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--primary);
    color: #03120d;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5.5rem;
}

.hero-shimmer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    margin-bottom: 2.2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.hero-shimmer-badge:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.badge-arrow {
    transition: transform var(--transition-fast);
}

.hero-shimmer-badge:hover .badge-arrow {
    transform: translateX(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1.0rem, 1.8vw, 1.18rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.8rem;
    line-height: 1.65;
}

/* High-Definition Interactive Hero Carousel Showcase */
.hero-carousel-card {
    position: relative;
    width: 100%;
    max-width: 880px;
    height: 440px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    margin-bottom: 3.5rem;
    border: 1px solid var(--border-emerald);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(16, 185, 129, 0.18);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s var(--ease-smooth);
}

/* Vignette overlay for slides */
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(7, 9, 12, 0.65) 95%),
                linear-gradient(to top, rgba(7, 9, 12, 0.92) 0%, transparent 45%);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
    transition: transform 0.8s var(--ease-smooth);
}

.carousel-slide.active .carousel-img {
    transform: scale(1.03);
}

.carousel-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.8rem 2.2rem;
    z-index: 5;
    display: flex;
    align-items: flex-end;
}

.caption-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1.2rem;
    background: rgba(10, 16, 18, 0.88);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
}

.caption-tag i {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-dim);
    margin-left: 0.3rem;
}

.live-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulseDot 2s infinite ease-in-out;
}

/* Carousel Buttons */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(10, 16, 18, 0.75);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-prev { left: 1.2rem; }
.carousel-next { right: 1.2rem; }

.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary);
    color: #03120d;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Carousel Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    right: 2.2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dots .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
    width: 24px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    box-shadow: 0 0 10px var(--primary);
}

/* Interactive Cmd+K Search Simulation Bar */
.search-sim-container {
    width: 100%;
    max-width: 620px;
    margin-bottom: 3.5rem;
}

.search-sim-input {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(13, 20, 24, 0.85);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-xl);
    padding: 0.85rem 1.4rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    margin-bottom: 0.8rem;
}

.search-icon {
    font-size: 1.1rem;
    margin-right: 0.8rem;
}

.search-sim-input input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.search-shortcut {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.search-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-label {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.tag-btn {
    padding: 0.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tag-btn:hover, .tag-btn.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--border-emerald);
    color: var(--primary-light);
}

/* High-Impact Metrics Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: 1.6rem 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-light);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Master Bento Grid Section */
.bento-section {
    margin-bottom: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.8rem;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.0rem;
    font-weight: 800;
}

/* Bento Grid System (12 Column Architecture) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-tile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.tile-border-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    transition: background 0.15s ease;
    border-radius: var(--radius-2xl);
}

/* Hero Bento Cards */
.bento-hero {
    grid-column: span 6;
}

.bento-wiki {
    border-color: var(--border-emerald);
}

.bento-wiki:hover {
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--primary-glow);
}

.bento-shop {
    border-color: var(--border-amber);
}

.bento-shop:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--accent-glow);
}

.tile-content {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.wiki-badge {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-light);
    border: 1px solid var(--border-emerald);
}

.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.shop-badge {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-light);
    border: 1px solid var(--border-amber);
}

.shop-dot {
    background: var(--accent);
}

.tile-code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.bento-tile h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.bento-tile p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

/* Specimen Card Showcase Widget inside Wiki Bento */
.specimen-card-widget {
    background: rgba(10, 16, 18, 0.9);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-xl);
    padding: 1.2rem;
    margin-bottom: 2rem;
}

.specimen-photo-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.0rem;
    border: 1px solid var(--border-subtle);
}

.specimen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.specimen-card-widget:hover .specimen-img {
    transform: scale(1.06);
}

.specimen-badge-float {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: rgba(10, 16, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
}

.specimen-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.specimen-name {
    display: flex;
    flex-direction: column;
}

.cn-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.latin-name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-dim);
}

.safe-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-light);
    border: 1px solid var(--border-emerald);
}

.specimen-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 0.8rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.m-label {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.m-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Shop Card Showcase Widget inside Shop Bento */
.shop-card-widget {
    margin-bottom: 2rem;
}

.shop-photo-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.0rem;
    border: 1px solid var(--border-amber);
}

.shop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.shop-card-widget:hover .shop-img {
    transform: scale(1.06);
}

.shop-badge-float {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: rgba(10, 16, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-amber);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-light);
}

.shop-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shop-pill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(10, 16, 18, 0.9);
    border: 1px solid var(--border-amber);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.0rem;
}

.pill-icon {
    font-size: 1.3rem;
}

.pill-text {
    display: flex;
    flex-direction: column;
}

.pill-text strong {
    font-size: 0.9rem;
    color: var(--text-main);
}

.pill-text small {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* Action Buttons */
.tile-action {
    margin-top: auto;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wiki-action-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--border-emerald);
    color: var(--primary-light);
}

.wiki-action-btn:hover {
    background: var(--primary);
    color: #03120d;
    box-shadow: 0 0 20px var(--primary-glow);
}

.shop-action-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--border-amber);
    color: var(--accent-light);
}

.shop-action-btn:hover {
    background: var(--accent);
    color: #1a0f02;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.action-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Square Sub Bento Tiles */
.bento-sub {
    grid-column: span 4;
}

.bento-sub:hover {
    border-color: var(--border-emerald);
    transform: translateY(-4px);
}

.sub-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.bento-sub h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.bento-sub p {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 0;
}

/* Wide Bento Tile */
.bento-wide {
    grid-column: span 12;
    background: rgba(13, 20, 24, 0.9);
}

.wide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.wide-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.interactive-env-box {
    background: rgba(7, 11, 13, 0.95);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.env-toggle-buttons {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.env-btn {
    flex: 1;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.env-btn:hover, .env-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--border-emerald);
    color: var(--primary-light);
}

.env-display {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.88rem;
}

.env-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: 0.4rem;
}

.env-lbl {
    color: var(--text-dim);
}

.highlight-green { color: var(--primary-light); }
.highlight-amber { color: var(--accent-light); }
.highlight-teal { color: var(--teal-light); }

/* Star Specimens Gallery Grid Section */
.gallery-section {
    margin-bottom: 6rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all var(--transition-normal);
}

.gallery-card:hover {
    border-color: var(--border-emerald);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 30px var(--primary-glow);
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.gallery-tag {
    position: absolute;
    bottom: 0.8rem; left: 0.8rem;
    padding: 0.35rem 0.8rem;
    background: rgba(10, 16, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.gallery-info h4 small {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dim);
    display: block;
    margin-top: 0.1rem;
}

.gallery-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Footer */
.main-footer {
    text-align: center;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border-subtle);
}

.douyin-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    transition: border-color var(--transition-fast);
}

.douyin-tag:hover {
    border-color: var(--border-emerald);
    color: var(--text-main);
}

.copyright {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .bento-hero {
        grid-column: span 12;
    }

    .bento-sub {
        grid-column: span 6;
    }

    .wide-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-sub {
        grid-column: span 12;
    }

    .top-nav {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .nav-status-pill {
        display: none;
    }

    .hero-carousel-card {
        height: 280px;
    }
}
