@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
    --primary-dark: #0f261c;
    --primary: #1b4332;
    --primary-medium: #2d6a4f;
    --primary-light: #40916c;
    --accent: #52b788;
    --accent-light: #74c69d;
    --accent-glow: #b7e4c7;
    
    --bg-main: #f4f7f6;
    --bg-card: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
    --text-white: #ffffff;
    
    --border-glass: rgba(255, 255, 255, 0.4);
    --border-light: #e0e5e2;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px rgba(15, 38, 28, 0.06);
    --shadow-glow: 0 0 15px rgba(82, 183, 136, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Dynamic overlay & opacity helpers */
    --hero-overlay-top: rgba(15, 38, 28, 0.4);
    --hero-overlay-mid: rgba(15, 38, 28, 0.6);
    --hero-overlay-bottom: rgba(15, 38, 28, 0.85);
    --accent-rgba-20: rgba(82, 183, 136, 0.2);
    --accent-rgba-40: rgba(82, 183, 136, 0.4);
    --accent-rgba-60: rgba(82, 183, 136, 0.6);
    --accent-rgba-90: rgba(82, 183, 136, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
}

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

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

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

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER / NAVIGATION --- */
header {
    background-color: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
}

/* Owl logo image */
.logo-owl-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00c471;
    box-shadow: 0 0 8px rgba(0, 196, 113, 0.45);
    flex-shrink: 0;
}

/* Logo text container */
.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

