/* Rogue Student Game Theme */

:root {
    --bg-dark: #090b0e;
    --bg-card: rgba(18, 24, 38, 0.88);
    --bg-modal: rgba(12, 16, 26, 0.95);
    
    --color-text: #e2e8f0;
    --color-muted: #8a99ad;
    
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff007f;
    --neon-yellow: #ffdf00;
    --neon-green: #39ff14;
    --neon-red: #ff3131;
    --neon-blue: #0070f3;
    
    --border-pixel: 4px solid #1e293b;
    --border-neon-cyan: 3px solid var(--neon-cyan);
    --border-neon-magenta: 3px solid var(--neon-magenta);
    --border-neon-yellow: 3px solid var(--neon-yellow);
    --border-neon-red: 3px solid var(--neon-red);
    
    --font-title: 'Press Start 2P', monospace;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-cyan: 0 0 10px rgba(0, 240, 255, 0.4);
    --shadow-magenta: 0 0 10px rgba(255, 0, 127, 0.4);
    --shadow-yellow: 0 0 10px rgba(255, 223, 0, 0.4);
    --shadow-red: 0 0 10px rgba(255, 49, 49, 0.4);
}

/* Reset and Core Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

body {
    background-color: #030406;
    color: var(--color-text);
    font-family: var(--font-body);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* App Wrapper & 16:9 Game Container */
#app-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #101520 0%, #030406 100%);
    position: relative;
    padding: 10px;
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 1120px; /* 16:9 aspect ratio standard maximums */
    max-height: 630px;
    background-color: var(--bg-dark);
    border: 6px solid #1e293b;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Maintain 16:9 Aspect Ratio */
.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

@media (max-aspect-ratio: 16/9) {
    #game-container {
        width: 100%;
        height: auto;
    }
}

@media (min-aspect-ratio: 16/9) {
    #game-container {
        height: 100%;
        width: auto;
    }
}

/* Canvas styling */
#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background-color: #0b0e14;
}

/* CRT Screen FX & Scanlines */
.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0.85;
}

.crt-overlay::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    animation: crt-flicker 0.15s infinite;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.65) 100%);
    z-index: 11;
    pointer-events: none;
}

@keyframes crt-flicker {
    0% { opacity: 0.27861; }
    5% { opacity: 0.34769; }
    10% { opacity: 0.23604; }
    15% { opacity: 0.90626; }
    20% { opacity: 0.18128; }
    25% { opacity: 0.83891; }
    30% { opacity: 0.65583; }
    35% { opacity: 0.67807; }
    40% { opacity: 0.26559; }
    45% { opacity: 0.84693; }
    50% { opacity: 0.96019; }
    55% { opacity: 0.13594; }
    60% { opacity: 0.88013; }
    65% { opacity: 0.48508; }
    70% { opacity: 0.26171; }
    75% { opacity: 0.79284; }
    80% { opacity: 0.55207; }
    85% { opacity: 0.21728; }
    90% { opacity: 0.98405; }
    95% { opacity: 0.35083; }
    100% { opacity: 0.73772; }
}

/* Overlays - Fullscreen Screens */
.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 20px;
}

.screen-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
}

.screen-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.overlay-content {
    width: 90%;
    max-width: 650px;
    padding: 30px;
    border-radius: 12px;
    border: var(--border-pixel);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    position: relative;
    max-height: 90%;
    display: flex;
    flex-direction: column;
}

/* Card classes */
.card-bg {
    background-color: var(--bg-card);
    border: 3px solid #334155;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.05);
}

.border-red {
    border-color: var(--neon-red);
    box-shadow: 0 8px 32px rgba(255, 49, 49, 0.2);
}

.border-gold {
    border-color: var(--neon-yellow);
    box-shadow: 0 8px 32px rgba(255, 223, 0, 0.2);
}

.scrollable {
    overflow-y: auto;
}

/* Custom Scrollbar for Retro Cards */
.scrollable::-webkit-scrollbar {
    width: 8px;
}
.scrollable::-webkit-scrollbar-track {
    background: #0d121f;
}
.scrollable::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Utility classes & HUD Layout */
.text-center { text-align: center; }
.text-yellow { color: var(--neon-yellow); text-shadow: 0 0 5px rgba(255, 223, 0, 0.5); }
.text-red { color: var(--neon-red); text-shadow: 0 0 5px rgba(255, 49, 49, 0.5); }
.text-green { color: var(--neon-green); text-shadow: 0 0 5px rgba(57, 255, 20, 0.5); }
.text-gold { color: var(--neon-yellow); text-shadow: 0 0 10px rgba(255, 223, 0, 0.8); }
.text-muted { color: var(--color-muted); }
.mt-20 { margin-top: 20px; }
.bg-red { background-color: var(--neon-red) !important; }
.bg-blue { background-color: var(--neon-blue) !important; }

