/* ==========================================================================

   EcoChain PID - CSS Stylesheet

   Dirancang Khusus untuk Papan Interaktif Digital (PID) 75 Inci & Layar Sentuh

   Target Rasio 16:9 (1920x1080) Mode Fullscreen Tanpa Scrollbar

   ========================================================================== */



:root {

    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;



    /* Base Palette */

    --bg-dark: #090d16;

    --text-light: #f8fafc;

    --text-muted: #94a3b8;

    --text-dark: #0f172a;



    /* Validation Colors */

    --color-correct: #22c55e;

    --color-correct-glow: rgba(34, 197, 94, 0.45);

    --color-wrong: #ef4444;

    --color-wrong-glow: rgba(239, 68, 68, 0.45);

    --color-warning: #f59e0b;



    /* Dynamic Theme Variables (Updated per ecosystem) */

    --eco-accent: #4ade80;

    --eco-badge: #16a34a;

    --eco-bg: radial-gradient(ellipse at bottom, #14532d 0%, #064e3b 40%, #022c22 100%);

    --card-bg: rgba(15, 23, 42, 0.75);

    --card-border: rgba(255, 255, 255, 0.12);

}



/* --- Global Reset & Lock Scroll --- */

*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



html, body {

    width: 100vw;

    height: 100vh;

    overflow: hidden;

    font-family: var(--font-main);

    background-color: var(--bg-dark);

    color: var(--text-light);

    touch-action: none;

    user-select: none;

    -webkit-user-select: none;

    -webkit-user-drag: none;

    -webkit-tap-highlight-color: transparent;

}



/* --- Theme Backgrounds & Illustrations --- */

body::before {

    content: '';

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    opacity: 0.32;

    transition: background-image 0.6s ease, opacity 0.6s ease;

    pointer-events: none;

    z-index: 1;

    filter: saturate(1.15) contrast(1.05);

}



body.theme-sawah {

    background: radial-gradient(circle at 50% 120%, #166534 0%, #064e3b 35%, #052e16 80%, #02140b 100%);

}

body.theme-sawah::before {

    background-image: url('../public/assets/backgrounds/bg_sawah.png');

}



body.theme-laut {

    background: radial-gradient(circle at 50% 120%, #0369a1 0%, #0c4a6e 40%, #082f49 80%, #031420 100%);

}

body.theme-laut::before {

    background-image: url('../public/assets/backgrounds/bg_laut.png');

}



body.theme-sabana {

    background: radial-gradient(circle at 50% 120%, #b45309 0%, #78350f 40%, #451a03 80%, #1e0902 100%);

}

body.theme-sabana::before {

    background-image: url('../public/assets/backgrounds/bg_sabana.png');

}



body.theme-hutan {

    background: radial-gradient(circle at 50% 120%, #047857 0%, #064e3b 40%, #022c22 80%, #01140e 100%);

}

body.theme-hutan::before {

    background-image: url('../public/assets/backgrounds/bg_hutan.png');

}



body.theme-gurun {

    background: radial-gradient(circle at 50% 120%, #c2410c 0%, #7c2d12 40%, #431407 80%, #200802 100%);

}

body.theme-gurun::before {

    background-image: url('../public/assets/backgrounds/bg_gurun.png');

}



/* Canvas Konfeti */

#confetti-canvas {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    pointer-events: none;

    z-index: 1000;

}



/* --- App Container (100vw x 100vh) --- */

.app-container {

    width: 100vw;

    height: 100vh;

    max-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 10px 24px 16px 24px;

    position: relative;

    z-index: 10;

}



/* =======================================================

   ZONA ATAS (30% Layar): Header, Tabs, & Masalah

   Siswa tidak perlu menyentuh area ini terlalu sering

   ======================================================= */

.top-zone {

    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.header-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 4px;

}



.brand-area {

    display: flex;

    align-items: center;

    gap: 12px;

}



.brand-badge {

    background: linear-gradient(135deg, #3b82f6, #1d4ed8);

    color: #ffffff;

    font-weight: 800;

    font-size: 0.75rem;

    letter-spacing: 0.08em;

    padding: 4px 10px;

    border-radius: 9999px;

    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);

}



.brand-title {

    font-size: 1.4rem;

    font-weight: 900;

    letter-spacing: -0.02em;

    color: #ffffff;

    display: flex;

    align-items: baseline;

    gap: 8px;

}



.brand-subtitle {

    font-size: 0.85rem;

    font-weight: 600;

    color: var(--text-muted);

}



.header-actions {

    display: flex;

    gap: 10px;

}



.header-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: #ffffff;

    padding: 8px 16px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 0.85rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

}



.header-btn:hover {

    background: rgba(255, 255, 255, 0.18);

    transform: translateY(-1px);

}



.header-btn-primary {

    background: linear-gradient(135deg, #3b82f6, #2563eb);

    border: none;

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);

}



.header-btn-primary:hover {

    background: linear-gradient(135deg, #60a5fa, #3b82f6);

}



.header-btn.muted {

    background: rgba(239, 68, 68, 0.2);

    border-color: rgba(239, 68, 68, 0.4);

    color: #fca5a5;

}



/* Navigasi Tab 5 Ekosistem */

.eco-nav {

    display: flex;

    width: 100%;

}



.eco-tabs {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    width: 100%;

}



.eco-tab {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 14px;

    background: rgba(15, 23, 42, 0.6);

    border: 2px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    color: var(--text-muted);

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    text-align: left;

}



.eco-tab:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.3);

    color: #ffffff;

    transform: translateY(-2px);

}



.eco-tab.active {

    background: rgba(255, 255, 255, 0.16);

    border-color: var(--eco-accent);

    color: #ffffff;

    box-shadow: 0 0 16px rgba(255, 255, 255, 0.15), inset 0 0 12px rgba(255, 255, 255, 0.05);

    transform: translateY(-2px);

}



.tab-icon {

    font-size: 1.5rem;

    flex-shrink: 0;

}



.tab-info {

    display: flex;

    flex-direction: column;

}



.tab-group {

    font-size: 0.7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    color: var(--eco-accent);

}



.tab-name {

    font-size: 0.88rem;

    font-weight: 800;

    color: #ffffff;

    white-space: nowrap;

}



/* Banner Masalah Kontekstual (Tantangan Masalah) */

.problem-banner {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 16px;

    background: rgba(15, 23, 42, 0.7);

    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-left: 6px solid var(--eco-accent);

    border-radius: 12px;

    padding: 10px 18px;

    transition: all 0.3s ease;

}



.problem-banner.collapsed {

    padding: 6px 18px;

}



.problem-banner.collapsed .problem-text,

.problem-banner.collapsed .problem-hint {

    display: none;

}



.banner-content {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    flex: 1;

}



.banner-icon {

    font-size: 1.6rem;

    line-height: 1;

    margin-top: 2px;

}



.problem-title {

    font-size: 0.95rem;

    font-weight: 800;

    color: var(--eco-accent);

    margin-bottom: 2px;

}



.problem-text {

    font-size: 0.88rem;

    line-height: 1.35;

    color: #f1f5f9;

}



.problem-hint {

    font-size: 0.78rem;

    font-weight: 600;

    color: #cbd5e1;

    margin-top: 3px;

}



.btn-toggle-banner {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #e2e8f0;

    padding: 4px 10px;

    border-radius: 8px;

    font-size: 0.72rem;

    font-weight: 700;

    cursor: pointer;

    flex-shrink: 0;

    transition: all 0.2s;

}



.btn-toggle-banner:hover {

    background: rgba(255, 255, 255, 0.18);

}



/* ============================================================

   ZONA KERJA & INTERAKSI (70% Layar Tengah-Bawah: Ergonomis)

   Semua interaksi sentuh siswa berada di area ini!

   ============================================================ */

.work-zone {

    flex: 1 1 auto;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    gap: 8px;

    margin-top: 4px;

    min-height: 0; /* Cegah overflow flex */

}



/* --- Section 6 Slot Rantai Makanan --- */

.chain-section {

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.section-title-bar {

    display: flex;

    align-items: center;

    gap: 12px;

}



.section-tag {

    background: rgba(255, 255, 255, 0.12);

    color: var(--eco-accent);

    font-size: 0.72rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    padding: 3px 8px;

    border-radius: 6px;

}



.section-title {

    font-size: 0.95rem;

    font-weight: 800;

    color: #f8fafc;

}



.chain-slots-wrapper {

    width: 100%;

}



.chain-slots {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    gap: 6px;

}



/* Slot Card */

.chain-slot {

    flex: 1 1 0;

    min-width: 0;

    height: 190px;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(10px);

    border: 2px dashed rgba(255, 255, 255, 0.25);

    border-radius: 16px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    padding: 8px;

    position: relative;

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}



.chain-slot:hover {

    border-color: rgba(255, 255, 255, 0.5);

    background: rgba(30, 41, 59, 0.7);

    transform: translateY(-2px);

}



.chain-slot.drag-hover {

    border-color: #38bdf8 !important;

    border-style: solid;

    background: rgba(56, 189, 248, 0.25) !important;

    transform: scale(1.03);

    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);

}



.chain-slot.selected-target {

    border-color: #fbbf24 !important;

    border-style: solid;

    background: rgba(251, 191, 36, 0.18) !important;

    animation: pulseBorder 1.5s infinite;

}



.chain-slot.slot-need-fill {

    animation: shake 0.5s ease-in-out;

    border-color: #f59e0b !important;

}



/* Status Validasi Slot */

.chain-slot.is-correct {

    border-style: solid;

    border-color: var(--color-correct) !important;

    background: rgba(34, 197, 94, 0.16) !important;

    box-shadow: 0 0 20px var(--color-correct-glow);

}



.chain-slot.is-wrong {

    border-style: solid;

    border-color: var(--color-wrong) !important;

    background: rgba(239, 68, 68, 0.18) !important;

    box-shadow: 0 0 20px var(--color-wrong-glow);

    animation: shake 0.6s ease-in-out;

}



.slot-header {

    width: 100%;

    display: flex;

    justify-content: center;

    margin-bottom: 2px;

}



.slot-badge {

    font-size: 0.75rem;

    font-weight: 800;

    color: #e2e8f0;

    background: rgba(0, 0, 0, 0.45);

    padding: 3px 10px;

    border-radius: 9999px;

    letter-spacing: 0.02em;

    white-space: nowrap;

}



/* Placeholder saat slot kosong (Tanpa contekan) */

.empty-placeholder {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    height: 100%;

    text-align: center;

    gap: 8px;

    padding: 0 6px;

    color: rgba(255, 255, 255, 0.45);

}



.placeholder-circle {

    width: 46px;

    height: 46px;

    border-radius: 50%;

    border: 2px dashed rgba(255, 255, 255, 0.28);

    background: rgba(255, 255, 255, 0.05);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.25rem;

    font-weight: 800;

    color: rgba(255, 255, 255, 0.55);

    transition: all 0.25s ease;

}



.chain-slot:hover .placeholder-circle {

    border-color: rgba(255, 255, 255, 0.65);

    color: #ffffff;

    transform: scale(1.08);

    background: rgba(255, 255, 255, 0.1);

}



.placeholder-text {

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.02em;

    color: rgba(255, 255, 255, 0.45);

}



/* Konten Kartu yang sudah diletakkan di Slot */

.placed-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    position: relative;

}



.placed-card .sprite-img {

    width: 105px;

    height: 105px;

    object-fit: contain;

    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));

    transition: transform 0.2s ease;

}