/* "kus" part — white */
.logo-kus {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

/* "atlasi.com" part — bright green, matching brand reference */
.logo-atlasi {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #00c471 0%, #00e688 60%, #00c471 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Keep old .logo svg / span rules for any legacy use */
.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

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

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar > nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0 11px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    line-height: 1;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-links li.active a {
    background-color: var(--primary-medium);
    color: var(--text-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Navigation Dropdown Item (Keşfet / Explore) */
.nav-dropdown-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    display: none;
    flex-direction: column;
    padding: 6px 0;
    z-index: 1000;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.nav-dropdown-item:hover .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    color: #1e293b !important;
    padding: 10px 18px !important;
    height: auto !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-dropdown-menu a:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.lang-switcher .lang-btn {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 2px 4px;
}

.lang-switcher .lang-btn:hover {
    color: #ffffff;
}

.lang-switcher .lang-btn.lang-active {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(82, 183, 136, 0.4);
}

.lang-switcher .lang-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

/* Header Action / Share Button */
.btn-header-share {
    background: linear-gradient(135deg, var(--accent) 0%, #2b9348 100%);
    color: #ffffff;
    padding: 0 12px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(82, 183, 136, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-header-share:hover {
    background: linear-gradient(135deg, #74c69d 0%, #40916c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.45);
    color: #ffffff;
}

.header-icon-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-icon-btn:hover {
    color: var(--accent) !important;
    transform: scale(1.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    flex-wrap: nowrap;
}

.search-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.search-trigger:hover {
    color: var(--accent);
}

.btn-header-login {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0 12px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-header-login:hover {
    background-color: rgba(82, 183, 136, 0.1);
    box-shadow: var(--shadow-glow);
}

.btn-header-register {
    background-color: var(--primary-light);
    color: var(--text-white);
    padding: 0 12px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-header-register:hover {
    background-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* --- RESPONSIVE HEADER & MOBILE DRAWER --- */
.desktop-nav {
    display: flex;
    height: 100%;
    align-items: center;
}

.mobile-toggle-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.25rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer Container */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #1b4332 0%, #081c15 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
}

.mobile-drawer-close:hover {
    color: #ff4d6d;
}

.mobile-drawer-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.mobile-user-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-auth-actions {
    display: flex;
    gap: 10px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-list a {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s;
}

.mobile-nav-list a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: 18px;
}

.mobile-nav-list a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--accent);
}

.mobile-lang-box {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* User dropdown trigger */
.user-menu {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bg-card);
    min-width: 180px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border-light);
    display: none;
    flex-direction: column;
    overflow: visible;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.user-dropdown a {
    color: var(--text-main);
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.user-dropdown a:last-child {
    border-bottom: none;
    color: #d90429;
}

.user-dropdown a:hover {
    background-color: var(--bg-main);
}

.user-menu:hover .user-dropdown {
    display: flex;
}

/* Breakpoint for Responsive Header Navigation */
@media (max-width: 1180px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-toggle-btn {
        display: inline-flex !important;
    }
    .lang-switcher {
        display: none !important;
    }
    .user-trigger-name {
        display: none;
    }
    .btn-header-register {
        display: none;
    }
}

@media (max-width: 520px) {
    .logo-kus, .logo-atlasi {
        font-size: 1.15rem;
    }
    .logo-owl-img {
        width: 32px;
        height: 32px;
    }
    .logo {
        gap: 6px;
    }
    .navbar {
        height: 60px;
    }
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(180deg, var(--hero-overlay-top) 0%, var(--hero-overlay-bottom) 100%), 
                url('/static/images/hero.jpg') center/cover no-repeat;
    padding: 120px 0 140px 0;
    color: var(--text-white);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background-color: var(--primary-medium);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--hero-overlay-mid);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 900px;
    margin: 0 auto -200px auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- HOME PAGE GRID LAYOUT --- */
.home-content-section {
    padding: 240px 0 80px 0; /* Huge top padding to accommodate overlapping hero stats */
}

/* ===== GÜNÜN FOTOĞRAFLARI SECTION ===== */
.daily-photos-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    padding: 15px 0 15px 0;
    position: relative;
    overflow: hidden;
}

.daily-photos-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-rgba-20) 0%, transparent 70%);
    pointer-events: none;
}

.daily-photos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.daily-photos-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.daily-badge {
    background: linear-gradient(135deg, #f6c90e, #f9a825);
    color: #1a1a1a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.daily-photos-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.daily-date-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.daily-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 0 auto;
}

.daily-photo-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(6px);
}

.daily-photo-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-rgba-40);
    border-color: var(--accent-rgba-40);
}

.daily-rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.daily-rank-badge.gold {
    background: linear-gradient(135deg, #f6c90e, #f9a825);
    color: #1a1a1a;
}

.daily-rank-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #1a1a1a;
}

.daily-rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #b8651e);
    color: #fff;
}

.daily-photo-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
}

.daily-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.daily-photo-card:hover .daily-photo-img {
    transform: scale(1.07);
}

.daily-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.daily-photo-card:hover .daily-photo-overlay {
    opacity: 1;
}

.daily-photo-likes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(0,0,0,0.45);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.daily-photo-likes i {
    color: #f87171;
}

.daily-photo-info {
    padding: 16px 18px 18px;
}

.daily-bird-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.daily-bird-sci {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.daily-photo-meta {
    display: flex;
    align-items: center;
    gap: 9px;
}

.daily-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-rgba-60);
}

.daily-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-rgba-20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-rgba-90);
    font-size: 0.75rem;
    border: 2px solid var(--accent-rgba-40);
}

.daily-username {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

@media (max-width: 900px) {
    .daily-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .daily-photos-grid .daily-photo-card:last-child {
        display: none;
    }
}

@media (max-width: 600px) {
    .daily-photos-grid {
        grid-template-columns: 1fr;
    }
    .daily-photos-grid .daily-photo-card:not(:first-child) {
        display: none;
    }
    .daily-photos-title {
        font-size: 1.2rem;
    }
}

/* ===== INSTAGRAM STORIES CAROUSEL ===== */
.bird-stories-scroll::-webkit-scrollbar {
    display: none;
}

.story-item:hover .story-ring {
    transform: scale(1.09) rotate(4deg);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.45);
}

.story-item:active .story-ring {
    transform: scale(0.95);
}

.story-item:hover .story-name {
    color: var(--primary) !important;
    font-weight: 700;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Standard columns config */
.home-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Dashboard Card Panels */
.panel-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: var(--primary-medium);
    border-radius: 2px;
}

