:root {
    --bg-color: #0b0e14;
    --panel-bg-color: rgba(22, 27, 38, 0.85);
    --border-color: rgba(0, 240, 255, 0.25);
    --border-glow: 0 0 12px rgba(0, 240, 255, 0.3);
    --primary-text-color: #f0f6fc;
    --secondary-text-color: #8b949e;
    --accent-color: #00f0ff;
    --accent-glow: 0 0 10px #00f0ff;
    --button-bg-color: #161b22;
    --button-border: #30363d;
    --button-hover-bg: #21262d;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --app-height: 100vh;
}

* {
    box-sizing: border-box;
}

html, body {
    height: var(--app-height);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    color: var(--primary-text-color);
    font-family: var(--font-body);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.game-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 8px;
    gap: 8px;
}

/* --- Top Bar --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: var(--panel-bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: var(--border-glow);
    border-radius: 12px;
    flex-shrink: 0;
    height: 48px;
}

.score-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-box .label, .next-container .label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--secondary-text-color);
}

#score {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.next-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

#next-block-canvas {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 32px;
    height: 32px;
}

.icon-btn {
    background: var(--button-bg-color);
    border: 1px solid var(--button-border);
    color: var(--primary-text-color);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn.lang-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.icon-btn:hover {
    background: var(--button-hover-bg);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* --- Game Main & Board --- */
.game-main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
}

#game-board {
    border: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.8);
    background-color: rgba(5, 7, 12, 0.95);
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.05s ease;
}

/* Shake Animation */
.game-main.shake {
    animation: screenShake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes screenShake {
    10%, 90% { transform: translate3d(-2px, 1px, 0); }
    20%, 80% { transform: translate3d(3px, -2px, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 3px, 0); }
    40%, 60% { transform: translate3d(4px, -3px, 0); }
}

/* Floating Text Container & Elements */
.floating-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.floating-text {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.9), 0 2px 4px #000;
    transform: translate(-50%, -50%);
    animation: floatUp 0.85s ease-out forwards;
    white-space: nowrap;
}

.floating-text.combo {
    font-size: 1.6rem;
    color: #ff007f;
    text-shadow: 0 0 12px #ff007f, 0 0 20px #ff007f, 0 2px 4px #000;
}

.floating-text.cross {
    font-size: 1.7rem;
    color: #ffea00;
    text-shadow: 0 0 12px #ffea00, 0 0 20px #ffea00, 0 2px 4px #000;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%) scale(0.6);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -60%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -130%) scale(0.9);
    }
}

/* --- Controls --- */
.bottom-bar {
    flex-shrink: 0;
}

.controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.controls button {
    padding: 12px 0;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: bold;
    cursor: pointer;
    border: 1px solid var(--button-border);
    border-radius: 12px;
    background: linear-gradient(180deg, #1c2128 0%, #161b22 100%);
    color: var(--primary-text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease;
    user-select: none;
    touch-action: manipulation;
    line-height: 1;
}

.controls button:hover {
    background: linear-gradient(180deg, #262c36 0%, #1f242d 100%);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.controls button:active {
    transform: translateY(2px) scale(0.96);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    background: var(--accent-color);
    color: #000;
}

/* --- Overlays --- */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 7, 12, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 20;
    border-radius: 8px;
}

.game-overlay h1 {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #00f0ff 0%, #ff007f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.4));
}

.game-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    color: #ff0055;
    text-shadow: 0 0 12px rgba(255, 0, 85, 0.6);
}

.subtitle {
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.final-score-text {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    margin: 0 0 24px 0;
}

#game-clear-screen h2 {
    color: #00ffcc;
    text-shadow: 0 0 12px rgba(0, 255, 204, 0.7);
}

.game-overlay button {
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid var(--accent-color);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(255, 0, 128, 0.2) 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transition: all 0.2s ease;
}

.game-overlay button:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4) 0%, rgba(255, 0, 128, 0.4) 100%);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    transform: scale(1.05);
}

.start-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.game-overlay button.secondary-btn {
    background: rgba(22, 27, 34, 0.7);
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    font-size: 0.9rem;
    padding: 10px 24px;
}

.game-overlay button.secondary-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

/* --- Difficulty Badge (Top Bar) --- */
.diff-badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.diff-badge.easy {
    color: #00ff66;
    border: 1px solid rgba(0, 255, 102, 0.5);
    background: rgba(0, 255, 102, 0.12);
    text-shadow: 0 0 6px rgba(0, 255, 102, 0.6);
}

