.style-css-debug {
    --debug: "style.css active";
}
:root {
    --primary-color: #00F5FF;
    --secondary-color: #4CAF50;
    --accent-color: #FFD700;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-dark: #020617;
    --bg-light: #0F172A;
    --bg-gradient: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition-normal: 0.3s;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary); 
    min-height: 100vh;
    padding: 20px;
}
.game-button {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
    transition: all var(--transition-normal);
}
.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.3);
    background: var(--primary-color);
    opacity: 0.9;
}
.game-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 245, 255, 0.2);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    text-align: center;
}
.score-popup {
    color: #2ecc71;
    font-size: 24px;
    font-weight: bold;
    z-index: 1000;
    pointer-events: none;
}
@keyframes scorePopup {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}
.timers-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.word-timer {
    transform: scale(0.8); 
}
.word-timer .timer-label {
    font-size: 0.8em;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
        }
        body {
            min-height: 100vh;
            background: #020617;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: linear-gradient(45deg, #020617, #0F172A);
        }
        .container {
            width: 100%;
            max-width: 1200px; 
            padding: 40px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 24px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 40px rgba(0, 245, 255, 0.1);
            text-align: center;
        }
        .title {
            text-align: center;
            color: #fff;
            font-size: 3.5rem;
            margin-bottom: 40px;
            font-weight: 800;
            text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
            letter-spacing: 2px;
        }
        .modes {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            gap: 25px; 
        }
        .mode-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }
        .mode-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(0, 245, 255, 0.1), transparent);
            transform: translateX(-100%);
            transition: 0.5s;
        }
        .mode-card:hover::before {
            transform: translateX(100%);
        }
        .mode-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
            border-color: rgba(0, 245, 255, 0.3);
        }
        .mode-card h2 {
            color: #00F5FF;
            font-size: 1.8rem;
            margin-bottom: 15px;
            font-weight: 600;
        }
        .mode-card p {
            color: #94A3B8;
            font-size: 1rem;
            line-height: 1.6;
        }
        .mode-card.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .mode-card.disabled:hover {
            transform: none;
            box-shadow: none;
            border-color: rgba(255, 255, 255, 0.1);
        }
        @media (max-width: 768px) {
            .container {
                padding: 20px;
            }
            .title {
                font-size: 2.5rem;
            }
            .mode-card h2 {
                font-size: 1.5rem;
            }
        }
        .points-animation {
    position: fixed;
    color: #00F5FF;
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    z-index: 1000;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    animation: floatUp 1s ease-out forwards;
}
@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}
.card {
    position: relative;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.card-count {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none; 
}
.card.used {
    opacity: 0.7;
}
.bonus-cards-section {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.bonus-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 160px;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bonus-cards-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    margin: 20px auto;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 40vh;
    max-width: 100%;
    overflow-y: auto;
}
.bonus-card:hover {
    transform: translateY(-5px) rotateX(10deg) rotateY(5deg);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
    border-color: var(--neon-blue);
}
.bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}
.bonus-card:hover::before {
    opacity: 1;
}
.bonus-card.selected {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}
.bonus-card.selected {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}
.bonus-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    text-shadow: var(--neon-shadow-blue);
}
.bonus-card-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.9rem;
}
.bonus-card-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}
.bonus-start-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}
.bonus-start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.3);
}
.bonus-start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}
@keyframes cardSelect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.bonus-card.selected {
    animation: cardSelect 0.3s ease;
}
@media (max-width: 768px) {
    .bonus-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .bonus-card-icon {
        font-size: 24px;
    }
    .bonus-card-name {
        font-size: 12px;
    }
    .bonus-card-description {
        font-size: 10px;
    }
    .mode-info {
        position: fixed;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: #00E1B9;
        padding: 15px 20px;
        border-radius: 10px;
        z-index: 1000;
        border: 2px solid #00E1B9;
        box-shadow: 0 0 10px rgba(0, 225, 185, 0.5);
        text-shadow: 0 0 10px rgba(0, 225, 185, 0.5);
        font-weight: bold;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }
    .mode-info:hover {
        box-shadow: 0 0 20px rgba(0, 225, 185, 0.8);
        text-shadow: 0 0 15px rgba(0, 225, 185, 0.8);
        transform: scale(1.05);
    }
    .mode-name {
        font-weight: bold;
        font-size: 1.2em;
        text-transform: uppercase;
        color: #00F5FF;
        text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
        margin-bottom: 5px;
    }
    .mode-features {
        font-size: 0.9em;
        opacity: 0.9;
        margin-top: 5px;
        color: #94A3B8;
    }
}
@media (max-width: 576px) {
    .container {
        padding: 15px;
    }
    .title {
        font-size: 2rem;
    }
    .modes {
        grid-template-columns: 1fr;
    }
    .mode-card {
        padding: 20px;
    }
    .mode-card h2 {
        font-size: 1.3rem;
    }
    .mode-card p {
        font-size: 0.9rem;
    }
}
html, body {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}
.container, .game-container {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    box-sizing: border-box;
}