.panel-link-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* Card grids & lists inside panels */
.photo-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.photo-card-mini {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

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

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

.photo-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(360deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 15px 12px 10px 12px;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.photo-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.photo-card-user {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

/* Search panel inside Bird Species list */
.search-box-panel {
    position: relative;
    margin-bottom: 20px;
}

.search-box-panel input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 45px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background-color: var(--bg-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box-panel input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.search-box-panel i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Species List */
.species-list-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.species-item-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.species-item-mini:hover {
    background-color: var(--bg-main);
    border-color: var(--border-light);
}

.species-thumb-mini {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.species-info-mini {
    flex: 1;
}

.species-name-tr {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.species-name-sci {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.species-stats-mini {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.species-stats-mini span {
    display: block;
}

/* Observation Map Card (Turkey Map Preview) */
.map-preview-container {
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 25px;
    border: 1px solid var(--border-light);
}

#map-preview {
    height: 100%;
    width: 100%;
}

.popular-spots-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.spot-item:last-child {
    border-bottom: none;
}

.spot-name {
    font-weight: 600;
}

.spot-count {
    font-size: 0.8rem;
    background-color: rgba(27, 67, 50, 0.08);
    color: var(--primary-medium);
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
}

/* Call to action "Join Us" Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.cta-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.cta-card .btn-light {
    background-color: var(--text-white);
    color: var(--primary-dark);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
}

.cta-card .btn-light:hover {
    background-color: var(--accent-glow);
    box-shadow: var(--shadow-glow);
}

.cta-card-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 150px;
    height: 150px;
    opacity: 0.06;
    fill: var(--text-white);
}

/* Community feed / activity list */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
}

.activity-body {
    flex: 1;
    font-size: 0.85rem;
}

.activity-username {
    font-weight: 700;
    color: var(--primary-dark);
}

.activity-text {
    color: var(--text-main);
}

.activity-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Quick links cards */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quick-link-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: var(--radius-md);
    background-color: rgba(27, 67, 50, 0.04);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid transparent;
}

.quick-link-btn i {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-medium);
}

.quick-link-btn:hover {
    background-color: var(--bg-card);
    border-color: var(--accent);
    color: var(--primary-medium);
    box-shadow: var(--shadow-soft);
}

/* --- BIRDS DIRECTORY BROWSE PAGE --- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
}

.search-filter-bar {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    margin-top: -30px;
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-filter-bar form {
    display: flex;
    flex: 1;
    gap: 10px;
}

.search-filter-bar input {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.search-filter-bar button {
    background-color: var(--primary-medium);
    color: var(--text-white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.search-filter-bar button:hover {
    background-color: var(--primary-light);
}

/* Bird Grid catalog */
.birds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

.bird-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bird-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-light);
}

.bird-card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.bird-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bird-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.bird-card-sci {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 12px;
}

.bird-card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
}

.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination a:hover {
    background-color: var(--primary-medium);
    color: var(--text-white);
    border-color: var(--primary-medium);
}

.pagination span.active {
    background-color: var(--primary-medium);
    color: var(--text-white);
    border-color: var(--primary-medium);
}

/* --- BIRD DETAIL PAGE --- */
.bird-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.detail-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.detail-info-block {
    margin-bottom: 40px;
}

.detail-taxonomy {
    display: flex;
    gap: 15px;
    background-color: rgba(27, 67, 50, 0.05);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

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

.taxon-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.taxon-val {
    font-weight: 700;
    color: var(--primary-dark);
}

.taxon-val.sci {
    font-style: italic;
    color: var(--primary-medium);
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1.2;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Observation list detail page */
.observation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.observation-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.obs-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.obs-reporter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.obs-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.obs-loc {
    font-weight: 600;
    color: var(--primary-medium);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

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

/* Detail Sidebar */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

#detail-map {
    height: 100%;
    width: 100%;
}

/* Form Styles */
.form-panel {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background-color: var(--bg-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background-color: var(--text-white);
}

.btn-submit {
    background-color: var(--primary-medium);
    color: var(--text-white);
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-light);
}

/* --- MAP PAGE --- */
.map-full-container {
    height: calc(100vh - 70px);
    position: relative;
}

#map-full {
    height: 100%;
    width: 100%;
}

.map-sidebar-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 350px;
    max-height: calc(100% - 40px);
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--border-light);
    padding: 25px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.map-sidebar-overlay h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- AUTH SCREENS --- */
.auth-container {
    max-width: 450px;
    margin: 80px auto;
}

.auth-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- ADMIN PANEL --- */
.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.admin-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    padding: 15px 0;
}