.placed-card:hover .sprite-img {

    transform: scale(1.06);

}



.placed-name {

    font-size: 0.85rem;

    font-weight: 800;

    color: #ffffff;

    text-align: center;

    margin-top: 2px;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

    line-height: 1.2;

}



.eval-badge {

    position: absolute;

    top: -4px;

    right: -4px;

    font-size: 0.68rem;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 9999px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

    z-index: 5;

}



.eval-badge.correct {

    background: #16a34a;

    color: #ffffff;

}



.eval-badge.wrong {

    background: #dc2626;

    color: #ffffff;

}



.teacher-hint-badge {

    font-size: 0.65rem;

    font-weight: 700;

    background: #3b82f6;

    color: #ffffff;

    padding: 2px 6px;

    border-radius: 6px;

    margin-top: 3px;

    animation: pulse 1.8s infinite;

}



/* Panah Aliran Energi ➔ Antar-Slot */

.chain-arrow {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 28px;

    color: rgba(255, 255, 255, 0.3);

    transition: all 0.3s ease;

}



.arrow-symbol {

    font-size: 1.6rem;

    font-weight: 900;

    line-height: 1;

}



.arrow-label {

    font-size: 0.55rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    white-space: nowrap;

    opacity: 0.7;

    margin-top: 2px;

}



.chain-arrow.arrow-lit {

    color: var(--color-correct);

    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);

    transform: scale(1.15);

}



/* --- Bar Kontrol & Aksi --- */

.controls-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 16px;

    padding: 2px 0;

}



.status-pill-wrapper {

    flex: 1;

    min-width: 0;

}



.status-pill {

    display: inline-block;

    background: rgba(15, 23, 42, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 9999px;

    padding: 8px 20px;

    font-size: 0.88rem;

    font-weight: 600;

    color: #f1f5f9;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;

}



.status-pill.status-active {

    border-color: #38bdf8;

    background: rgba(14, 165, 233, 0.2);

    color: #e0f2fe;

}



.status-pill.status-success {

    border-color: #22c55e;

    background: rgba(34, 197, 94, 0.2);

    color: #bbf7d0;

}



.status-pill.status-warning {

    border-color: #f59e0b;

    background: rgba(245, 158, 11, 0.2);

    color: #fef3c7;

}



.status-pill.status-error {

    border-color: #ef4444;

    background: rgba(239, 68, 68, 0.2);

    color: #fee2e2;

}



.action-buttons {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}



/* Button Styles */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 22px;

    border-radius: 12px;

    font-family: inherit;

    font-size: 0.92rem;

    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    white-space: nowrap;

}



.btn:hover {

    transform: translateY(-2px);

}



.btn:active {

    transform: translateY(1px);

}



.btn-primary {

    background: linear-gradient(135deg, #16a34a, #15803d);

    color: #ffffff;

    border: none;

    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45);

}



.btn-primary:hover {

    background: linear-gradient(135deg, #22c55e, #16a34a);

    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.6);

}



.btn-secondary {

    background: linear-gradient(135deg, #f59e0b, #d97706);

    color: #ffffff;

    border: none;

    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);

}



.btn-secondary:hover {

    background: linear-gradient(135deg, #fbbf24, #f59e0b);

}



.btn-outline {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #ffffff;

}



.btn-outline:hover {

    background: rgba(255, 255, 255, 0.18);

    border-color: rgba(255, 255, 255, 0.35);

}



/* --- Section Keranjang (Tray) Organisme di Bagian Bawah --- */

.tray-section {

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(14px);

    border: 2px solid rgba(255, 255, 255, 0.16);

    border-radius: 18px;

    padding: 10px 16px 12px 16px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);

}



.tray-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 8px;

}



.tray-title {

    font-size: 0.88rem;

    font-weight: 800;

    color: var(--eco-accent);

}



.tray-guide {

    font-size: 0.75rem;

    font-weight: 600;

    color: var(--text-muted);

}



.tray-guide b {

    color: #ffffff;

}



.tray-slots {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 12px;

    min-height: 135px;

    align-items: center;

}



.tray-empty-msg {

    grid-column: 1 / -1;

    text-align: center;

    padding: 24px;

    font-size: 1rem;

    font-weight: 700;

    color: var(--eco-accent);

}



/* Card di Keranjang */

.tray-card {

    height: 132px;

    background: rgba(30, 41, 59, 0.8);

    border: 2px solid rgba(255, 255, 255, 0.15);

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 6px;

    cursor: grab;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

}



.tray-card:hover {

    transform: translateY(-4px) scale(1.02);

    border-color: rgba(255, 255, 255, 0.4);

    background: rgba(51, 65, 85, 0.9);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);

}



.tray-card:active {

    cursor: grabbing;

}



.tray-card.selected-active {

    border-color: #38bdf8 !important;

    background: rgba(14, 165, 233, 0.25) !important;

    transform: translateY(-4px) scale(1.04);

    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);

    animation: pulseBorder 1.5s infinite;

}



.tray-card.card-dimmed {

    opacity: 0.35;

    transform: scale(0.95);

}



.card-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

}



.tray-card .sprite-img {

    width: 82px;

    height: 82px;

    object-fit: contain;

    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));

    transition: transform 0.2s ease;

}



.tray-card:hover .sprite-img {

    transform: scale(1.08);

}



.card-name {

    font-size: 0.8rem;

    font-weight: 800;

    color: #f8fafc;

    text-align: center;

    margin-top: 4px;

    line-height: 1.15;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;

}



/* --- Drag Ghost Elemen Tiruan saat Ditarik --- */

.drag-ghost {

    position: fixed;

    pointer-events: none;

    z-index: 9999;

    width: 110px;

    height: 110px;

    margin-left: -55px;

    margin-top: -55px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.9);

    border: 2px solid #38bdf8;

    border-radius: 16px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.5);

    transform: scale(1.12);

    transition: transform 0.05s ease;

}



