/**
 * DriftBuds — All game UI styling. No inline styles; keep all presentation here for reuse and maintainability.
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800;900&display=swap');

:root {
    --bg-base: #f8fafc;
    --bg-panel: rgba(255, 255, 255, 0.92);
    --panel-border: rgba(15, 23, 42, 0.08);
    --panel-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.04);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-cyan: #0891b2;
    --accent-cyan-bright: #06b6d4;
    --accent-emerald: #059669;
    --accent-emerald-bright: #10b981;
    --btn-bg: rgba(255, 255, 255, 0.95);
    --btn-border: rgba(15, 23, 42, 0.12);
    --btn-hover-bg: rgba(248, 250, 252, 1);
    --btn-hover-border: rgba(8, 145, 178, 0.4);
    --glow-cyan: rgba(6, 182, 212, 0.25);
    --glow-emerald: rgba(16, 185, 129, 0.25);
    --cta-gradient: linear-gradient(165deg, var(--accent-cyan) 0%, var(--accent-cyan-bright) 50%, var(--accent-emerald) 100%);
    --cta-gradient-hover: linear-gradient(165deg, var(--accent-cyan-bright) 0%, #22d3ee 50%, var(--accent-emerald-bright) 100%);
    --cta-shadow: 0 4px 20px rgba(8, 145, 178, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    --cta-shadow-hover: 0 0 40px var(--glow-cyan), 0 8px 28px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    --cta-shadow-active: 0 2px 12px rgba(8, 145, 178, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    overflow: hidden;
    background: url('../img/bg.png') center center / cover no-repeat fixed;
    font-family: 'Outfit', sans-serif;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    background: transparent;
}

/* Hide game canvas when overlay or loading is visible */
body.overlay-visible #gameCanvas,
body:has(#loading-overlay.visible) #gameCanvas {
    visibility: hidden;
}

/* HUD: visible by default so it shows immediately on game screen */
#hud {
    opacity: 1;
    visibility: visible;
    transition: none;
}

/* Hide HUD only when overlay is visible (class toggled by JS for reliable behavior) */
body.overlay-visible #hud {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
}
.screen.active { opacity: 1; pointer-events: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.7rem 1.4rem;
    border-radius: 1.25rem;
    background: var(--btn-bg);
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.15);
}
.btn:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-secondary);
}

.btn-icon-solve {
    color: var(--accent-emerald);
}