.admin-menu-item {
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid transparent;
}

.admin-menu-item:hover,
.admin-menu-item.active {
    background-color: var(--bg-main);
    color: var(--primary-medium);
    border-left-color: var(--primary-medium);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: rgba(27,67,50,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-medium);
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.admin-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Admin Tables */
.table-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admin-table th {
    background-color: rgba(27, 67, 50, 0.04);
    padding: 15px 20px;
    font-weight: 700;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border-light);
}

.admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-admin {
    background-color: rgba(217, 4, 41, 0.1);
    color: #d90429;
}

.badge-user {
    background-color: rgba(27, 67, 50, 0.1);
    color: var(--primary-medium);
}

.btn-action {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-action-approve {
    background-color: var(--primary-medium);
    color: var(--text-white);
}

.btn-action-approve:hover {
    background-color: var(--primary-light);
}

.btn-action-reject {
    background-color: #d90429;
    color: var(--text-white);
}

.btn-action-reject:hover {
    background-color: #ef233c;
}

/* --- FLASH MESSAGES --- */
.flash-container {
    max-width: 1400px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}

.flash-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-success {
    background-color: var(--accent-rgba-20);
    color: var(--primary);
    border: 1px solid var(--accent);
}

.flash-error {
    background-color: rgba(217, 4, 41, 0.1);
    color: #800f2f;
    border: 1px solid #d90429;
}

.flash-close {
    background: none;
    border: none;
    font-weight: 800;
    cursor: pointer;
    color: inherit;
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
}

/* Autocomplete suggestions dropdown dropdown */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: var(--bg-main);
}