.drag-ghost img {

    width: 75px;

    height: 75px;

    object-fit: contain;

    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));

}



.drag-ghost span {

    font-size: 0.75rem;

    font-weight: 800;

    color: #ffffff;

    margin-top: 2px;

    text-align: center;

    white-space: nowrap;

}



/* ========================================================

   MODAL EDUKATIF PENGUATAN GURU (PENGUATAN KONSEP)

   Tampilan berukuran besar dan mudah dibaca satu kelas

   ======================================================== */

.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background: rgba(0, 0, 0, 0.75);

    backdrop-filter: blur(12px);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 5000;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

}



.modal-overlay.open {

    opacity: 1;

    pointer-events: auto;

}



.modal-card {

    width: 820px;

    max-width: 90vw;

    background: #0f172a;

    border: 2px solid rgba(255, 255, 255, 0.2);

    border-radius: 24px;

    padding: 28px 32px;

    position: relative;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.2);

    transform: scale(0.92);

    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.modal-overlay.open .modal-card {

    transform: scale(1);

}



.modal-close {

    position: absolute;

    top: 18px;

    right: 20px;

    width: 44px;

    height: 44px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    color: #ffffff;

    font-size: 1.8rem;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s;

}



.modal-close:hover {

    background: rgba(239, 68, 68, 0.8);

    transform: rotate(90deg);

}



.modal-header {

    margin-bottom: 20px;

}



.modal-badges {

    display: flex;

    gap: 8px;

    margin-bottom: 8px;

}



.badge {

    font-size: 0.78rem;

    font-weight: 800;

    padding: 4px 12px;

    border-radius: 9999px;

    text-transform: uppercase;

    letter-spacing: 0.05em;

}



.badge-eco {

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

}



.badge-role {

    background: #16a34a;

    color: #ffffff;

}



.modal-name {

    font-size: 2.2rem;

    font-weight: 900;

    color: #ffffff;

    line-height: 1.1;

}



.modal-species {

    font-size: 0.95rem;

    font-style: italic;

    color: var(--text-muted);

    margin-top: 4px;

}



.modal-body {

    display: flex;

    gap: 28px;

    align-items: center;

    margin-bottom: 24px;

}



.modal-sprite-wrapper {

    flex: 0 0 240px;

    height: 240px;

    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 16px;

}



.modal-sprite {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));

    animation: float 3s ease-in-out infinite;

}



.modal-content {

    flex: 1;

}



.desc-heading {

    font-size: 1rem;

    font-weight: 800;

    color: var(--eco-accent);

    margin-bottom: 8px;

}



.modal-desc {

    font-size: 1.05rem;

    line-height: 1.6;

    color: #f1f5f9;

}



.modal-audio-controls {

    margin-top: 16px;

}



.btn-audio-speak, .btn-audio-stop {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 0.85rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

}



.btn-audio-speak {

    background: rgba(59, 130, 246, 0.25);

    border: 1px solid #3b82f6;

    color: #93c5fd;

}



.btn-audio-speak:hover {

    background: #3b82f6;

    color: #ffffff;

}



.btn-audio-stop {

    background: rgba(239, 68, 68, 0.25);

    border: 1px solid #ef4444;

    color: #fca5a5;

}



.modal-footer {

    display: flex;

    justify-content: space-between;

    gap: 16px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

}



/* Toast Message */

.toast {

    position: fixed;

    bottom: 24px;

    left: 50%;

    transform: translateX(-50%) translateY(40px);

    background: rgba(15, 23, 42, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #ffffff;

    padding: 12px 28px;

    border-radius: 9999px;

    font-size: 0.95rem;

    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

    opacity: 0;

    pointer-events: none;

    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    z-index: 6000;

}



.toast.show {

    opacity: 1;

    transform: translateX(-50%) translateY(0);

}



.toast-success {

    border-color: #22c55e;

    background: #14532d;

}



.toast-warning {

    border-color: #f59e0b;

    background: #78350f;

}



/* --- Animasi Keyframes --- */

@keyframes shake {

    0%, 100% { transform: translateX(0); }

    20% { transform: translateX(-8px); }

    40% { transform: translateX(8px); }

    60% { transform: translateX(-6px); }

    80% { transform: translateX(6px); }

}



@keyframes pulseBorder {

    0%, 100% {

        box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);

    }

    50% {

        box-shadow: 0 0 25px rgba(56, 189, 248, 0.9);

    }

}



@keyframes pulse {

    0%, 100% { opacity: 1; transform: scale(1); }

    50% { opacity: 0.8; transform: scale(0.96); }

}



@keyframes float {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-8px); }

}







/* ==========================================================================

   MULTI-SCREEN SPA ARCHITECTURE (Start Screen, Main Menu, Game, Materi)

   ========================================================================== */



/* Themes for Start, Menu, and Materi */

body.theme-start {

    background: radial-gradient(circle at 50% 45%, #0f2e1b 0%, #081d12 40%, #030d07 100%);

}

body.theme-start::before {

    background-image: url('../public/assets/backgrounds/bg_startscreen.png');

    opacity: 0.58;

}



body.theme-menu {

    background: radial-gradient(circle at 50% 45%, #0c2738 0%, #081a26 40%, #020b12 100%);

}

body.theme-menu::before {

    background-image: url('../public/assets/backgrounds/bg_startscreen.png');

    opacity: 0.50;

}



body.theme-materi {

    background: radial-gradient(circle at 50% 45%, #1e1b4b 0%, #0f172a 45%, #020617 100%);

}

body.theme-materi::before {

    background-image: url('../public/assets/backgrounds/bg_startscreen.png');

    opacity: 0.45;

}



/* Screen View Container */

.screen-view {

    display: none;

    width: 100vw;

    height: 100vh;

    max-height: 100vh;

    position: relative;

    z-index: 10;

    overflow: hidden;

    opacity: 0;

    transition: opacity 0.35s ease;

}



.screen-view.active {

    display: flex;

    flex-direction: column;

    opacity: 1;

}



#screen-game {

    padding: 0;

}

#screen-game .app-container {

    width: 100%;

    height: 100%;

}



/* Home Button in Header */

.header-btn-home {

    background: rgba(34, 197, 94, 0.15);

    border-color: rgba(74, 222, 128, 0.4);

    color: #86efac;

}

.header-btn-home:hover {

    background: rgba(34, 197, 94, 0.3);

    border-color: #4ade80;

    color: #ffffff;

}



/* ==========================================================================

   1. START SCREEN STYLING

   ========================================================================== */

.start-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 28px;

    z-index: 20;

}



.start-curriculum-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(34, 197, 94, 0.18);

    border: 1.5px solid rgba(74, 222, 128, 0.4);

    color: #86efac;

    font-weight: 800;

    font-size: 0.85rem;

    padding: 6px 16px;

    border-radius: 9999px;

    letter-spacing: 0.05em;

    backdrop-filter: blur(8px);

}



.badge-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow: 0 0 8px #4ade80;

    animation: pulse 1.5s infinite;

}



.start-header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}



.start-hero-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    padding: 0 24px;

}



.start-branding {

    text-align: center;

    z-index: 15;

    margin-bottom: 8px;

}



.start-tagline {

    display: inline-block;

    font-size: 0.95rem;

    font-weight: 800;

    color: #fbbf24;

    letter-spacing: 0.05em;

    margin-bottom: 6px;

    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);

}



.start-title {

    font-size: 4.8rem;

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -0.02em;

    margin-bottom: 8px;

}



.title-word-eco {

    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #38bdf8 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 4px 20px rgba(34, 197, 94, 0.5));

}



.title-word-pid {

    display: inline-block;

    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.5));

    margin-left: 10px;

    font-style: italic;

}



.start-desc {

    font-size: 1.35rem;

    font-weight: 600;

    color: #e2e8f0;

    text-shadow: 0 2px 12px rgba(0,0,0,0.8);

    max-width: 800px;

    margin: 0 auto;

}



/* Mascot Parade */

.mascot-parade {

    display: flex;

    justify-content: center;

    align-items: flex-end;

    gap: 22px;

    width: 100%;

    max-width: 1400px;

    height: 310px;

    position: relative;

    z-index: 12;

    margin: 8px 0 12px 0;

}



.mascot-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    cursor: pointer;

    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;

    position: relative;

    user-select: none;

}



.mascot-item:hover, .mascot-item:active {

    transform: translateY(-16px) scale(1.12) !important;

    filter: drop-shadow(0 0 24px rgba(74, 222, 128, 0.8)) !important;

}



.mascot-img {

    width: 190px;

    height: 190px;

    object-fit: contain;

    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.65));

    transition: transform 0.25s ease;

}



