body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #004d40;
    background-image: radial-gradient(circle at center, #00695c 0%, #004d40 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    overflow-x: hidden;
}

.game-container {
    text-align: center;
    background: #00264d;
    padding: 15px;
    border-radius: 20px;
    border: 4px solid #ffdf00;
    width: 95%;
    max-width: 800px; /* Aumentado para PC */
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .game-container {
        max-width: 1000px;
    }
    .field {
        height: 500px !important;
    }
    .goal {
        height: 140px;
    }
    .ball {
        width: 35px;
        height: 35px;
    }
    .goalkeeper {
        transform: translate(-50%, -50%) scale(1.3);
    }
    .player {
        transform: translateX(-50%) scale(1.3);
    }
    h1 { font-size: 36px; }
}

h1 { font-size: 26px; margin: 5px 0 5px 0; color: #ffdf00; text-shadow: 2px 2px #000; font-weight: 900; }

.slogan-vibrante {
    font-size: 18px;
    color: #2ecc71;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px #000;
    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
    0%, 100% { color: #2ecc71; transform: scale(1); }
    50% { color: #ffdf00; transform: scale(1.1); }
}

.stats-panel {
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #2ecc71;
}

.mode-btn {
    width: 100%;
    margin-bottom: 8px;
    padding: 10px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: white;
    background: #2ecc71;
    text-transform: uppercase;
}

.vital-stats { display: flex; justify-content: space-around; margin-bottom: 8px; font-weight: bold; }
.crypto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 12px; text-align: left; opacity: 0.9; }

.crowd-container { height: 45px; display: flex; justify-content: center; gap: 12px; margin-bottom: 5px; }
.emoji-fan { font-size: 26px; transition: transform 0.2s; }
.emoji-fan.sway { animation: sway 2s infinite ease-in-out; }
.emoji-fan.jump { animation: jump 0.4s ease-in-out !important; }

@keyframes sway {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}
@keyframes jump {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.3); }
}

.scoreboard {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 900;
    border: 2px solid #ffdf00;
}

.field {
    background-color: #2e7d32;
    background-image: linear-gradient(rgba(255,255,255,0.1) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    height: 320px;
    position: relative;
    border: 3px solid white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.goal {
    width: 60%; /* Mais responsivo */
    height: 90px;
    border: 5px solid white;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.05);
}

.goalkeeper {
    position: absolute;
    top: 20%; /* Responsivo ao invés de fixo */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 70px;
    z-index: 10;
}
.gk-head { width: 18px; height: 18px; background: #ffe0bd; border-radius: 50%; margin: 0 auto; border: 2px solid #000; }
.gk-body { width: 24px; height: 34px; background: #3498db; margin: -2px auto 0; border: 2px solid #000; border-radius: 5px; position: relative; }
.gk-arm-l, .gk-arm-r { position: absolute; width: 24px; height: 8px; background: #ffe0bd; border: 2px solid #000; top: 18px; border-radius: 4px; }
.gk-arm-l { left: -16px; transform: rotate(20deg); }
.gk-arm-r { right: -16px; transform: rotate(-20deg); }

.player {
    position: absolute;
    bottom: 20px;
    left: 42%;
    transform: translateX(-50%);
    width: 50px;
    height: 90px;
    z-index: 20;
}
.player::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; background: #8d5524; border-radius: 50%; border: 2px solid black; }
.player::after { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30px; height: 40px; background: #f1c40f; border-radius: 6px; border: 2px solid black; }
.pl-legs { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); width: 30px; height: 25px; display: flex; justify-content: space-between; }
.pl-leg { width: 10px; height: 22px; background: #0000ff; border: 2px solid black; border-radius: 4px; }

.ball {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid black;
    z-index: 15;
    background-image: radial-gradient(circle at 30% 30%, white, #ccc);
}

.controls { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.controls button {
    padding: 15px 5px;
    font-size: 14px;
    font-weight: 900;
    background: #ffdf00;
    color: #004d40;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px #d4ac0d;
    text-transform: uppercase;
}
.controls button:active { transform: translateY(2px); box-shadow: 0 2px #d4ac0d; }

#message { height: 30px; font-size: 20px; font-weight: 900; margin: 10px 0; text-shadow: 1px 1px #000; }

.bonus-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(45deg, #00c853, #b2ff59);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px #1b5e20;
    animation: pulse 1.5s infinite;
}

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

.withdraw-section { margin-top: 10px; background: rgba(0,0,0,0.5); padding: 12px; border-radius: 10px; border: 1px solid #2ecc71; }
#withdraw-info { font-size: 12px; margin-bottom: 8px; color: #ffdf00; }
.withdraw-btn { width: 100%; padding: 8px; background: #2ecc71; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; }

.confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    z-index: 1000;
    pointer-events: none;
    animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(100vh) rotate(720deg); } }

.admin-panel { display: none; }