.suggestion-thumb {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.suggestion-sci {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 10px;
}

footer strong {
    color: var(--text-white);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
    .home-grid {
        grid-template-columns: 1fr 1fr;
    }
    .home-col:last-child {
        grid-column: span 2;
    }
    .birds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
    .home-col:last-child {
        grid-column: span 1;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: -150px;
    }
    .stat-item {
        border-right: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .birds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bird-detail-grid {
        grid-template-columns: 1fr;
    }
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-filter-bar form {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .birds-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .nav-actions {
        display: none; /* simple fallback for mobile */
    }
}

/* ===== PAGE LOAD BIRD FLIGHT PRELOADER ===== */
#page-bird-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1b4332 0%, #081c15 80%, #040e0a 100%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-bird-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Flying Birds Sky Container */
.preloader-sky {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Flying Bird SVG Elements */
.flying-bird-svg {
    position: absolute;
    fill: #52b788;
    filter: drop-shadow(0 4px 12px rgba(82, 183, 136, 0.45));
}

.flying-bird-svg .left-wing {
    transform-origin: 32px 32px;
    animation: wing-flap-left 0.35s ease-in-out infinite alternate;
}

.flying-bird-svg .right-wing {
    transform-origin: 32px 32px;
    animation: wing-flap-right 0.35s ease-in-out infinite alternate;
}

@keyframes wing-flap-left {
    0% { transform: rotate(-28deg) scaleY(1.1); }
    100% { transform: rotate(38deg) scaleY(0.65); }
}

@keyframes wing-flap-right {
    0% { transform: rotate(28deg) scaleY(1.1); }
    100% { transform: rotate(-38deg) scaleY(0.65); }
}

/* Bird Trajectories Across Screen */
.bird-flock-1 {
    width: 62px;
    height: 62px;
    animation: fly-trajectory-1 3.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.bird-flock-2 {
    width: 44px;
    height: 44px;
    animation: fly-trajectory-2 3.5s cubic-bezier(0.25, 1, 0.5, 1) 0.25s infinite;
}

.bird-flock-3 {
    width: 50px;
    height: 50px;
    animation: fly-trajectory-3 3.3s cubic-bezier(0.25, 1, 0.5, 1) 0.55s infinite;
}

.bird-flock-4 {
    width: 36px;
    height: 36px;
    animation: fly-trajectory-4 3.9s cubic-bezier(0.25, 1, 0.5, 1) 0.85s infinite;
}

.bird-flock-5 {
    width: 40px;
    height: 40px;
    animation: fly-trajectory-5 3.6s cubic-bezier(0.25, 1, 0.5, 1) 1.1s infinite;
}

@keyframes fly-trajectory-1 {
    0% {
        left: -80px;
        bottom: 18%;
        transform: rotate(22deg) scale(0.7);
        opacity: 0;
    }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% {
        left: 110vw;
        bottom: 82%;
        transform: rotate(18deg) scale(1.1);
        opacity: 0;
    }
}

@keyframes fly-trajectory-2 {
    0% {
        left: -60px;
        bottom: 10%;
        transform: rotate(28deg) scale(0.6);
        opacity: 0;
    }
    12% { opacity: 0.9; }
    88% { opacity: 0.9; }
    100% {
        left: 110vw;
        bottom: 72%;
        transform: rotate(22deg) scale(0.9);
        opacity: 0;
    }
}

@keyframes fly-trajectory-3 {
    0% {
        left: -100px;
        bottom: 28%;
        transform: rotate(18deg) scale(0.8);
        opacity: 0;
    }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% {
        left: 110vw;
        bottom: 92%;
        transform: rotate(16deg) scale(1.15);
        opacity: 0;
    }
}

@keyframes fly-trajectory-4 {
    0% {
        left: -50px;
        bottom: 38%;
        transform: rotate(26deg) scale(0.5);
        opacity: 0;
    }
    12% { opacity: 0.8; }
    88% { opacity: 0.8; }
    100% {
        left: 110vw;
        bottom: 58%;
        transform: rotate(20deg) scale(0.75);
        opacity: 0;
    }
}

@keyframes fly-trajectory-5 {
    0% {
        left: -90px;
        bottom: 6%;
        transform: rotate(30deg) scale(0.65);
        opacity: 0;
    }
    12% { opacity: 0.85; }
    88% { opacity: 0.85; }
    100% {
        left: 110vw;
        bottom: 68%;
        transform: rotate(24deg) scale(1);
        opacity: 0;
    }
}

/* Preloader Center Branding */
.preloader-branding {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.preloader-owl-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 25px rgba(82, 183, 136, 0.6);
    object-fit: cover;
    animation: preloader-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes preloader-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 15px rgba(82, 183, 136, 0.4); }
    100% { transform: scale(1.07); box-shadow: 0 0 35px rgba(82, 183, 136, 0.85); }
}

.preloader-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.preloader-title span {
    color: var(--accent);
}

.preloader-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preloader-bar-wrap {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
}

.preloader-bar-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, #2d6a4f, #52b788, #74c69d);
    border-radius: 4px;
    animation: preloader-loading 1.2s infinite ease-in-out;
}

@keyframes preloader-loading {
    0% { left: -40%; width: 30%; }
    50% { width: 60%; }
    100% { left: 100%; width: 30%; }
}

/* ===== DETAIL PAGE TAXONOMY GRID (6 Symmetrical Cards) ===== */
.detail-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 15px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft);
}

.taxon-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 84px;
    min-width: 0;
    transition: var(--transition);
}

.taxon-card:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.15);
}

.taxon-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taxon-card-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.taxon-card-value.font-tr {
    color: #0f172a;
    font-size: 0.92rem;
}

.taxon-card-value.font-sci {
    font-style: italic;
    color: #1e3a8a;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.25;
}

.taxon-card-value.font-order {
    font-style: italic;
    color: #0f766e;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.25;
}

.family-main {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.family-sub {
    font-size: 0.74rem;
    font-style: italic;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.2;
}

.iucn-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    padding: 3px 7px;
    font-size: 0.72rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .detail-taxonomy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .detail-taxonomy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
    }
    .taxon-card {
        padding: 8px 10px;
        min-height: 72px;
    }
}

/* ===== SPECIES DETAIL EDITORIAL CARD & TABS ===== */
.species-editorial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    margin-top: 10px;
    min-height: 180px;
}

.tab-section-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.species-prose {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #334155;
}

.species-prose p {
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.85;
}

.species-prose p:last-child {
    margin-bottom: 0;
}

.empty-tab-text {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover {
    color: var(--primary-dark);
    background: rgba(45, 106, 79, 0.04);
}

.tab-btn.active {
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary);
    background: rgba(45, 106, 79, 0.08);
}