.mascot-pill {

    background: rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(8px);

    border: 1.5px solid rgba(255, 255, 255, 0.18);

    border-radius: 9999px;

    padding: 4px 14px;

    font-size: 0.85rem;

    font-weight: 700;

    color: #f8fafc;

    margin-top: -12px;

    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(0,0,0,0.5);

    transition: background 0.2s ease, border-color 0.2s ease;

}



.mascot-item:hover .mascot-pill {

    background: rgba(34, 197, 94, 0.9);

    border-color: #86efac;

}



/* Mascot Staggered Floating Animations */

.mascot-elang {

    margin-bottom: 50px;

    animation: mascotFly 3.2s ease-in-out infinite;

}

.mascot-singa {

    margin-bottom: 15px;

    animation: mascotFloatA 3.6s ease-in-out infinite 0.2s;

}

.mascot-katak {

    margin-bottom: 0px;

    animation: mascotFloatB 2.8s ease-in-out infinite 0.5s;

}

.mascot-fennec {

    margin-bottom: 10px;

    animation: mascotFloatA 3.4s ease-in-out infinite 0.7s;

}

.mascot-hiu {

    margin-bottom: 30px;

    animation: mascotSwim 3.8s ease-in-out infinite 0.3s;

}

.mascot-jaguar {

    margin-bottom: 40px;

    animation: mascotFloatB 3.5s ease-in-out infinite 0.6s;

}



@keyframes mascotFly {

    0%, 100% { transform: translateY(0px) rotate(-1deg); }

    50% { transform: translateY(-16px) rotate(1.5deg) scale(1.03); }

}

@keyframes mascotFloatA {

    0%, 100% { transform: translateY(0px) rotate(0deg); }

    50% { transform: translateY(-12px) rotate(1.5deg); }

}

@keyframes mascotFloatB {

    0%, 100% { transform: translateY(0px) rotate(0deg); }

    50% { transform: translateY(10px) rotate(-1.5deg); }

}

@keyframes mascotSwim {

    0%, 100% { transform: translateY(0px) rotate(-2deg); }

    50% { transform: translateY(-14px) rotate(2deg); }

}



/* Start Screen Footer CTA */

.start-footer-zone {

    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding-bottom: 26px;

    z-index: 20;

}



.btn-start-hero {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 16px 48px;

    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #059669 100%);

    border: 3px solid rgba(255, 255, 255, 0.4);

    border-radius: 9999px;

    color: #ffffff;

    font-family: var(--font-main);

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.55);

    animation: heroPulse 2.4s infinite;

    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;

}



.btn-start-hero:hover, .btn-start-hero:active {

    transform: scale(1.05);

    box-shadow: 0 16px 45px rgba(22, 163, 74, 0.75);

}



.btn-start-icon {

    font-size: 2.2rem;

}



.btn-start-label-box {

    text-align: left;

}



.btn-start-title {

    font-size: 1.45rem;

    font-weight: 800;

    letter-spacing: 0.02em;

    display: block;

}



.btn-start-sub {

    font-size: 0.88rem;

    font-weight: 600;

    opacity: 0.92;

    display: block;

}



.btn-start-chevron {

    font-size: 1.8rem;

    font-weight: 900;

    transition: transform 0.2s;

}



.btn-start-hero:hover .btn-start-chevron {

    transform: translateX(6px);

}



.start-hint-text {

    font-size: 0.95rem;

    color: #cbd5e1;

    margin-top: 10px;

    opacity: 0.85;

}



@keyframes heroPulse {

    0%, 100% {

        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6), 0 10px 30px rgba(22, 163, 74, 0.55);

    }

    50% {

        box-shadow: 0 0 35px 12px rgba(74, 222, 128, 0.45), 0 12px 35px rgba(22, 163, 74, 0.7);

    }

}



/* ==========================================================================

   2. MAIN MENU STYLING

   ========================================================================== */

.menu-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 28px;

    z-index: 20;

}



.menu-main-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 10px 48px 22px 48px;

    max-width: 1560px;

    margin: 0 auto;

    width: 100%;

}



.menu-headline {

    text-align: center;

    margin-bottom: 8px;

}



.menu-title {

    font-size: 2.2rem;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 4px;

}



.menu-subtitle {

    font-size: 1.15rem;

    color: #cbd5e1;

}



.menu-cards-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin: auto 0;

}



.menu-card {

    position: relative;

    background: rgba(15, 23, 42, 0.82);

    backdrop-filter: blur(18px);

    border: 2px solid rgba(255, 255, 255, 0.14);

    border-radius: 28px;

    padding: 32px 36px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    cursor: pointer;

    overflow: hidden;

    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);

    text-align: left;

    outline: none;

}



.menu-card:hover, .menu-card:focus-visible {

    transform: translateY(-8px) scale(1.02);

    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);

}



.card-eksplorasi:hover {

    border-color: #4ade80;

    box-shadow: 0 20px 45px rgba(34, 197, 94, 0.35);

}



.card-materi:hover {

    border-color: #38bdf8;

    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.35);

}



.card-glow-bg {

    position: absolute;

    top: -50px;

    right: -50px;

    width: 200px;

    height: 200px;

    border-radius: 50%;

    pointer-events: none;

    opacity: 0.15;

    transition: opacity 0.3s ease, transform 0.3s ease;

}



.card-eksplorasi .card-glow-bg {

    background: radial-gradient(circle, #22c55e 0%, transparent 70%);

}



.card-materi .card-glow-bg {

    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);

}



.menu-card:hover .card-glow-bg {

    opacity: 0.35;

    transform: scale(1.3);

}



.card-badge {

    align-self: flex-start;

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    padding: 4px 12px;

    border-radius: 9999px;

    margin-bottom: 14px;

}



.card-eksplorasi .card-badge {

    background: rgba(34, 197, 94, 0.2);

    color: #4ade80;

    border: 1px solid rgba(74, 222, 128, 0.4);

}



.card-materi .card-badge {

    background: rgba(56, 189, 248, 0.2);

    color: #38bdf8;

    border: 1px solid rgba(56, 189, 248, 0.4);

}



.card-icon-wrapper {

    width: 68px;

    height: 68px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2.2rem;

    margin-bottom: 16px;

}



.card-eksplorasi .card-icon-wrapper {

    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(22, 163, 74, 0.15));

    border: 1px solid rgba(74, 222, 128, 0.4);

}



.card-materi .card-icon-wrapper {

    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.15));

    border: 1px solid rgba(56, 189, 248, 0.4);

}



.card-title {

    font-size: 1.85rem;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 8px;

}



.card-desc {

    font-size: 1.05rem;

    line-height: 1.5;

    color: #cbd5e1;

    margin-bottom: 18px;

}



.card-features-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;

}



.chip {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    padding: 4px 12px;

    font-size: 0.85rem;

    font-weight: 700;

    color: #e2e8f0;

}



.card-cta-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 20px;

    border-radius: 14px;

    font-weight: 800;

    font-size: 1.05rem;

    transition: background 0.2s ease, transform 0.2s ease;

}