.font-retro {
    font-family: var(--font-title);
    letter-spacing: 1px;
}

/* HUD System */
.hud-container {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.hud-container.hidden {
    display: none;
}

.hud-top, .hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stat-group {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #334155;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    width: 48%;
    max-width: 280px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-family: var(--font-title);
    font-size: 8px;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.stat-bar-container {
    height: 14px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.hp-fill {
    background: linear-gradient(90deg, #dc2626, #f87171);
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

.exp-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.stat-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-translateY, -50%) translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 7px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 0px black;
    white-space: nowrap;
}

.hud-badge-container {
    display: flex;
    gap: 8px;
}

.hud-badge {
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid #475569;
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    font-family: var(--font-title);
    font-size: 9px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.skills-mini-list {
    display: flex;
    gap: 6px;
    pointer-events: auto;
}

.skill-mini-icon {
    width: 24px;
    height: 24px;
    background: #1e293b;
    border: 2px solid var(--neon-cyan);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-cyan);
}

.skill-mini-icon:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: -32px;
    right: 0;
    background: #0f172a;
    border: 1px solid var(--neon-cyan);
    color: white;
    padding: 3px 6px;
    font-size: 8px;
    white-space: nowrap;
    border-radius: 3px;
    z-index: 30;
    pointer-events: none;
    font-family: var(--font-body);
}

/* Glitch Retro Text Effect */
.glitch {
    position: relative;
    font-family: var(--font-title);
    font-size: 38px;
    font-weight: 900;
    color: white;
    text-shadow: 0.05em 0 0 rgba(255, 0, 127, 0.75),
                -0.025em -0.05em 0 rgba(0, 240, 255, 0.75),
                0.025em 0.05em 0 rgba(255, 223, 0, 0.75);
    animation: glitch 500ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 127, 0.75), -0.05em -0.025em 0 rgba(0, 240, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 127, 0.75), -0.05em -0.025em 0 rgba(0, 240, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 127, 0.75), 0.025em 0.025em 0 rgba(0, 240, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 127, 0.75), 0.025em 0.025em 0 rgba(0, 240, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 127, 0.75), 0.05em 0 0 rgba(0, 240, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 127, 0.75), 0.05em 0 0 rgba(0, 240, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 127, 0.75), -0.025em -0.025em 0 rgba(0, 240, 255, 0.75);
    }
}

.game-subtitle {
    font-family: var(--font-title);
    font-size: 14px;
    color: var(--neon-cyan);
    margin-top: 10px;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.character-preview {
    margin: 30px auto;
    width: 90px;
    height: 90px;
    background: #1e293b;
    border: 3px solid #334155;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2);
}

.pixel-student-animation {
    width: 48px;
    height: 48px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" style="image-rendering:pixelated;"><rect x="6" y="1" width="4" height="4" fill="%23f2c094"/><rect x="5" y="5" width="6" height="7" fill="%230070f3"/><rect x="6" y="12" width="1" height="3" fill="%235c4033"/><rect x="9" y="12" width="1" height="3" fill="%235c4033"/><rect x="5" y="1" width="6" height="1" fill="%23000"/><rect x="5" y="2" width="1" height="3" fill="%23000"/><rect x="10" y="2" width="1" height="3" fill="%23000"/><rect x="7" y="3" width="1" height="1" fill="%23000"/><rect x="9" y="3" width="1" height="1" fill="%23000"/><rect x="7" y="5" width="2" height="1" fill="%23fff"/><rect x="7" y="7" width="2" height="2" fill="%23ff007f"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    animation: bounce 0.8s infinite alternate;
}

.pixel-student-victory {
    font-size: 36px;
    animation: rotate-bounce 1s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes rotate-bounce {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-10px) rotate(5deg); }
}

/* Custom Styled Buttons */
.btn {
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-primary {
    background-color: var(--neon-cyan);
    color: #030406;
    border-bottom: 4px solid #00b8c4;
    font-weight: bold;
}
.btn-primary:hover {
    background-color: #33f5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 240, 255, 0.4);
}
.btn-primary:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

.btn-secondary {
    background-color: #334155;
    color: var(--color-text);
    border-bottom: 4px solid #1e293b;
    margin-left: 10px;
}
.btn-secondary:hover {
    background-color: #475569;
    color: white;
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 8px;
}

.menu-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.version-tag {
    margin-top: 30px;
    font-size: 9px;
    color: var(--color-muted);
}

/* Quiz Overlay Style */
.quiz-card {
    background-color: var(--bg-card);
    border: var(--border-neon-cyan);
    box-shadow: var(--shadow-cyan);
}

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

.quiz-tag {
    font-family: var(--font-title);
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
}

.quiz-timer-container {
    width: 60%;
    height: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 5px;
    overflow: hidden;
}

.quiz-timer-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    width: 100%;
    transition: width 0.1s linear;
}

