/* ===================================================
   Mengenal Tata Surya - Media Pembelajaran Interaktif
   CSS Styles
   =================================================== */

body {
    font-family: 'Inter', sans-serif;
    background-color: #030b1a;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.font-bubble-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    text-shadow: 
        0 0 24px rgba(0, 212, 255, 0.35),
        0 0 48px rgba(0, 212, 255, 0.12);
    font-weight: 700;
}

.font-bubble-stroke {
    /* stroke dihapus, diganti glow pada .font-bubble-title */
}

#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === Buttons === */
.btn-gold-bubble {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}
.btn-gold-bubble:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 
        0 4px 24px rgba(0, 212, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-gold-bubble:active {
    transform: scale(0.93);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* === Menu Cards === */
.card-menu-cyan {
    background: linear-gradient(135deg, rgba(5, 20, 50, 0.92) 0%, rgba(2, 10, 30, 0.96) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.card-menu-cyan::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.card-menu-cyan:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 0 32px rgba(0, 212, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card-menu-cyan:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* === Orbit === */
.orbit-line {
    border: 1px dashed rgba(0, 240, 255, 0.25);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
@keyframes rotate-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-wrapper {
    position: absolute;
    animation: rotate-orbit linear infinite;
}

/* === Decorations === */
.planet-horizon {
    background: linear-gradient(to top, rgba(20, 5, 60, 0.85) 0%, rgba(5, 2, 20, 0) 100%);
    border-top: 1px solid rgba(120, 60, 220, 0.25);
    box-shadow: 0 -16px 60px rgba(70, 20, 160, 0.12);
    border-top-left-radius: 50% 15%;
    border-top-right-radius: 50% 15%;
}

.crater {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    position: absolute;
}

/* === Animations === */
.shake-effect {
    animation: shake 0.4s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

.glow-sun {
    box-shadow: 0 0 35px #ffca28;
    animation: pulse-sun 2s infinite alternate;
}
@keyframes pulse-sun {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-anim {
    animation: float 3s ease-in-out infinite;
}

.game-feedback-toast {
    position: fixed;
    top: 88px;
    left: 50%;
    z-index: 70;
    transform: translate(-50%, -16px) scale(0.92);
    opacity: 0;
    min-width: 160px;
    max-width: min(90vw, 360px);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.game-feedback-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.feedback-correct {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(6, 95, 70, 0.95));
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.35);
}

.feedback-wrong {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(127, 29, 29, 0.95));
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.32);
}

/* === Image Styles === */
.game-image {
    border-radius: 12px;
    border: 3px solid #00f0ff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.planet-thumb {
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* === Data Table === */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.data-table th, .data-table td {
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 0.5rem;
    text-align: left;
    font-size: 0.75rem;
}
.data-table th {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    font-weight: bold;
}
.data-table td {
    background: rgba(255, 255, 255, 0.05);
    color: #e0f7fa;
}

/* === Materi Content === */
.fact-card {
    background: linear-gradient(135deg, rgba(255, 192, 0, 0.1), rgba(255, 192, 0, 0.05));
    border: 2px solid rgba(255, 192, 0, 0.3);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
}

.section-header {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.2), transparent);
    border-left: 4px solid #00f0ff;
    padding: 0.5rem 1rem;
    margin: 1.5rem 0 1rem 0;
    border-radius: 0 12px 12px 0;
}

/* === Scrollbar === */
.scroll-content {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
}

.scroll-content::-webkit-scrollbar {
    width: 8px;
}

.scroll-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.scroll-content::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 10px;
}

.scroll-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.5);
}

/* === Action Buttons === */
.btn-action {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #00f0ff, #0077b6);
    color: #000;
    border-color: #00f0ff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: #10b981;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* === Sub Bab Card === */
.sub-bab-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.75rem 0;
}

.sub-bab-card h4 {
    color: #00f0ff;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sub-bab-card p {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* === Touch / Canvas === */
#l5-game-canvas {
    touch-action: none;
}
#l1-orbit-container {
    touch-action: none;
}

/* === Responsive Overrides === */

/* Mobile: kurangi planet-horizon agar tidak menutupi konten */
@media (max-width: 640px) {
    #bottom-planet-horizon {
        height: 56px;
    }

    .scroll-content {
        max-height: calc(100vh - 240px);
    }

    .font-bubble-stroke {
        -webkit-text-stroke: 1px #0a1931;
    }

    /* Kurangi shadow font-bubble-title agar tidak berat di mobile */
    .font-bubble-title {
        text-shadow: 
            0 2px 0 #0a1931,
            0 4px 0 rgba(0, 0, 0, 0.4);
    }

    /* Dialog modal lebih compact di mobile */
    #level-up-modal > div,
    #custom-dialog-modal > div {
        padding: 1.25rem;
        border-radius: 20px;
    }

    /* Card menu lebih ramping */
    .card-menu-cyan {
        border-radius: 14px;
    }
    .card-menu-cyan:hover {
        transform: translateY(-3px);
    }

    /* Tabel data lebih readable di mobile */
    .data-table th, .data-table td {
        padding: 0.35rem;
        font-size: 0.7rem;
    }

    /* Wrap tabel dengan scroll horizontal */
    .data-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet/Medium */
@media (min-width: 641px) and (max-width: 1023px) {
    .scroll-content {
        max-height: calc(100vh - 200px);
    }
    #bottom-planet-horizon {
        height: 80px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .scroll-content {
        max-height: 600px;
    }
}

/* ===================================================
   AR Feature Animations
   =================================================== */

/* Scanline CRT effect untuk tampilan kamera AR */
.ar-scanline {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 240, 255, 0.015) 2px,
        rgba(0, 240, 255, 0.015) 4px
    );
    pointer-events: none;
}