/* ===== 1. FIELD ID & SIMILAR SPECIES COMPARISON ===== */
.similar-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.similar-species-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.similar-species-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.similar-species-card.highlight-current {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
}

.similar-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #475569;
    margin-bottom: 6px;
}

.similar-badge.current {
    background: #2d6a4f;
    color: #ffffff;
}

.similar-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 2px 0;
}

.similar-sci {
    font-size: 0.8rem;
    font-style: italic;
    color: #64748b;
    font-family: 'Outfit', sans-serif;
    display: block;
    margin-bottom: 12px;
}

.similar-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.45;
}

.similar-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.similar-compare-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.similar-compare-link:hover {
    gap: 9px;
    text-decoration: underline;
}

/* ===== 2. SPECIES BIOMETRICS INFOGRAPHIC ===== */
.biometrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.biometric-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bio-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.bio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bio-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.bio-value {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.bio-bar-wrap {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.bio-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.bio-hint {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.25;
}

/* ===== 3. PHENOLOGY STAGES TIMELINE ===== */
.phenology-stages-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.pheno-stage {
    padding: 10px 8px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pheno-stage small {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
}

.stage-winter {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.stage-arrival {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.stage-peak {
    background: #dcfce7;
    color: #15803d;
    border: 1.5px solid #86efac;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

.stage-depart {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

@media (max-width: 640px) {
    .phenology-stages-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 4. MIGRATION ROUTE INTERACTIVE BUTTON ===== */
.btn-migration-interactive {
    width: 100%;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(27, 67, 50, 0.25);
    transition: all 0.2s ease;
}

.btn-migration-interactive:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(27, 67, 50, 0.35);
}

.btn-migration-interactive.active-route {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

/* ===== COMPARE PAGE AUTOCOMPLETE LIVE SEARCH ===== */
.compare-search-form {
    display: grid;
    grid-template-columns: 1fr 48px 1fr auto;
    gap: 16px;
    align-items: end;
}

@media (max-width: 992px) {
    .compare-search-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .compare-vs-badge {
        display: none !important;
    }
}

.compare-search-wrapper {
    position: relative;
}

.compare-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.compare-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 2px 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compare-input-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.compare-input-box .search-icon {
    color: #94a3b8;
    margin-left: 6px;
    font-size: 0.95rem;
}

.compare-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: transparent;
    min-width: 0;
}

.compare-search-input::placeholder {
    color: #94a3b8;
    font-size: 0.88rem;
}

.btn-clear-search {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-clear-search:hover {
    color: #dc2626;
    background: #fee2e2;
}

.selected-bird-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #334155;
    flex-wrap: wrap;
}

.selected-bird-pill .pill-badge {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.selected-bird-pill .pill-name {
    font-weight: 700;
    color: var(--primary-dark);
}

.selected-bird-pill .pill-sci {
    font-style: italic;
    color: #64748b;
    font-size: 0.75rem;
}

.compare-vs-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 20px;
}

.compare-vs-badge:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: rotate(180deg);
}

.compare-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
    background: #f0fdf4;
}

.suggestion-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.suggestion-sci {
    font-size: 0.78rem;
    font-style: italic;
    color: #64748b;
    font-family: 'Outfit', sans-serif;
}

.suggestion-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: #e8f5e9;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.suggestion-item:hover .suggestion-badge,
.suggestion-item.highlighted .suggestion-badge {
    opacity: 1;
}

.btn-compare-action {
    padding: 12px 26px;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
    transition: all 0.2s ease;
    height: 46px;
    white-space: nowrap;
}

.btn-compare-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.35);
}

/* ===== HOMEPAGE BIRD SEARCH BOX & AUTOCOMPLETE ===== */
.search-box-panel {
    position: relative;
    margin-bottom: 14px;
}

.search-box-panel input.bird-search-input {
    width: 100%;
    padding: 10px 38px 10px 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
}

.search-box-panel input.bird-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.search-box-panel i.fa-magnifying-glass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.9rem;
}

.autocomplete-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
}

.story-scroll-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 5;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.story-scroll-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
    transform: scale(1.08);
}

.story-scroll-btn.left {
    margin-right: 6px;
}

.story-scroll-btn.right {
    margin-left: 6px;
}