.btn-solve {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.btn-solve:hover:not(:disabled) {
    box-shadow: 0 0 32px var(--glow-emerald), 0 8px 24px rgba(5, 150, 105, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

.btn-compact {
    padding: 0;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 9999px;
    font-size: 0;
    letter-spacing: 0;
}

/* Primary CTA buttons: Start, Next, Retry, Play again — shared base */
.start-btn,
.next-btn,
.retry-btn,
.btn-play-again {
    border-radius: 9999px;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: var(--cta-gradient);
    box-shadow: var(--cta-shadow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.start-btn:hover:not(:disabled),
.next-btn:hover:not(:disabled),
.retry-btn:hover:not(:disabled),
.btn-play-again:hover:not(:disabled) {
    background: var(--cta-gradient-hover);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--cta-shadow-hover);
}

.start-btn:active:not(:disabled),
.next-btn:active:not(:disabled),
.retry-btn:active:not(:disabled),
.btn-play-again:active:not(:disabled) {
    box-shadow: var(--cta-shadow-active);
}

.start-btn {
    margin-top: 3rem;
    padding: 1.25rem 3.5rem;
    position: relative;
}

.start-btn-spinner {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 9999px;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

.start-btn.loading .start-btn-text {
    visibility: hidden;
    position: absolute;
}

.start-btn.loading .start-btn-spinner {
    display: inline-block;
}

.start-btn.loading {
    cursor: wait;
    pointer-events: none;
}

/* Next button loading (between levels) */
.next-btn .next-btn-spinner {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 9999px;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

.next-btn.loading .next-btn-text {
    visibility: hidden;
    position: absolute;
}

.next-btn.loading .next-btn-spinner {
    display: inline-block;
}

.next-btn.loading {
    cursor: wait;
    pointer-events: none;
}

.next-btn {
    margin-top: 4rem;
    padding: 1.5rem 4rem;
    position: relative;
}

.retry-btn {
    margin-top: 0;
    padding: 1.25rem 2.5rem;
}

.screen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.screen-actions .next-btn,
.screen-actions .retry-btn {
    margin-top: 0;
}

/* Same height for popup action buttons */
.screen-actions .next-btn,
.screen-actions .retry-btn,
.screen-actions .home-btn-popup {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    min-height: 3.5rem;
    box-sizing: border-box;
}

/* Home button on pop-ups: previous style (light fill, thin border, like HUD home) */
.home-btn-popup {
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-primary);
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.home-btn-popup:hover:not(:disabled) {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.15);
}

.home-btn-popup:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
}

.text-glow-emerald {
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5), 0 2px 4px rgba(0, 0, 0, 0.08);
    color: var(--accent-emerald);
}

.hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0.7rem;
    margin-top: max(0.7rem, env(safe-area-inset-top));
    margin-left: max(0.7rem, env(safe-area-inset-left));
    margin-right: max(0.7rem, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 20;
}

.hud-top-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.hud-play-again-row {
    display: none;
    justify-content: center;
    align-items: center;
}

body.solution-mode .hud-play-again-row {
    display: flex;
}

body.solution-mode .hud-controls {
    display: none;
}

.btn-play-again {
    min-width: 10rem;
}

.hud-interactive {
    pointer-events: auto;
}

.hud-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex-shrink: 1;
}

.hud-level-stack {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hud-level {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hud-controls {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

#loading-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.5s;
    pointer-events: none;
    opacity: 0;
}
#loading-overlay.visible { opacity: 1; pointer-events: auto; }

/* How to Play pop-up */
.how-to-play-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.how-to-play-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}
.how-to-play-popup {
    background: var(--bg-panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow), 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    max-width: 28rem;
    width: calc(100vw - 2rem);
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.how-to-play-overlay.visible .how-to-play-popup {
    transform: scale(1);
}
.how-to-play-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--panel-border);
}
.how-to-play-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.how-to-play-close {
    flex-shrink: 0;
}
.how-to-play-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.how-to-play-body p {
    margin: 0 0 1rem;
}
.how-to-play-body p:last-child {
    margin-bottom: 0;
}
.how-to-play-body kbd {
    display: inline-block;
    padding: 0.15em 0.4em;
    font-size: 0.85em;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 0.35rem;
    border: 1px solid var(--panel-border);
}
.btn-how-to-play .btn-icon {
    color: var(--accent-cyan);
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    border-width: 4px;
    border-style: solid;
    border-color: #e0f2fe;
    border-top-color: var(--accent-cyan-bright);
    animation: spin 0.9s linear infinite;
}

.loading-text {
    color: var(--accent-cyan);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    animation: pulse 1.4s ease-in-out infinite;
}

.screen-start {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.screen-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.logo-img {
    display: block;
    max-width: min(80vw, 24rem);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.start-level-card {
    width: 8.5rem;
    height: 8.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: 1.5rem;
    border: 2px solid var(--accent-cyan-bright);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.95) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--panel-shadow), 0 4px 20px rgba(8, 145, 178, 0.18);
}

.start-level-card #start-level-num {
    color: var(--accent-cyan);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 2px 12px rgba(6, 182, 212, 0.25);
}

.start-level-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.screen-complete {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
}

.text-center {
    text-align: center;
}

.complete-title {
    margin: 0 0 0.5rem;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.complete-subtitle {
    margin: 0 0 3rem;
    font-size: 1.1rem;
    color: var(--accent-emerald);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5em;
}

.screen-fail {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
}

.fail-title {
    margin: 0 0 0.5rem;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.text-glow-red {
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.45), 0 2px 4px rgba(0, 0, 0, 0.08);
    color: #dc2626;
}

.fail-subtitle {
    margin: 0 0 3rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.35em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Off-screen measurement only (used by JS for safe-area-inset-top). Not visible. */
.measure-safe-area-top {
    position: absolute;
    left: -9999px;
    padding-top: env(safe-area-inset-top);
}

/* ========== Responsive: breakpoints ========== */
/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    body {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hud {
        margin: 0.4rem;
        gap: 0.5rem;
    }

    .hud-level {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .btn-compact {
        width: 2.25rem;
        height: 2.25rem;
    }

    .btn-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .hud-controls {
        gap: 0.4rem;
    }

    .screen-header {
        margin-bottom: 1.25rem;
    }

    .logo-img {
        max-width: min(72vw, 14rem);
    }

    .start-level-card {
        width: 6rem;
        height: 6rem;
        border-radius: 1.1rem;
    }

    .start-level-card #start-level-num {
        font-size: 1.9rem;
    }

    .start-level-label {
        font-size: 0.6rem;
    }

    .start-btn {
        margin-top: 1.75rem;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .complete-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        letter-spacing: 0.12em;
    }

    .complete-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.3em;
        margin-bottom: 2rem;
    }

    .screen-actions {
        margin-top: 1.5rem;
        gap: 0.65rem;
    }

    .screen-actions .next-btn,
    .screen-actions .retry-btn,
    .screen-actions .home-btn-popup {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        min-height: 2.75rem;
    }

    .fail-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
        letter-spacing: 0.1em;
    }

    .fail-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }

    .how-to-play-popup {
        max-width: calc(100vw - 1.25rem);
        max-height: 82vh;
        border-radius: 1.1rem;
    }

    .how-to-play-header {
        padding: 0.9rem 1rem;
    }

    .how-to-play-title {
        font-size: 1rem;
    }

    .how-to-play-body {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .loading-spinner {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0.65rem;
    }

    .loading-text {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }
}

/* Mobile (481px–640px) */
@media (min-width: 481px) and (max-width: 640px) {
    .hud {
        margin: 0.5rem;
        gap: 0.6rem;
    }

    .hud-level {
        font-size: 0.8rem;
        letter-spacing: 0.26em;
    }

    .btn-compact {
        width: 2.5rem;
        height: 2.5rem;
    }

    .btn-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .logo-img {
        max-width: min(75vw, 18rem);
    }

    .start-level-card {
        width: 7rem;
        height: 7rem;
    }

    .start-level-card #start-level-num {
        font-size: 2.25rem;
    }

    .start-btn {
        margin-top: 2.25rem;
        padding: 1rem 2.5rem;
        font-size: 1.05rem;
    }

    .complete-title {
        font-size: clamp(2.25rem, 7vw, 3.25rem);
    }

    .complete-subtitle {
        font-size: 0.95rem;
    }

    .screen-actions .next-btn,
    .screen-actions .retry-btn,
    .screen-actions .home-btn-popup {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 3rem;
    }

    .how-to-play-popup {
        max-width: calc(100vw - 2rem);
    }
}