/* Planet muncul dari tidak ada — scale + fade in */
@keyframes ar-planet-appear {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
    60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ar-planet-appear {
    animation: ar-planet-appear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Planet melayang naik-turun perlahan */
@keyframes ar-planet-float {
    0%, 100% { margin-top: 0px; }
    50%       { margin-top: -8px; }
}

/* Planet menghilang */
@keyframes ar-planet-vanish {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
}

.ar-planet-vanish {
    animation: ar-planet-vanish 0.35s ease-in forwards;
}

/* Glow effect pada planet yang bisa diklik */
@keyframes ar-glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4), 0 0 30px rgba(0, 240, 255, 0.1); }
    50%       { box-shadow: 0 0 25px rgba(0, 240, 255, 0.7), 0 0 50px rgba(0, 240, 255, 0.25); }
}

.ar-planet-glow {
    animation: ar-glow-pulse 2s ease-in-out infinite;
}

/* Mini solar system orbit animation */
@keyframes ar-orbit-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Spin lambat untuk dashed ring planet */
@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ===================================================
   New Immersive AR UI Styles
   =================================================== */

.ar-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #0a1628 0%, #030612 100%);
}

.ar-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#ar-video-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

#ar-camera-fallback {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a1628, #000000);
    position: absolute;
    top: 0;
    left: 0;
}

.ar-ui-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.ar-ui-overlay>* {
    pointer-events: auto;
}

.ar-hud-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
}

.ar-hud-top .ar-back-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 600;
}

.ar-hud-top .ar-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.ar-hud-top .ar-scan-status {
    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.ar-hud-top .ar-scan-status .pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    margin-right: 8px;
    animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

.ar-progress-container {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, 80%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 6px 12px 6px 16px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.ar-progress-container .ar-progress-label {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.ar-progress-container .ar-progress-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ar-progress-container .ar-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d4ff, #7c3aed, #f472b6);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ar-progress-container .ar-progress-count {
    color: white;
    font-size: 12px;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}

.ar-mini-map {
    position: absolute;
    bottom: 140px;
    right: 12px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 20;
    overflow: hidden;
    pointer-events: none;
}

.ar-mini-map .relative {
    position: relative;
    width: 100%;
    height: 100%;
}

.ar-mini-map .absolute {
    position: absolute;
}

.ar-planet-area {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
}

.ar-planet-area>* {
    pointer-events: auto;
}

.ar-planet-appear {
    animation: planetAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes planetAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.ar-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.05;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0.05;
    }
}

.ar-quiz-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 16px;
    pointer-events: auto;
}

.ar-quiz-overlay.hidden {
    display: none !important;
}

.ar-quiz-card {
    background: linear-gradient(145deg, #0f1f3a, #0a1628);
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-radius: 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(0, 200, 255, 0.05);
    overflow: hidden;
    animation: quizSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes quizSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ar-quiz-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(100, 0, 255, 0.15));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 14px;
}

.ar-quiz-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 200, 255, 0.4);
}

.ar-quiz-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.ar-quiz-header .badge {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ar-quiz-body {
    padding: 20px 24px 24px;
}

.ar-quiz-body .question {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ar-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ar-quiz-options button {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
}

.ar-quiz-options button:hover {
    background: rgba(0, 200, 255, 0.1);
    border-color: rgba(0, 200, 255, 0.3);
    transform: scale(1.01);
}

.ar-quiz-options button .letter {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #00d4ff;
    margin-right: 10px;
}

.ar-result-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.ar-result-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .ar-mini-map {
        width: 60px;
        height: 60px;
        bottom: 120px;
        right: 8px;
    }
    .ar-progress-container {
        bottom: 70px;
        padding: 4px 10px 4px 12px;
        width: min(280px, 85%);
    }
    .ar-progress-container .ar-progress-label {
        font-size: 8px;
    }
    .ar-hud-top {
        padding: 8px 12px;
    }
    .ar-hud-top .ar-scan-status {
        font-size: 8px;
        padding: 4px 10px;
    }
    .ar-quiz-card {
        border-radius: 20px;
    }
    .ar-quiz-body {
        padding: 16px 18px 20px;
    }
    .ar-quiz-body .question {
        font-size: 13px;
    }
    .ar-quiz-options button {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* ===================================================
   AR Explorer — Enhanced Styles
   =================================================== */

/* Spin animation untuk rotate button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* HUD card di atas viewer */
.ar-hud-card {
    animation: hud-fade-in 0.4s ease forwards;
}
@keyframes hud-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Viewer glow transition */
#ar-viewer-wrap {
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

/* Planet selector tab */
.ar-planet-tab {
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.ar-planet-tab:hover {
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

/* Info tab content fade transition */
#info-tab-content {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Stats bar fill animation */
.stat-bar-fill {
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Details accordion custom */
details > summary::-webkit-details-marker { display: none; }
details > summary { cursor: pointer; }
details[open] > summary .chevron { transform: rotate(180deg); }
details .chevron { transition: transform 0.2s ease; }

/* Info panel scrollbar */
#planet-info-panel::-webkit-scrollbar { width: 4px; }
#planet-info-panel::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
#planet-info-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.2);
    border-radius: 2px;
}

/* Planet selector scrollbar */
#planet-selector-scroll::-webkit-scrollbar { height: 3px; }
#planet-selector-scroll::-webkit-scrollbar-track { background: transparent; }
#planet-selector-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

/* Control button hover glow */
#ar-btn-rotate:hover, #ar-btn-reset:hover {
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.12);
}
#ar-btn-light:hover {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.12);
}

/* Fullscreen mode adjustments */
#ar-viewer-wrap:fullscreen {
    height: 100vh !important;
    border-radius: 0 !important;
}