.card-eksplorasi .card-cta-bar {

    background: linear-gradient(135deg, #22c55e, #16a34a);

    color: #ffffff;

}



.card-materi .card-cta-bar {

    background: linear-gradient(135deg, #0284c7, #0369a1);

    color: #ffffff;

}



.menu-card:hover .card-cta-bar {

    transform: translateY(-2px);

}



.cta-arrow {

    font-size: 1.3rem;

    transition: transform 0.2s ease;

}



.menu-card:hover .cta-arrow {

    transform: translateX(6px);

}



/* Quick Launch 5 Ecosystems */

.menu-quick-launch {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    background: rgba(15, 23, 42, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 20px;

    padding: 10px 24px;

    margin-top: 14px;

}



.quick-title {

    font-size: 0.95rem;

    font-weight: 700;

    color: #94a3b8;

}



.quick-buttons {

    display: flex;

    gap: 10px;

}



.btn-quick-eco {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #f8fafc;

    font-weight: 700;

    font-size: 0.95rem;

    padding: 7px 16px;

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.btn-quick-eco:hover {

    background: rgba(255, 255, 255, 0.2);

    transform: translateY(-2px);

    border-color: #38bdf8;

}



/* ==========================================================================

   3. MATERI SCREEN STYLING (Ensiklopedia Edukatif)

   ========================================================================== */

.materi-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 28px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    z-index: 20;

}



.materi-tabs-nav {

    display: flex;

    gap: 12px;

    padding: 12px 28px;

    background: rgba(15, 23, 42, 0.65);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 15;

}



.materi-tab-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255, 255, 255, 0.06);

    border: 1.5px solid rgba(255, 255, 255, 0.12);

    color: #cbd5e1;

    font-family: var(--font-main);

    font-weight: 700;

    font-size: 1rem;

    padding: 10px 22px;

    border-radius: 14px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.materi-tab-btn:hover {

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

}



.materi-tab-btn.active {

    background: linear-gradient(135deg, #0284c7, #0369a1);

    border-color: #38bdf8;

    color: #ffffff;

    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);

}



.materi-content-area {

    flex: 1;

    overflow-y: auto;

    padding: 24px 36px 36px 36px;

    scroll-behavior: smooth;

}



/* Tab 1: Konsep Aliran Energi */

.konsep-hero-card {

    background: rgba(15, 23, 42, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    padding: 24px 28px;

    margin-bottom: 24px;

}



.konsep-hero-title {

    font-size: 1.8rem;

    font-weight: 800;

    color: #fbbf24;

    margin-bottom: 10px;

}



.konsep-hero-text {

    font-size: 1.15rem;

    line-height: 1.6;

    color: #e2e8f0;

}



.energy-steps-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 16px;

    margin-bottom: 24px;

}



.energy-step-card {

    background: rgba(15, 23, 42, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    padding: 18px 20px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    transition: transform 0.2s ease, border-color 0.2s ease;

}



.energy-step-card:hover {

    transform: translateY(-4px);

    border-color: #4ade80;

}



.step-card-header {

    display: flex;

    align-items: center;

    gap: 10px;

}



.step-icon {

    font-size: 1.8rem;

}



.step-number {

    font-size: 0.78rem;

    font-weight: 800;

    color: #4ade80;

    text-transform: uppercase;

}



.step-name {

    font-size: 1.15rem;

    font-weight: 800;

    color: #ffffff;

}



.step-role {

    font-size: 0.85rem;

    font-weight: 700;

    color: #94a3b8;

}



.step-desc {

    font-size: 0.95rem;

    line-height: 1.5;

    color: #cbd5e1;

}



.ten-percent-callout {

    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(180, 83, 9, 0.2));

    border: 1.5px solid #f97316;

    border-radius: 18px;

    padding: 20px 24px;

}



.callout-title {

    font-size: 1.25rem;

    font-weight: 800;

    color: #fdba74;

    margin-bottom: 8px;

}



.callout-desc {

    font-size: 1.05rem;

    line-height: 1.6;

    color: #ffedd5;

}



/* Tab 2: Tingkatan Trofik */

.trofik-list {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.trofik-card {

    background: rgba(15, 23, 42, 0.78);

    border: 1.5px solid rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    padding: 20px 24px;

    display: grid;

    grid-template-columns: 80px 1fr 1fr;

    gap: 20px;

    align-items: center;

    transition: transform 0.2s ease;

}



.trofik-card:hover {

    transform: translateX(6px);

}



.trofik-badge-col {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

}



.trofik-icon {

    font-size: 2.2rem;

}



.trofik-level-pill {

    font-size: 0.75rem;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 9999px;

    white-space: nowrap;

}



.trofik-main-col {

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.trofik-role {

    font-size: 1.3rem;

    font-weight: 800;

    color: #ffffff;

}



.trofik-desc {

    font-size: 0.98rem;

    line-height: 1.5;

    color: #cbd5e1;

}



.trofik-examples-col {

    background: rgba(255, 255, 255, 0.05);

    border-radius: 12px;

    padding: 12px 16px;

}



.examples-title {

    font-size: 0.8rem;

    font-weight: 800;

    color: #94a3b8;

    text-transform: uppercase;

    margin-bottom: 4px;

}



.examples-text {

    font-size: 0.92rem;

    line-height: 1.45;

    color: #e2e8f0;

}



/* Tab 3: Ensiklopedia 30 Hewan */

.ensiklopedia-filter-bar {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    flex-wrap: wrap;

}



.filter-label {

    font-size: 0.95rem;

    font-weight: 700;

    color: #94a3b8;

}



.btn-filter-eco {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #e2e8f0;

    font-weight: 700;

    font-size: 0.9rem;

    padding: 6px 14px;

    border-radius: 10px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.btn-filter-eco.active, .btn-filter-eco:hover {

    background: #0284c7;

    border-color: #38bdf8;

    color: #ffffff;

}



.organism-grid {

    display: grid;

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

    gap: 20px;

}



.organism-card {

    background: rgba(15, 23, 42, 0.8);

    border: 1.5px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    transition: transform 0.25s ease, border-color 0.25s ease;

}



.organism-card:hover {

    transform: translateY(-6px);

    border-color: #38bdf8;

}



.org-card-top {

    display: flex;

    align-items: center;

    gap: 14px;

}



.org-img-box {

    width: 90px;

    height: 90px;

    background: rgba(255, 255, 255, 0.05);

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px;

}



.org-img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));

}



.org-meta-box {

    flex: 1;

}



.org-name {

    font-size: 1.15rem;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 2px;

}



.org-species {

    font-size: 0.82rem;

    font-style: italic;

    color: #94a3b8;

    margin-bottom: 6px;

}



.org-role-tag {

    display: inline-block;

    font-size: 0.75rem;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 6px;

    background: rgba(34, 197, 94, 0.2);

    color: #86efac;

    border: 1px solid rgba(74, 222, 128, 0.4);

}



.org-desc-text {

    font-size: 0.92rem;

    line-height: 1.5;

    color: #cbd5e1;

    flex: 1;

}



.btn-speak-org {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: rgba(56, 189, 248, 0.15);

    border: 1px solid rgba(56, 189, 248, 0.4);

    color: #7dd3fc;

    font-weight: 700;

    font-size: 0.88rem;

    padding: 8px 14px;

    border-radius: 10px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.btn-speak-org:hover {

    background: #0284c7;

    color: #ffffff;

}





/* ==========================================================================

   APERSEPSI & PERTANYAAN PEMANTIK INTERAKTIF (SLIDE-BY-SLIDE)

   ========================================================================== */

.apersepsi-container {

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 16px;

    padding: 6px 0 24px 0;

}



.apersepsi-card {

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(18px);

    border: 2px solid rgba(255, 255, 255, 0.16);

    border-radius: 26px;

    padding: 26px 34px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);

    display: flex;

    flex-direction: column;

    transition: all 0.3s ease;

}



.apersepsi-header-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;

}



.apersepsi-step-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(251, 191, 36, 0.18);

    border: 1.5px solid rgba(251, 191, 36, 0.45);

    color: #fde047;

    font-weight: 800;

    font-size: 0.88rem;

    padding: 5px 16px;

    border-radius: 9999px;

    letter-spacing: 0.04em;

}



.btn-speak-apersepsi {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(56, 189, 248, 0.15);

    border: 1px solid rgba(56, 189, 248, 0.35);

    color: #7dd3fc;

    font-family: var(--font-main);

    font-weight: 700;

    font-size: 0.88rem;

    padding: 6px 14px;

    border-radius: 10px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.btn-speak-apersepsi:hover {

    background: #0284c7;

    color: #ffffff;

}



.apersepsi-hero-row {

    display: flex;

    align-items: center;

    gap: 24px;

    margin: 12px 0 22px 0;

}



.apersepsi-avatar-box {

    width: 110px;

    height: 110px;

    border-radius: 22px;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));

    border: 2px solid rgba(255, 255, 255, 0.18);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px;

    flex-shrink: 0;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

}



.apersepsi-avatar-img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));

}



.apersepsi-question-bubble {

    flex: 1;

    background: rgba(255, 255, 255, 0.06);

    border: 1.5px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    padding: 18px 22px;

}



.apersepsi-question-text {

    font-size: 1.55rem;

    font-weight: 800;

    color: #ffffff;

    line-height: 1.35;

    letter-spacing: -0.01em;

}



.apersepsi-options-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 14px;

    margin-bottom: 20px;

}



.apersepsi-opt-btn {

    background: rgba(255, 255, 255, 0.06);

    border: 2px solid rgba(255, 255, 255, 0.14);

    border-radius: 18px;

    padding: 16px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

    cursor: pointer;

    text-align: left;

    outline: none;

    font-family: var(--font-main);

    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.apersepsi-opt-btn:hover {

    transform: translateY(-4px) scale(1.02);

    background: rgba(255, 255, 255, 0.12);

    border-color: #38bdf8;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

}



.apersepsi-opt-btn.selected {

    border-color: #4ade80;

    background: rgba(34, 197, 94, 0.22);

    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);

    transform: scale(1.02);

}



.apersepsi-opt-icon {

    font-size: 2rem;

    flex-shrink: 0;

}



.apersepsi-opt-text {

    font-size: 1.15rem;

    font-weight: 800;

    color: #f8fafc;

    line-height: 1.35;

}



/* Feedback Box */

.apersepsi-feedback-box {

    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));

    border: 2px solid #38bdf8;

    border-radius: 20px;

    padding: 20px 24px;

    animation: slideDown 0.3s ease;

    margin-bottom: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);

}



