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

body {
    font-family: 'Arial', sans-serif;
    background: #2c3e50;
    overflow: hidden;
}

#game-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#hud {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 4px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    z-index: 100;
    height: 32px;
    font-size: 12px;
}

#player-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

#player-name {
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#player-level, #player-score, #pokedex-count {
    font-size: 11px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#hud-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

#pokemon-team {
    display: flex;
    align-items: center;
}

#pokedex-btn, #world-switch-btn, #level-select-btn {
    padding: 4px 8px;
    font-size: 11px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 5px;
}

#pokedex-btn:hover, #world-switch-btn:hover, #level-select-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: none;
}

#level-select-btn {
    background: rgba(156, 39, 176, 0.3);
    border-color: rgba(156, 39, 176, 0.5);
}

#level-select-btn:hover {
    background: rgba(156, 39, 176, 0.5);
}

#world-switch-btn {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

#world-switch-btn:hover {
    background: rgba(76, 175, 80, 0.5);
}

#active-pokemon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-hp-bar {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.mini-hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71);
    width: 100%;
    transition: width 0.3s ease;
}

.screen {
    display: none;
    flex: 1;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

#world-screen {
    background: #34495e;
    position: relative;
    width: 100%;
    height: 100%;
}

#game-canvas {
    width: 100%;
    height: 100%;
    background: #27ae60;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    display: block;
    cursor: default;
    user-select: none;
}

#controls-hint {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 1.1em;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 20px;
}

#battle-screen {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    padding: 20px;
    justify-content: space-between;
}

#pokemon-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    height: 200px;
}

#wild-pokemon, #player-pokemon {
    text-align: center;
    flex: 1;
    color: white;
}

#wild-pokemon-sprite, #player-pokemon-sprite {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border-radius: 10px;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-bar {
    width: 150px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
    margin: 10px auto;
    overflow: hidden;
}

.hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71);
    transition: width 0.5s ease;
}

#math-problem {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

#problem-text {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
}

#answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.answer-btn {
    padding: 20px;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #3498db;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.answer-btn::after {
    content: '🔊';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 0.6em;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.answer-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.answer-btn:hover::after {
    opacity: 0.8;
}

.answer-btn.correct {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.answer-btn.incorrect {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

#battle-log {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
    min-height: 60px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

#run-button {
    align-self: flex-end;
    padding: 10px 20px;
    font-size: 1em;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#run-button:hover {
    background: #c0392b;
}

#victory-screen {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#victory-screen h2 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

button {
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: #3498db;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    #hud {
        height: auto;
        padding: 6px 8px;
    }

    #player-info {
        gap: 8px;
    }

    #hud-right {
        gap: 6px;
    }

    #pokedex-btn {
        font-size: 10px;
        padding: 3px 6px;
    }
}
#p
okedex-screen {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    overflow-y: auto;
}

#pokedex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

#pokedex-header h2 {
    margin: 0;
    font-size: 2em;
}

#close-pokedex {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-pokedex:hover {
    background: rgba(255,255,255,0.3);
}

#pokedex-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

#pokedex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.pokedex-entry {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.pokedex-entry:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.pokedex-entry.caught {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
}

.pokedex-entry img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    margin-bottom: 5px;
}

.pokedex-entry .pokemon-name {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 3px;
}

.pokedex-entry .pokemon-id {
    font-size: 10px;
    opacity: 0.8;
}

.pokedex-entry .pokemon-type {
    font-size: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 2px 8px;
    margin-top: 5px;
    display: inline-block;
}

.pokedex-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.8);
}

.empty-pokeball {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.pokedex-empty h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.pokedex-empty p {
    margin: 0;
    font-size: 1em;
    opacity: 0.8;
}/* Build
ing Interior Styles */
.building-interior {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.building-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.building-header h2 {
    margin: 0;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.exit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.exit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.interior-content {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* House Interior */
.house-interior {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.room-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.furniture {
    font-size: 3em;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.furniture:hover {
    transform: scale(1.1);
}

.npc-area {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.npc {
    font-size: 4em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.dialogue-box {
    flex: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #f39c12;
}

.dialogue-box p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.house-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Shop Interior */
.shop-interior {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.shopkeeper-area {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.item-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.item-category h3 {
    margin-top: 0;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.price {
    color: #f1c40f;
    font-weight: bold;
}

.player-money {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Pokemon Center Interior */
.pokecenter-interior {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.nurse-area {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.nurse {
    font-size: 4em;
}

.healing-station {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.pokeball-slots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.pokeball {
    font-size: 3em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.heal-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.heal-btn:hover {
    background: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.center-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.service-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.center-info {
    background: rgba(52, 152, 219, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #3498db;
}

/* Gym Interior */
.gym-interior {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.gym-leader-area {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.gym-leader {
    font-size: 5em;
}

.leader-info h3 {
    margin: 0 0 10px 0;
    font-size: 2em;
    color: #f1c40f;
}

.badge-name {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.1em;
}

.gym-challenge {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.challenge-description h4 {
    color: #f1c40f;
    margin-bottom: 15px;
}

.challenge-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
}

.challenge-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.gym-trainers {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.trainer-list {
    display: grid;
    gap: 10px;
}

.trainer {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trainer:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

/* Skyscraper Interior */
.skyscraper-interior {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.elevator-area {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.floor-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.floor-btn {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.floor-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#floor-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    min-height: 200px;
}

.lobby, .research-floor, .trading-floor, .executive-suite, .observatory {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lobby-info {
    text-align: center;
    background: rgba(52, 152, 219, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #3498db;
}

/* Message Overlay */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.message-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: messageAppear 0.3s ease;
}

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

.message-box p {
    margin: 0 0 20px 0;
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.4;
}

.message-box button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.message-box button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .building-interior {
        padding: 15px;
    }

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

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

    .center-services {
        grid-template-columns: 1fr;
    }

    .floor-buttons {
        grid-template-columns: 1fr;
    }

    .npc-area, .shopkeeper-area, .nurse-area, .gym-leader-area {
        flex-direction: column;
        text-align: center;
    }

    .npc {
        font-size: 3em;
    }

    .gym-leader {
        font-size: 4em;
    }
}

/* Level Selection Screen */
#level-select-screen {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    padding: 20px;
    overflow-y: auto;
}

#level-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

#level-select-header h2 {
    margin: 0;
    font-size: 2em;
}

#close-level-select {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-level-select:hover {
    background: rgba(255,255,255,0.3);
}

#current-level-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

#level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.level-card {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.level-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.level-card.unlocked {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
}

.level-card.current {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.level-card.locked {
    opacity: 0.5;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.level-card.locked:hover {
    transform: none;
    box-shadow: none;
}

.level-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.level-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.level-subtitle {
    font-size: 1.1em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}

.level-description {
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.4;
}

.level-progress {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9em;
    color: rgba(255,255,255,0.9);
}

.level-select-button {
    background: #2196f3;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.level-select-button:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.level-select-button.current {
    background: #ffc107;
    color: #333;
}

.level-select-button.current:hover {
    background: #ffb300;
}

.level-select-button:disabled {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    cursor: not-allowed;
    transform: none;
}

.level-lock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    #level-grid {
        grid-template-columns: 1fr;
    }

    #current-level-info {
        flex-direction: column;
        gap: 10px;
    }

    .level-card {
        padding: 15px;
    }

    .level-icon {
        font-size: 2.5em;
    }
}