.diff-badge.normal {
    color: #ffdd00;
    border: 1px solid rgba(255, 221, 0, 0.5);
    background: rgba(255, 221, 0, 0.12);
    text-shadow: 0 0 6px rgba(255, 221, 0, 0.6);
}

.diff-badge.hard {
    color: #ff3366;
    border: 1px solid rgba(255, 51, 102, 0.5);
    background: rgba(255, 51, 102, 0.12);
    text-shadow: 0 0 6px rgba(255, 51, 102, 0.6);
}

/* --- Difficulty Selection in Start Screen --- */
.diff-section {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 18px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.diff-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--secondary-text-color);
    text-transform: uppercase;
}

.diff-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.game-overlay button.diff-btn {
    padding: 8px 0;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: 1px solid var(--button-border);
    background: rgba(22, 27, 34, 0.85);
    color: var(--secondary-text-color);
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.game-overlay button.diff-btn:hover {
    background: rgba(35, 42, 54, 0.95);
    transform: translateY(-1px);
    box-shadow: none;
}

.game-overlay button.diff-btn[data-diff="easy"].active {
    border-color: #00ff66;
    color: #00ff66;
    background: rgba(0, 255, 102, 0.18);
    box-shadow: 0 0 14px rgba(0, 255, 102, 0.4), inset 0 0 6px rgba(0, 255, 102, 0.2);
}

.game-overlay button.diff-btn[data-diff="normal"].active {
    border-color: #ffdd00;
    color: #ffdd00;
    background: rgba(255, 221, 0, 0.18);
    box-shadow: 0 0 14px rgba(255, 221, 0, 0.4), inset 0 0 6px rgba(255, 221, 0, 0.2);
}

.game-overlay button.diff-btn[data-diff="hard"].active {
    border-color: #ff3366;
    color: #ff3366;
    background: rgba(255, 51, 102, 0.18);
    box-shadow: 0 0 14px rgba(255, 51, 102, 0.4), inset 0 0 6px rgba(255, 51, 102, 0.2);
}

.diff-desc {
    font-size: 0.74rem;
    color: var(--primary-text-color);
    line-height: 1.35;
    min-height: 38px;
    padding: 6px 10px;
    background: rgba(11, 14, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

/* Result Overlays Difficulty Display */
.result-diff-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary-text-color);
    letter-spacing: 1px;
    margin: -4px 0 10px 0;
}

.result-diff-text .diff-name {
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.result-diff-text .diff-name.easy {
    color: #00ff66;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

.result-diff-text .diff-name.normal {
    color: #ffdd00;
    text-shadow: 0 0 8px rgba(255, 221, 0, 0.6);
}

.result-diff-text .diff-name.hard {
    color: #ff3366;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
}

/* --- Tutorial Overlay --- */
.tutorial-overlay {
    z-index: 50;
    padding: 8px;
}

.tutorial-card {
    background: rgba(11, 14, 20, 0.97);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 96%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tutorial-header h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.tutorial-card button.close-btn {
    background: none;
    border: none;
    color: var(--secondary-text-color);
    font-size: 1.2rem;
    font-family: sans-serif;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: none;
    transform: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.tutorial-card button.close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: scale(1.1);
}

.tutorial-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px;
    gap: 4px;
}

.tutorial-card button.tutorial-tab {
    flex: 1;
    padding: 6px 2px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--secondary-text-color);
    box-shadow: none;
    cursor: pointer;
    transform: none;
    transition: all 0.2s ease;
}

.tutorial-card button.tutorial-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transform: none;
}

.tutorial-card button.tutorial-tab.active {
    background: rgba(0, 240, 255, 0.15);
    color: #fff;
    font-weight: 700;
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.tutorial-content {
    flex: 1;
    padding: 12px 14px;
    overflow-y: auto;
    text-align: left;
}

.tutorial-page {
    display: none;
    animation: tutFadeIn 0.25s ease;
}

.tutorial-page.active {
    display: block;
}

@keyframes tutFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.tutorial-page h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.page-desc {
    font-size: 0.82rem;
    color: #c9d1d9;
    line-height: 1.45;
    margin: 0 0 10px 0;
}

.highlight-cyan {
    color: #00f0ff;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

/* Demo mini blocks */
.demo-blocks-wrap {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
}

.demo-blocks-label {
    font-size: 0.7rem;
    color: var(--secondary-text-color);
    margin-bottom: 6px;
    font-family: var(--font-heading);
    text-align: center;
}

.demo-blocks-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.mini-block {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
}

.mini-block.b-1 { background: linear-gradient(180deg, #FF6688 0%, #FF3366 100%); border: 1px solid #CC0033; box-shadow: 0 0 6px rgba(255, 51, 102, 0.4); }
.mini-block.b-2 { background: linear-gradient(180deg, #FFBB44 0%, #FF9900 100%); border: 1px solid #CC7700; box-shadow: 0 0 6px rgba(255, 153, 0, 0.4); }
.mini-block.b-3 { background: linear-gradient(180deg, #FFEE66 0%, #FFDD00 100%); border: 1px solid #CCB800; box-shadow: 0 0 6px rgba(255, 221, 0, 0.4); }
.mini-block.b-4 { background: linear-gradient(180deg, #66FF99 0%, #00FF66 100%); border: 1px solid #00CC44; box-shadow: 0 0 6px rgba(0, 255, 102, 0.4); }
.mini-block.b-5 { background: linear-gradient(180deg, #66F5FF 0%, #00F0FF 100%); border: 1px solid #00B8CC; box-shadow: 0 0 6px rgba(0, 240, 255, 0.4); }
.mini-block.b-6 { background: linear-gradient(180deg, #7799FF 0%, #3366FF 100%); border: 1px solid #0033CC; box-shadow: 0 0 6px rgba(51, 102, 255, 0.4); }
.mini-block.b-7 { background: linear-gradient(180deg, #D177FF 0%, #B533FF 100%); border: 1px solid #8800CC; box-shadow: 0 0 6px rgba(181, 51, 255, 0.4); }
.mini-block.b-8 { background: linear-gradient(180deg, #FF77DD 0%, #FF33CC 100%); border: 1px solid #CC0099; box-shadow: 0 0 6px rgba(255, 51, 204, 0.4); }
.mini-block.b-9 { background: linear-gradient(180deg, #66FFDD 0%, #00FFCC 100%); border: 1px solid #00CC99; box-shadow: 0 0 6px rgba(0, 255, 204, 0.4); }

.tutorial-hint {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: rgba(0, 240, 255, 0.08);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.76rem;
    color: #a5d6ff;
    line-height: 1.4;
    margin-top: 8px;
}

.hint-icon {
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* Examples */
.tutorial-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.example-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 7px 10px;
}

.example-title {
    font-size: 0.72rem;
    color: var(--secondary-text-color);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.math-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.math-op {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #8b949e;
}

.math-res.success {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
    margin-left: 4px;
}

/* Bonus List */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bonus-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 10px;
}

.bonus-item p {
    margin: 4px 0 0 0;
    font-size: 0.76rem;
    color: #c9d1d9;
    line-height: 1.35;
}

.bonus-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.bonus-badge.cross { background: rgba(255, 234, 0, 0.2); color: #ffea00; border: 1px solid #ffea00; }
.bonus-badge.combo { background: rgba(255, 0, 127, 0.2); color: #ff007f; border: 1px solid #ff007f; }
.bonus-badge.big { background: rgba(0, 240, 255, 0.2); color: #00f0ff; border: 1px solid #00f0ff; }
.bonus-badge.clear { background: rgba(0, 255, 102, 0.2); color: #00ff66; border: 1px solid #00ff66; }

/* Controls Guide */
.ctrl-guides {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ctrl-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 7px 10px;
}

.ctrl-header {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.ctrl-body p {
    margin: 3px 0;
    font-size: 0.76rem;
    color: #c9d1d9;
    line-height: 1.4;
}

kbd {
    display: inline-block;
    padding: 1px 5px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 4px;
    color: var(--accent-color);
}

/* Tutorial Footer */
.tutorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

.tutorial-card button.tut-nav-btn {
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 16px;
    border: 1px solid var(--accent-color);
    background: rgba(0, 240, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    box-shadow: none;
    transform: none;
    transition: all 0.2s ease;
}

.tutorial-card button.tut-nav-btn:hover:not(:disabled) {
    background: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    transform: scale(1.05);
}

.tutorial-card button.tut-nav-btn:disabled {
    opacity: 0.25;
    cursor: default;
    border-color: #444;
    background: transparent;
}

.tutorial-dots {
    display: flex;
    gap: 6px;
}

.tut-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tut-dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 6px var(--accent-color);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .game-container {
        max-width: 480px;
    }
}