.feedback-title {

    font-size: 1.15rem;

    font-weight: 800;

    color: #38bdf8;

    margin-bottom: 6px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.feedback-text {

    font-size: 1.12rem;

    line-height: 1.55;

    color: #f1f5f9;

}



.feedback-bridge {

    margin-top: 12px;

    padding-top: 12px;

    border-top: 1px dashed rgba(255, 255, 255, 0.18);

    font-size: 1.05rem;

    color: #86efac;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 8px;

}



/* Slide 5 Conclusion */

.apersepsi-conclusion-box {

    background: linear-gradient(135deg, rgba(22, 101, 52, 0.25), rgba(15, 23, 42, 0.85));

    border: 2px solid #22c55e;

    border-radius: 22px;

    padding: 24px 28px;

    margin: 10px 0 20px 0;

    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.2);

}



.conclusion-title {

    font-size: 1.5rem;

    font-weight: 800;

    color: #4ade80;

    margin-bottom: 14px;

}



.conclusion-points {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 22px;

}



.conclusion-point-item {

    font-size: 1.12rem;

    line-height: 1.5;

    color: #f8fafc;

    font-weight: 700;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.1);

    padding: 12px 18px;

    border-radius: 14px;

}



.btn-jump-konsep {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background: linear-gradient(135deg, #22c55e, #16a34a);

    border: 2px solid rgba(255, 255, 255, 0.4);

    color: #ffffff;

    font-family: var(--font-main);

    font-weight: 800;

    font-size: 1.15rem;

    padding: 14px 32px;

    border-radius: 16px;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);

    transition: all 0.2s ease;

}



.btn-jump-konsep:hover {

    transform: translateY(-2px) scale(1.02);

    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.65);

}



/* Nav Bar & Dots */

.apersepsi-nav-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 10px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.btn-apersepsi-nav {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.16);

    color: #f8fafc;

    font-family: var(--font-main);

    font-weight: 700;

    font-size: 0.98rem;

    padding: 10px 20px;

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.btn-apersepsi-nav:hover:not(:disabled) {

    background: rgba(255, 255, 255, 0.18);

    border-color: #38bdf8;

    transform: translateY(-2px);

}



.btn-apersepsi-nav:disabled {

    opacity: 0.35;

    cursor: not-allowed;

}



.btn-apersepsi-nav-primary {

    background: linear-gradient(135deg, #0284c7, #0369a1);

    border-color: #38bdf8;

    color: #ffffff;

}



.btn-apersepsi-nav-primary:hover:not(:disabled) {

    background: linear-gradient(135deg, #0369a1, #075985);

}



.apersepsi-dots {

    display: flex;

    align-items: center;

    gap: 10px;

}



.apersepsi-dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    cursor: pointer;

    transition: all 0.25s ease;

}



.apersepsi-dot.active {

    width: 32px;

    border-radius: 9999px;

    background: #38bdf8;

    box-shadow: 0 0 12px #38bdf8;

}



@keyframes slideDown {

    from {

        opacity: 0;

        transform: translateY(-8px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}





/* ==========================================================================

   LOMBA PANJAT POHON MULTIPLAYER (2 - 4 PEMAIN VERTICAL SPLIT-SCREEN)

   ========================================================================== */



/* Theme Race */

body.theme-race {

    background: radial-gradient(circle at 50% 45%, #064e3b 0%, #022c22 45%, #01140e 100%);

}

body.theme-race::before {

    background-image: url('../public/assets/backgrounds/bg_startscreen.png');

    opacity: 0.45;

}



/* Card Race in Menu */

.card-race:hover {

    border-color: #c084fc;

    box-shadow: 0 20px 45px rgba(168, 85, 247, 0.35);

}

.card-race .card-glow-bg {

    background: radial-gradient(circle, #a855f7 0%, transparent 70%);

}

.card-race .card-badge {

    background: rgba(168, 85, 247, 0.2);

    color: #c084fc;

    border: 1px solid rgba(192, 132, 252, 0.4);

}

.card-race .card-icon-wrapper {

    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(126, 34, 206, 0.15));

    border: 1px solid rgba(192, 132, 252, 0.4);

}

.card-race .card-cta-bar {

    background: linear-gradient(135deg, #9333ea, #7e22ce);

    color: #ffffff;

}



/* Header Race */

.race-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 24px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    z-index: 20;

}



/* --- Lobby View --- */

.race-lobby-view {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px 32px;

}



.lobby-card {

    background: rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(18px);

    border: 2px solid rgba(255, 255, 255, 0.16);

    border-radius: 28px;

    padding: 28px 40px;

    max-width: 950px;

    width: 100%;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

}



.lobby-badge {

    display: inline-block;

    background: rgba(168, 85, 247, 0.2);

    border: 1.5px solid rgba(192, 132, 252, 0.4);

    color: #d8b4fe;

    font-weight: 800;

    font-size: 0.82rem;

    letter-spacing: 0.08em;

    padding: 4px 14px;

    border-radius: 9999px;

}



.lobby-title {

    font-size: 2.2rem;

    font-weight: 900;

    color: #ffffff;

}



.lobby-subtitle {

    font-size: 1.15rem;

    color: #cbd5e1;

    margin-top: -8px;

}



.player-count-selector {

    display: flex;

    gap: 18px;

    margin: 8px 0;

}



.btn-count-choice {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    background: rgba(255, 255, 255, 0.06);

    border: 2px solid rgba(255, 255, 255, 0.14);

    border-radius: 18px;

    padding: 14px 28px;

    cursor: pointer;

    font-family: var(--font-main);

    color: #cbd5e1;

    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.btn-count-choice:hover {

    transform: translateY(-4px);

    border-color: #38bdf8;

    background: rgba(255, 255, 255, 0.12);

}



.btn-count-choice.active {

    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(22, 163, 74, 0.35));

    border-color: #4ade80;

    color: #ffffff;

    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);

    transform: scale(1.05);

}



.count-num {

    font-size: 2rem;

    font-weight: 900;

    color: #4ade80;

}

.btn-count-choice.active .count-num {

    color: #86efac;

}



.count-label {

    font-size: 0.92rem;

    font-weight: 700;

}



.racers-preview-grid {

    display: flex;

    gap: 16px;

    justify-content: center;

    width: 100%;

}



.racer-preview-card {

    background: rgba(255, 255, 255, 0.06);

    border: 1.5px solid rgba(255, 255, 255, 0.14);

    border-radius: 18px;

    padding: 12px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    min-width: 140px;

}



.preview-racer-img {

    width: 68px;

    height: 68px;

    object-fit: contain;

    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));

}



.preview-racer-name {

    font-size: 0.92rem;

    font-weight: 800;

    color: #ffffff;

}



.preview-player-tag {

    font-size: 0.75rem;

    font-weight: 800;

    padding: 2px 10px;

    border-radius: 9999px;

}



.race-rules-box {

    display: flex;

    flex-direction: column;

    gap: 6px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    padding: 12px 20px;

    width: 100%;

    text-align: left;

    font-size: 0.95rem;

    color: #e2e8f0;

}



.btn-start-race-match {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #059669 100%);

    border: 2px solid rgba(255, 255, 255, 0.4);

    color: #ffffff;

    font-family: var(--font-main);

    font-weight: 900;

    font-size: 1.35rem;

    padding: 14px 40px;

    border-radius: 9999px;

    cursor: pointer;

    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.5);

    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.btn-start-race-match:hover {

    transform: scale(1.05);

    box-shadow: 0 14px 40px rgba(22, 163, 74, 0.7);

}



/* --- Race Arena View (Split Screen Vertikal) --- */

.race-arena-view {

    flex: 1;

    display: grid;

    gap: 12px;

    padding: 10px 18px 16px 18px;

    width: 100%;

    height: calc(100vh - 66px);

    overflow: hidden;

}



.arena-cols-2 {

    grid-template-columns: 1fr 1fr;

}

.arena-cols-3 {

    grid-template-columns: 1fr 1fr 1fr;

}

.arena-cols-4 {

    grid-template-columns: 1fr 1fr 1fr 1fr;

}



/* Player Column */

.player-column {

    background: rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(14px);

    border-radius: 20px;

    border: 2.5px solid var(--col-border, #22c55e);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 10px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);

}



.player-col-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: rgba(255, 255, 255, 0.05);

    border-radius: 14px;

    padding: 6px 12px;

    margin-bottom: 8px;

}



.col-player-info {

    display: flex;

    align-items: center;

    gap: 8px;

}



.col-player-name {

    font-size: 1rem;

    font-weight: 800;

    color: #ffffff;

}



.col-score-pill {

    background: rgba(251, 191, 36, 0.2);

    border: 1px solid #f59e0b;

    color: #fbbf24;

    font-weight: 800;

    font-size: 0.92rem;

    padding: 3px 10px;

    border-radius: 9999px;

}



.col-wrong-indicator {

    display: flex;

    align-items: center;

    gap: 4px;

}



.wrong-dot {

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0.72rem;

    font-weight: 800;

}

.wrong-dot.active {

    background: #ef4444;

    border-color: #f87171;

    color: #ffffff;

    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);

}