/* Tablet Portrait (641px–768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .hud {
        margin: 0.6rem;
    }

    .logo-img {
        max-width: min(70vw, 20rem);
    }

    .start-level-card {
        width: 7.5rem;
        height: 7.5rem;
    }

    .start-btn {
        margin-top: 2.5rem;
        padding: 1.1rem 2.75rem;
    }
}

/* Tablet Landscape (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hud {
        margin: 0.65rem;
    }

    .logo-img {
        max-width: min(55vw, 22rem);
    }
}

/* Desktop (≥1025px) — base already targets this; optional overrides */
@media (min-width: 1025px) {
    .hud {
        margin: 0.7rem;
    }
}

/* Landscape mobile: short viewport in landscape */
@media (orientation: landscape) and (max-height: 500px) {
    body {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hud {
        margin: 0.35rem 0.5rem;
        gap: 0.4rem;
        flex-direction: row;
        align-items: center;
    }

    .hud-controls {
        margin-left: auto;
        gap: 0.4rem;
    }

    .hud-level {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }

    .btn-compact {
        width: 2rem;
        height: 2rem;
    }

    .btn-icon {
        width: 1rem;
        height: 1rem;
    }

    .screen-header {
        margin-bottom: 0.75rem;
    }

    .logo-img {
        max-width: min(35vh, 10rem);
    }

    .start-level-card {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 1rem;
    }

    .start-level-card #start-level-num {
        font-size: 1.35rem;
    }

    .start-level-label {
        font-size: 0.55rem;
    }

    .start-btn {
        margin-top: 0.75rem;
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .complete-title {
        font-size: clamp(1.5rem, 5vh, 2.5rem);
        letter-spacing: 0.08em;
    }

    .complete-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        margin-bottom: 1rem;
    }

    .screen-actions {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }

    .screen-actions .next-btn,
    .screen-actions .retry-btn,
    .screen-actions .home-btn-popup {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
        min-height: 2.25rem;
    }

    .fail-title {
        font-size: clamp(1.35rem, 4.5vh, 2rem);
        letter-spacing: 0.06em;
    }

    .fail-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-bottom: 1rem;
    }

    .how-to-play-popup {
        max-height: 90vh;
        max-width: 85vw;
    }

    .how-to-play-header {
        padding: 0.65rem 1rem;
    }

    .how-to-play-title {
        font-size: 1rem;
    }

    .how-to-play-body {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Landscape tablet / short desktop: medium height landscape */
@media (orientation: landscape) and (min-height: 501px) and (max-height: 700px) {
    .screen-header {
        margin-bottom: 1.25rem;
    }

    .logo-img {
        max-width: min(40vh, 16rem);
    }

    .start-level-card {
        width: 5.5rem;
        height: 5.5rem;
    }

    .start-level-card #start-level-num {
        font-size: 1.65rem;
    }

    .start-btn {
        margin-top: 1.25rem;
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}