.quiz-question {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    background: rgba(15, 23, 42, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    max-height: 180px;
    overflow-y: auto;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 580px) {
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.option-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid #334155;
    color: var(--color-text);
    padding: 14px 20px;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.option-btn::before {
    content: attr(data-letter);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 4px;
    margin-right: 12px;
    font-family: var(--font-title);
    font-size: 9px;
    color: var(--color-muted);
}

.option-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.15);
}

.option-btn:hover::before {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.option-btn.correct {
    background: rgba(57, 255, 20, 0.15) !important;
    border-color: var(--neon-green) !important;
    color: var(--neon-green) !important;
}
.option-btn.correct::before {
    background: var(--neon-green) !important;
    color: black !important;
    border-color: var(--neon-green) !important;
}

.option-btn.wrong {
    background: rgba(255, 49, 49, 0.15) !important;
    border-color: var(--neon-red) !important;
    color: var(--neon-red) !important;
}
.option-btn.wrong::before {
    background: var(--neon-red) !important;
    color: white !important;
    border-color: var(--neon-red) !important;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hints-text {
    font-size: 11px;
    color: var(--color-muted);
}

/* Level Up / Skill Picking Overlay */
.levelup-title {
    font-family: var(--font-title);
    font-size: 28px;
    margin-bottom: 10px;
}

.levelup-subtitle {
    font-size: 15px;
    color: var(--color-muted);
    margin-bottom: 30px;
}

.skill-choices-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

@media (max-width: 600px) {
    .skill-choices-grid {
        flex-direction: column;
        align-items: center;
    }
}

.skill-card {
    background: rgba(22, 28, 38, 0.9);
    border: 2px solid #334155;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 180px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.skill-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: var(--shadow-yellow);
    transform: translateY(-8px);
}

.skill-icon-large {
    width: 48px;
    height: 48px;
    background: #0f172a;
    border: 2px solid #475569;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.25s ease;
}

.skill-card:hover .skill-icon-large {
    border-color: var(--neon-yellow);
    background: rgba(255, 223, 0, 0.1);
    transform: scale(1.1);
}

.skill-name {
    font-family: var(--font-title);
    font-size: 9px;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
}

.skill-desc {
    font-size: 11px;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.4;
}

/* Game Over / Report Overlay */
.stats-report {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.report-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #1e293b;
    font-size: 14px;
}
.report-row:last-child {
    border-bottom: none;
}
.report-row span:first-child {
    color: var(--color-muted);
}
.report-row span:last-child {
    font-weight: bold;
}

/* Mobile Virtual Controls Overlay */
.controls-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 18;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Auto-hide controls overlay if playing on desktop */
@media (min-width: 1024px) {
    .controls-overlay {
        opacity: 0.1; /* slightly visible or we can toggle it, let's keep it low opacity so player knows it exists or fade on hover */
    }
    .controls-overlay:hover {
        opacity: 0.9;
    }
}

.dpad-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.dpad-row {
    display: flex;
    gap: 4px;
    margin: 4px 0;
}

.dpad-btn {
    width: 44px;
    height: 44px;
    background: rgba(22, 28, 38, 0.75);
    border: 2px solid #475569;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.dpad-btn:active {
    background: var(--neon-cyan);
    color: black;
    border-color: var(--neon-cyan);
    transform: scale(0.92);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.dpad-btn.center {
    background: rgba(30, 41, 59, 0.85);
    font-size: 14px;
}
.dpad-btn.center:active {
    background: var(--neon-magenta);
    border-color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.action-buttons-container {
    pointer-events: auto;
}

.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    background: rgba(22, 28, 38, 0.85);
    border: 2px solid var(--neon-magenta);
    color: white;
    font-size: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4), var(--shadow-magenta);
    transition: all 0.1s ease;
}

.circle-btn:active {
    background: var(--neon-magenta);
    color: white;
    transform: scale(0.92);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.8);
}

/* Toast Message Popup */
.toast-message {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 16, 26, 0.9);
    border: 1px solid var(--neon-cyan);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    color: white;
    z-index: 25;
    box-shadow: var(--shadow-cyan);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-message.hidden {
    opacity: 0;
    transform: translate(-50%, 10px);
}

/* Animations */
.blink {
    animation: blinker 1s linear infinite;
}

.blink-slow {
    animation: blinker 1.8s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.scale-up {
    animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll tutor */
.tutorial-body h3 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--neon-cyan);
    font-family: var(--font-title);
    font-size: 10px;
}

.tutorial-body p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tutorial-body ul {
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 13px;
}

.tutorial-body li {
    margin-bottom: 6px;
    line-height: 1.5;
}