/* Tree Climb Zone */

.tree-climb-zone {

    flex: 1;

    position: relative;

    background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, rgba(6, 78, 59, 0.3) 100%);

    border-radius: 16px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    overflow: hidden;

    margin-bottom: 8px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.tree-canopy-top {

    height: 38px;

    background: linear-gradient(135deg, rgba(22, 101, 52, 0.9), rgba(21, 128, 61, 0.9));

    border-bottom: 2px solid #4ade80;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    font-size: 0.88rem;

    font-weight: 800;

    color: #fde047;

    text-shadow: 0 2px 4px rgba(0,0,0,0.6);

    z-index: 5;

}



.tree-trunk-canvas {

    flex: 1;

    position: relative;

    width: 100%;

}



.tree-trunk-bar {

    position: absolute;

    left: 50%;

    top: 0;

    bottom: 0;

    width: 18px;

    transform: translateX(-50%);

    background: linear-gradient(to right, #78350f, #92400e, #78350f);

    border-radius: 4px;

    box-shadow: 0 0 10px rgba(0,0,0,0.5);

}



.tree-branches-list {

    position: absolute;

    left: 0;

    right: 0;

    top: 0;

    bottom: 0;

    display: flex;

    flex-direction: column-reverse;

    justify-content: space-around;

    padding: 10px 0;

    pointer-events: none;

}



.tree-branch-rung {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 16px;

    position: relative;

}



.branch-leaf-line {

    height: 3px;

    background: rgba(74, 222, 128, 0.4);

    flex: 1;

    border-radius: 2px;

}



.branch-num {

    font-size: 0.72rem;

    font-weight: 800;

    color: #94a3b8;

    background: rgba(15, 23, 42, 0.7);

    padding: 1px 5px;

    border-radius: 4px;

}



.tree-climber {

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    width: 62px;

    height: 62px;

    z-index: 10;

    transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

    display: flex;

    flex-direction: column;

    align-items: center;

}



.climber-sprite-img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));

    animation: climberHop 1.5s infinite ease-in-out;

}



@keyframes climberHop {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-4px); }

}



/* Quiz Zone */

.player-quiz-zone {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.race-q-box {

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    padding: 8px 12px;

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    font-size: 0.95rem;

    font-weight: 800;

    color: #ffffff;

    line-height: 1.35;

}



.race-options-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

}



.race-opt-btn {

    min-height: 54px;

    background: rgba(255, 255, 255, 0.08);

    border: 1.5px solid rgba(255, 255, 255, 0.16);

    border-radius: 12px;

    font-family: var(--font-main);

    font-weight: 700;

    font-size: 0.88rem;

    color: #f8fafc;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 6px 10px;

    line-height: 1.25;

    transition: all 0.15s ease;

    outline: none;

}



.race-opt-btn:hover {

    background: rgba(255, 255, 255, 0.16);

    border-color: #38bdf8;

    transform: translateY(-2px);

}



.race-opt-btn:active {

    transform: scale(0.96);

}



.race-opt-btn.correct-flash {

    background: #16a34a !important;

    border-color: #4ade80 !important;

    color: #ffffff !important;

    box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);

}



.race-opt-btn.wrong-flash {

    background: #dc2626 !important;

    border-color: #f87171 !important;

    color: #ffffff !important;

    animation: shake 0.3s;

}



.player-status-alert {

    height: 22px;

    font-size: 0.78rem;

    font-weight: 800;

    text-align: center;

    color: #fdba74;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Victory Modal */

.race-victory-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    background: rgba(9, 13, 22, 0.88);

    backdrop-filter: blur(20px);

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    animation: fadeIn 0.3s ease;

}



.victory-card {

    background: rgba(15, 23, 42, 0.95);

    border: 3px solid #f59e0b;

    border-radius: 28px;

    padding: 36px 48px;

    max-width: 640px;

    width: 90%;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    box-shadow: 0 25px 60px rgba(245, 158, 11, 0.35);

}



.victory-crown {

    font-size: 4rem;

    animation: heroPulse 1.8s infinite;

}



.victory-title {

    font-size: 2.4rem;

    font-weight: 900;

    color: #fde047;

}



.victory-desc {

    font-size: 1.15rem;

    color: #e2e8f0;

}



.victory-winner-avatar {

    width: 130px;

    height: 130px;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);

    border: 3px solid #f59e0b;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 12px;

    margin: 8px 0;

}



.winner-avatar-img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));

}



.victory-scores-summary {

    display: flex;

    gap: 12px;

    justify-content: center;

    width: 100%;

}



.player-score-badge {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;

    padding: 8px 14px;

    font-size: 0.88rem;

    font-weight: 800;

    color: #f8fafc;

}



.victory-actions {

    display: flex;

    gap: 16px;

    margin-top: 12px;

}





/* Time Limit Selector in Lobby */

.time-limit-section {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    width: 100%;

}



.selector-heading {

    font-size: 0.95rem;

    font-weight: 800;

    color: #94a3b8;

    letter-spacing: 0.05em;

    text-transform: uppercase;

}



.time-limit-selector {

    display: flex;

    gap: 14px;

    justify-content: center;

}



.btn-time-choice {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 2px;

    background: rgba(255, 255, 255, 0.06);

    border: 2px solid rgba(255, 255, 255, 0.14);

    border-radius: 16px;

    padding: 10px 22px;

    cursor: pointer;

    font-family: var(--font-main);

    color: #cbd5e1;

    min-width: 95px;

    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.btn-time-choice:hover {

    transform: translateY(-3px);

    border-color: #38bdf8;

    background: rgba(255, 255, 255, 0.12);

}



.btn-time-choice.active {

    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.35));

    border-color: #38bdf8;

    color: #ffffff;

    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);

    transform: scale(1.05);

}



.time-num {

    font-size: 1.6rem;

    font-weight: 900;

    color: #38bdf8;

}

.btn-time-choice.active .time-num {

    color: #7dd3fc;

}



.time-label {

    font-size: 0.85rem;

    font-weight: 700;

}



/* Header Timer Pill */

.race-timer-pill {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: rgba(15, 23, 42, 0.85);

    border: 2px solid #38bdf8;

    border-radius: 9999px;

    padding: 6px 20px;

    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);

    font-family: var(--font-main);

}



.timer-icon {

    font-size: 1.3rem;

}



.timer-val {

    font-size: 1.35rem;

    font-weight: 900;

    letter-spacing: 0.05em;

    color: #38bdf8;

}



.race-timer-pill.urgent {

    border-color: #ef4444;

    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);

    animation: pulseBorderRed 1s infinite alternate;

}

.race-timer-pill.urgent .timer-val {

    color: #f87171;

}



@keyframes pulseBorderRed {

    from {

        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);

    }

    to {

        box-shadow: 0 0 25px rgba(239, 68, 68, 0.9);

    }

}





/* ==========================================================================

   CREATOR SOCIAL FOOTER (Pak Wigan - GitHub wigan7 & IG @wigan_anggit)

   ========================================================================== */

.app-creator-footer {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 12px;

    padding: 7px 20px;

    background: rgba(15, 23, 42, 0.78);

    border: 1.5px solid rgba(255, 255, 255, 0.16);

    border-radius: 9999px;

    backdrop-filter: blur(14px);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

    z-index: 25;

}



.menu-footer-spacing {

    margin-top: 16px;

    align-self: center;

}



.creator-badge {

    font-size: 0.92rem;

    font-weight: 700;

    color: #f1f5f9;

    letter-spacing: 0.02em;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}



.creator-social-links {

    display: inline-flex;

    align-items: center;

    gap: 10px;

}



.social-pill {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 6px 16px;

    border-radius: 9999px;

    font-size: 0.88rem;

    font-weight: 700;

    text-decoration: none;

    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;

    user-select: none;

    cursor: pointer;

}



.social-pill .social-svg-icon {

    display: block;

    flex-shrink: 0;

}



/* GitHub Pill */

.social-pill.github-pill {

    background: rgba(24, 29, 36, 0.92);

    color: #f8fafc;

    border: 1.5px solid rgba(255, 255, 255, 0.25);

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);

}



.social-pill.github-pill:hover, .social-pill.github-pill:active {

    background: #111418;

    border-color: #4ade80;

    color: #4ade80;

    transform: translateY(-2px) scale(1.05);

    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.35);

}



