/* ============================================================
   STYLE.CSS — Typing Adventure Game Styles
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    overflow: hidden;
    background: #0a0a1a;
    color: #fff;
    width: 100vw;
    height: 100vh;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

/* ---- Canvas ---- */
#gameCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* ---- Hidden Input ---- */
#typingInput {
    position: fixed;
    top: -100px;
    left: -100px;
    opacity: 0;
    width: 1px;
    height: 1px;
    border: none;
    outline: none;
}

/* ---- Screens ---- */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.4s ease-out;
}

.screen.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

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

@keyframes pulse {

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

    50% {
        transform: scale(1.08);
    }
}

@keyframes shake {

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

    10%,
    50%,
    90% {
        transform: translateX(-8px);
    }

    30%,
    70% {
        transform: translateX(8px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

@keyframes float {

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

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

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
}

/* ---- Title Screen ---- */
.title-content {
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

.title-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.title-logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f7d794, #f8b500, #ff6348);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1.1;
    letter-spacing: 2px;
}

.title-image {
    width: 6vh;
    height: 6vh;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: float 2s ease-in-out infinite;
}

.title-image:last-child {
    animation-delay: 0.5s;
}

.title-subtitle {
    font-size: 1.3rem;
    color: #aaa;
    margin-bottom: 20px;
}

.title-stats {
    margin: 15px auto;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: inline-block;
    font-size: 0.95rem;
    color: #ccc;
}

.title-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.title-hint {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #666;
    animation: pulse 2s infinite;
}

/* ---- Buttons ---- */
.btn {
    border: none;
    padding: 14px 36px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6348, #ff4757);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 99, 72, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.btn-shop {
    background: linear-gradient(135deg, #ffa502, #f7b731);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 165, 2, 0.4);
}

.btn-skin {
    background: linear-gradient(135deg, #8c7ae6, #a29bfe);
    color: white;
    box-shadow: 0 4px 15px rgba(140, 122, 230, 0.4);
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ---- HUD ---- */
#hud {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    pointer-events: none;
}

#hud.hidden {
    display: none;
}

.hud-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.hud-hp {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-label {
    font-size: 3.6rem;
}

.hp-bar-container {
    width: 480px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hp-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    border-radius: 21px;
    transition: width 0.3s ease;
    width: 100%;
}

.hp-text {
    font-size: 2.4rem;
    font-weight: 600;
    color: #ff6b81;
    min-width: 120px;
}

.hud-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hud-level {
    font-size: 3rem;
    font-weight: 700;
    color: #f7d794;
}

.hud-world {
    font-size: 2rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hud-gold {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 3.2rem;
    font-weight: 700;
    color: #f7d794;
}

.gold-icon {
    font-size: 3.6rem;
}

/* Combo */
.combo-display {
    position: fixed;
    top: 120px;
    right: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6348;
    text-shadow: 0 0 20px rgba(255, 99, 72, 0.5);
    animation: pulse 0.5s ease-in-out;
    z-index: 60;
    pointer-events: none;
}

.combo-display.hidden {
    display: none;
}

/* Encourage message */
.encourage-msg {
    position: fixed;
    top: 160px;
    right: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #2ed573;
    text-shadow: 0 0 20px rgba(46, 213, 115, 0.5);
    z-index: 55;
    pointer-events: none;
    animation: bounceIn 0.4s ease-out;
    opacity: 0.85;
}

.encourage-msg.hidden {
    display: none;
}

/* Shield indicator */
.shield-indicator {
    position: fixed;
    bottom: 180px;
    left: 200px;
    font-size: 6rem;
    z-index: 55;
    animation: float 1.5s ease-in-out infinite;
}

.shield-indicator.hidden {
    display: none;
}

/* ---- Shop Screen ---- */
.shop-content,
.skin-content {
    max-width: 700px;
    width: 90%;
    animation: slideUp 0.4s ease-out;
}

.shop-content h2,
.skin-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.shop-gold {
    text-align: center;
    font-size: 1.3rem;
    color: #f7d794;
    margin-bottom: 20px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 5px;
}

.shop-item {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.shop-item.maxed {
    border-color: rgba(46, 213, 115, 0.4);
    opacity: 0.7;
}

.shop-item-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.shop-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.shop-item-desc {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
}

.shop-item-level {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.level-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.level-dot.filled {
    background: #f7d794;
    border-color: #f8b500;
    box-shadow: 0 0 6px rgba(248, 181, 0, 0.5);
}

.shop-item-cost {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f7d794;
}

.shop-item-cost.affordable {
    color: #2ed573;
}

.shop-item-cost.too-expensive {
    color: #ff4757;
}

/* ---- Skin Selector ---- */
.skin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 5px;
}

.skin-card {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skin-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.skin-card.selected {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.skin-card.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.skin-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s;
}

.skin-card:hover .skin-image {
    transform: scale(1.1);
}

.skin-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.skin-cost {
    font-size: 0.85rem;
    color: #f7d794;
}

.skin-equipped {
    font-size: 0.8rem;
    color: #2ed573;
    font-weight: 600;
}

.skin-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 10px;
}

/* ---- Skin Purchase Confirmation ---- */
.skin-confirm-content {
    margin: 20px 0;
}

.skin-confirm-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skin-confirm-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    animation: float 2s ease-in-out infinite;
}

.skin-confirm-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.skin-confirm-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.skin-confirm-price.affordable {
    color: #2ed573;
}

.skin-confirm-price.too-expensive {
    color: #ff4757;
}

.skin-confirm-warning {
    font-size: 1rem;
    color: #ff4757;
    font-weight: 600;
    margin-top: 5px;
    animation: pulse 1s infinite;
}

.btn.disabled,
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ---- Level Intro ---- */
.level-intro-content {
    text-align: center;
    animation: bounceIn 0.6s ease-out;
}

.level-intro-world {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 8px;
}

.level-intro-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f7d794, #f8b500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.level-intro-boss {
    font-size: 1.3rem;
    color: #ff4757;
    animation: pulse 0.8s infinite;
    margin-bottom: 10px;
}

.level-intro-boss.hidden {
    display: none;
}

.level-intro-hint {
    color: #888;
    font-size: 0.95rem;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

/* ---- Level Complete ---- */
.level-complete-content,
.gameover-content,
.victory-content {
    text-align: center;
    animation: slideUp 0.5s ease-out;
    max-width: 500px;
    width: 90%;
}

.level-complete-content h2,
.gameover-content h2,
.victory-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.level-rewards {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 2;
}

.level-complete-buttons,
.gameover-buttons,
.victory-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

/* ---- Game Over ---- */
.gameover-stats,
.victory-stats {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    font-size: 1rem;
    line-height: 2;
}

.gameover-encourage {
    color: #f7d794;
    margin: 10px 0;
}

/* ---- Victory ---- */
.victory-content h2 {
    background: linear-gradient(135deg, #f7d794, #ff6348, #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    animation: pulse 1s infinite;
}

.victory-text {
    font-size: 1.1rem;
    color: #ccc;
    margin: 8px 0;
}

/* ---- Screen Shake ---- */
.screen-shake {
    animation: shake 0.4s ease-in-out;
}

/* ---- Mobile typing indicator ---- */
.mobile-type-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    color: #aaa;
    font-size: 0.9rem;
    z-index: 60;
    cursor: pointer;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .title-logo h1 {
        font-size: 2.2rem;
    }

    .title-emoji {
        font-size: 2rem;
    }

    .btn {
        min-width: 200px;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hp-bar-container {
        width: 100px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .skin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Menu Button ---- */
.btn-menu {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 15px;
    pointer-events: auto;
}

.btn-menu:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.btn-menu:active {
    transform: scale(0.95);
}

/* ---- Settings Overlay ---- */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    background: rgba(10, 10, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease-out;
}

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

.settings-panel {
    background: rgba(30, 30, 60, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px 50px;
    min-width: 360px;
    max-width: 480px;
    text-align: center;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.settings-panel h2 {
    font-size: 2rem;
    margin-bottom: 28px;
    color: #f7d794;
}

.settings-group {
    margin-bottom: 24px;
    text-align: left;
}

.settings-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d794, #f8b500);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(248, 183, 0, 0.5);
    transition: transform 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d794, #f8b500);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(248, 183, 0, 0.5);
}

.volume-label {
    font-size: 1rem;
    font-weight: 600;
    color: #f7d794;
    min-width: 48px;
    text-align: right;
}

.settings-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

/* ---- Difficulty Selector ---- */
.difficulty-selector {
    margin: 20px auto;
    text-align: center;
}

.difficulty-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 12px;
    display: block;
}

.difficulty-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.diff-btn {
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.diff-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.diff-btn.active {
    background: linear-gradient(135deg, #f8b500, #ff6348);
    border-color: #f8b500;
    color: #fff;
    box-shadow: 0 4px 15px rgba(248, 181, 0, 0.4);
}

/* ---- Reset Confirmation ---- */
.reset-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    background: rgba(10, 5, 5, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease-out;
}

.reset-confirm-overlay.hidden {
    display: none !important;
}

.reset-confirm-panel {
    background: rgba(50, 20, 20, 0.95);
    border: 2px solid rgba(255, 71, 87, 0.4);
    border-radius: 24px;
    padding: 40px 50px;
    min-width: 350px;
    max-width: 480px;
    text-align: center;
    animation: bounceIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(255, 71, 87, 0.2);
}

.reset-confirm-panel h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #ff4757;
}

.reset-warning {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.reset-detail {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reset-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-danger {
    background: linear-gradient(135deg, #666, #555);
    color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #555, #444);
    border-color: rgba(255, 71, 87, 0.6);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

.btn-danger-confirm {
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5);
    border: none;
    padding: 14px 36px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 180px;
}

.btn-danger-confirm:hover {
    background: linear-gradient(135deg, #e84343, #a93226);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}

.btn-danger-confirm:active {
    transform: translateY(0);
}

/* ---- Level Intro Difficulty ---- */
.level-intro-difficulty {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 4px 16px;
    border-radius: 8px;
    display: inline-block;
}

.level-intro-difficulty.diff-easy {
    color: #2ed573;
    background: rgba(46, 213, 115, 0.15);
}

.level-intro-difficulty.diff-normal {
    color: #f7d794;
    background: rgba(247, 215, 148, 0.15);
}

.level-intro-difficulty.diff-hard {
    color: #ff6348;
    background: rgba(255, 99, 72, 0.15);
}

.level-intro-difficulty.diff-extreme {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.15);
    animation: pulse 0.8s infinite;
}