/* Instagram Pill */

.social-pill.instagram-pill {

    background: rgba(225, 48, 108, 0.18);

    color: #fdf2f8;

    border: 1.5px solid rgba(244, 63, 94, 0.5);

    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.25);

}



.social-pill.instagram-pill:hover, .social-pill.instagram-pill:active {

    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    border-color: #fed7aa;

    color: #ffffff;

    transform: translateY(-2px) scale(1.05);

    box-shadow: 0 6px 22px rgba(220, 39, 67, 0.5);

}



/* ==========================================================================
   MODAL INSTRUKSI MISI KELAS (GLOBAL BRIEFING 5 KELOMPOK)
   ========================================================================== */

/* Header Action Button in Game Screen */
.header-btn-briefing {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
    border: 1.5px solid rgba(74, 222, 128, 0.45);
    color: #4ade80;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
    font-weight: 800;
}

.header-btn-briefing:hover, .header-btn-briefing:active {
    background: linear-gradient(135deg, #22c55e 0%, #0284c7 100%);
    border-color: #86efac;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.45);
}

/* ========================================================
   FULLSCREEN MISSION BRIEFING (PANDUAN EKSPLORASI GLOBAL)
   Tampilan penuh satu layar (Full Screen) tanpa box pembungkus
   Khusus Layar Sentuh PID 75 Inci dan Pembelajaran Kelas IPAS SD
   ======================================================== */

#modal-mission-briefing {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    background: radial-gradient(circle at 50% 12%, #0d2a1d 0%, #071927 45%, #020617 100%) !important;
    backdrop-filter: blur(20px) !important;
    z-index: 6000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

#modal-mission-briefing.open {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Container Briefing - Penuh Satu Layar Tanpa Box / Tanpa Border */
#modal-mission-briefing .modal-briefing-card {
    width: 100vw !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: clamp(20px, 3vh, 38px) clamp(24px, 4vw, 68px) clamp(24px, 3.5vh, 44px) clamp(24px, 4vw, 68px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: clamp(18px, 2.4vh, 28px) !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: relative !important;
}

#modal-mission-briefing.open .modal-briefing-card {
    transform: none !important;
}

/* Custom Scrollbar */
#modal-mission-briefing::-webkit-scrollbar {
    width: 10px;
}
#modal-mission-briefing::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
}
#modal-mission-briefing::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22c55e 0%, #0284c7 100%);
    border-radius: 8px;
}

/* Tombol Tutup Layar Penuh (Pojok Kanan Atas) */
#modal-mission-briefing .modal-close {
    position: fixed !important;
    top: clamp(18px, 2.5vh, 30px) !important;
    right: clamp(24px, 4vw, 50px) !important;
    width: clamp(48px, 3.5vw, 56px) !important;
    height: clamp(48px, 3.5vw, 56px) !important;
    font-size: clamp(2rem, 2.5vw, 2.4rem) !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    color: #f1f5f9 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 6020 !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

#modal-mission-briefing .modal-close:hover,
#modal-mission-briefing .modal-close:active {
    background: #ef4444 !important;
    border-color: #fca5a5 !important;
    color: #ffffff !important;
    transform: scale(1.12) rotate(90deg) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6) !important;
}

/* Briefing Header - Ekstra Besar & Megah */
.briefing-header {
    text-align: center;
    padding-bottom: 2px;
}

.briefing-badge {
    display: inline-block;
    padding: clamp(6px, 1vh, 10px) clamp(20px, 2vw, 30px);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
    border: 1.5px solid rgba(74, 222, 128, 0.6);
    border-radius: 9999px;
    font-size: clamp(0.92rem, 1.1vw, 1.12rem);
    font-weight: 800;
    color: #4ade80;
    letter-spacing: 0.1em;
    margin-bottom: clamp(6px, 1vh, 12px);
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
}

.briefing-title {
    font-size: clamp(2.4rem, 3.4vw, 3.6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #4ade80 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: clamp(6px, 1vh, 10px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 4px 15px rgba(34, 197, 94, 0.3));
}

.briefing-subtitle {
    font-size: clamp(1.1rem, 1.35vw, 1.35rem);
    color: #e2e8f0;
    max-width: 1280px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

/* 4 Steps Grid - Kartu Besar & Jelas */
.briefing-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.6vw, 24px);
}

.briefing-step-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: clamp(16px, 2vh, 22px) clamp(16px, 1.6vw, 24px);
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 1.4vw, 20px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.briefing-step-item:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.25);
}

.step-num-badge {
    width: clamp(44px, 3.2vw, 54px);
    height: clamp(44px, 3.2vw, 54px);
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: clamp(1.25rem, 1.5vw, 1.55rem);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.5);
}

.step-content h4 {
    font-size: clamp(1.05rem, 1.22vw, 1.25rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 6px;
}

.step-content p {
    font-size: clamp(0.88rem, 1vw, 1.02rem);
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

/* Showcase Galeri Ekosistem & Organisme - Penuh & Lapang */
.briefing-ecosystems-section {
    background: rgba(15, 23, 42, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    padding: clamp(18px, 2vh, 26px) clamp(20px, 2vw, 32px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(14px, 1.6vh, 20px);
    flex-wrap: wrap;
    gap: 10px;
}

.section-badge {
    font-size: clamp(0.98rem, 1.15vw, 1.22rem);
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-hint {
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    color: #38bdf8;
    font-weight: 700;
}

/* 5 Ecosystem Cards Grid - 5 Kolom Seimbang Tanpa Terpotong */
.briefing-eco-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.2vw, 18px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.briefing-eco-card {
    min-width: 0 !important;
    width: 100% !important;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: clamp(12px, 1.4vh, 18px) clamp(10px, 1vw, 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(10px, 1.2vh, 14px);
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.briefing-eco-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.eco-card-sawah:hover { border-color: #4ade80; box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4); }
.eco-card-laut:hover { border-color: #38bdf8; box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4); }
.eco-card-sabana:hover { border-color: #fbbf24; box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4); }
.eco-card-hutan:hover { border-color: #2dd4bf; box-shadow: 0 10px 25px rgba(45, 212, 191, 0.4); }
.eco-card-gurun:hover { border-color: #fb7185; box-shadow: 0 10px 25px rgba(251, 113, 133, 0.4); }

.eco-card-header {
    border-radius: 12px;
    padding: clamp(6px, 0.9vh, 10px) 10px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eco-card-group {
    font-size: clamp(0.92rem, 1.05vw, 1.1rem);
    font-weight: 900;
    color: #f8fafc;
}

.eco-card-name {
    font-size: clamp(0.8rem, 0.9vw, 0.92rem);
    color: #cbd5e1;
    font-weight: 700;
}

.eco-card-task {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
    min-height: 40px;
}

/* Organisms Grid (3 Kolom x 2 Baris, Acak & Tanpa Panah) */
.eco-organisms-preview {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: clamp(6px, 0.8vw, 10px) !important;
    background: rgba(2, 6, 23, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: clamp(8px, 1vh, 12px) clamp(6px, 0.8vw, 10px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mini-org-pill {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 6px 4px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.mini-org-pill:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px) scale(1.05) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
}

.mini-org-pill img {
    width: clamp(34px, 2.6vw, 46px) !important;
    height: clamp(34px, 2.6vw, 46px) !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6)) !important;
}

.mini-org-pill span {
    font-size: clamp(0.72rem, 0.82vw, 0.84rem) !important;
    font-weight: 800 !important;
    color: #f1f5f9 !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    word-break: break-word !important;
}

/* Tombol Pilih Misi Ekosistem Tiap Kelompok */
.btn-select-eco-mission {
    width: 100%;
    padding: clamp(9px, 1.2vh, 13px) 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: clamp(0.82rem, 0.92vw, 0.98rem);
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-select-eco-mission:hover, .btn-select-eco-mission:active {
    background: #22c55e;
    border-color: #86efac;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
}

/* Briefing Footer Action Bar - Tombol Besar */
.briefing-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(14px, 1.8vh, 22px);
    border-top: 1.5px solid rgba(255, 255, 255, 0.15);
    gap: 20px;
}

#btn-briefing-speak {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(12px, 1.5vh, 16px) clamp(22px, 2vw, 32px);
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    color: #f1f5f9;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s ease;
}

#btn-briefing-speak:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.briefing-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: clamp(14px, 1.8vh, 20px) clamp(34px, 3.2vw, 54px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 60%, #059669 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.35vw, 1.45rem);
    font-weight: 900;
    cursor: pointer;
    font-family: var(--font-main);
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.6);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.briefing-btn-primary:hover, .briefing-btn-primary:active {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.8);
}
