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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #302b63 75%, #0f0c29 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    padding: 10px;
    color: white;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(245, 87, 108, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.game-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 
        0 0 10px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(118, 75, 162, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.balance {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.4em;
    font-weight: bold;
    box-shadow: 
        0 8px 20px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(118, 75, 162, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.balance::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.balance-amount {
    color: #FFD700;
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Ad Slots */
.ad-slot {
    position: fixed;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.95) 100%);
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 15px;
    padding: 15px;
    z-index: 1000;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    width: 200px;
    min-height: 150px;
}

.ad-slot:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(102, 126, 234, 0.5);
    border-color: rgba(118, 75, 162, 0.8);
}

.ad-top-left {
    top: 10px;
    left: 10px;
}

.ad-top-right {
    top: 10px;
    right: 10px;
}

.ad-bottom-left {
    bottom: 10px;
    left: 10px;
}

.ad-bottom-right {
    bottom: 10px;
    right: 10px;
    min-height: 200px;
}

/* AdSense ad container styling */
.ad-slot ins.adsbygoogle {
    display: block;
    width: 100%;
    min-height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

/* Fallback for when ads don't load */
.ad-slot:empty::before {
    content: '';
    display: block;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 10px;
}

.ad-content {
    text-align: center;
}

.earn-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.earn-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.earn-btn:hover::before {
    width: 300px;
    height: 300px;
}

.earn-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

.earn-btn:active {
    transform: scale(0.98);
}

.earn-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Game Area */
.game-area {
    position: relative;
    width: 100%;
    min-height: 900px;
    height: 900px;
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.9) 0%, rgba(50, 130, 184, 0.9) 100%);
    border-radius: 25px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 100px rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
    pointer-events: none;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Players */
.player {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 15px;
    min-width: 200px;
    max-width: 250px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    overflow: hidden;
}

.player:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(102, 126, 234, 0.3);
}

.player-you {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 30px rgba(118, 75, 162, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: playerGlow 2s ease-in-out infinite;
    z-index: 10;
    max-height: 180px;
}

@keyframes playerGlow {
    0%, 100% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 30px rgba(118, 75, 162, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.7), 0 0 40px rgba(118, 75, 162, 0.6); }
}

.npc-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.npc-2 {
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
}

.npc-3 {
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
}

.player-info {
    text-align: center;
    margin-bottom: 15px;
}

.player-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.player-balance {
    color: #FFD700;
    font-size: 1.1em;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: 600;
}

.player-status {
    font-size: 0.95em;
    color: #cbd5e0;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    font-weight: 500;
}

.player-status.action-raise {
    color: #f59e0b;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.player-status.action-call {
    color: #60a5fa;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    transform: scale(1.1);
}

.player-status.action-fold {
    color: #ef4444;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.player-status.action-check {
    color: #4ade80;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.player-status.action-allin {
    color: #fbbf24;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    animation: allinPulse 1s ease-in-out;
}

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

/* Action Message */
.action-message {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.action-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Chip Animation */
#chipAnimationContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.chip-animation {
    position: absolute;
    font-size: 2em;
    animation: chipFly 1s ease-out forwards;
    pointer-events: none;
}

@keyframes chipFly {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5)) scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(0.8) rotate(360deg);
        opacity: 0;
    }
}

/* Pot Chips */
.pot-chips {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-top: 6px;
    flex-wrap: wrap;
    max-height: 25px;
    overflow: hidden;
}

.pot-chip {
    font-size: 1em;
    animation: chipAppear 0.3s ease-out;
}

@keyframes chipAppear {
    from {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.player-cards {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.card {
    width: 55px;
    height: 78px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px;
    font-weight: bold;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(102, 126, 234, 0.3);
}

.card.red {
    color: #dc2626;
}

.card.black {
    color: #1f2937;
}

.card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: cardBackGradient 3s ease infinite;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes cardBackGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-rank {
    font-size: 1.2em;
    font-weight: 900;
    line-height: 1;
}

.card-suit {
    font-size: 1.4em;
    text-align: center;
    line-height: 1;
}

.card-center {
    font-size: 1.8em;
    text-align: center;
    line-height: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Community Cards */
.community-cards {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 480px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 5;
}

/* Pot */
.pot {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 193, 7, 0.95) 100%);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 12px 20px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    animation: potPulse 2s ease-in-out infinite;
    z-index: 15;
    min-width: 120px;
    max-width: 180px;
}

@keyframes potPulse {
    0%, 100% { 
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.6);
        transform: scale(1.03);
    }
}

.pot-label {
    font-size: 0.75em;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pot-amount {
    font-size: 1.6em;
    font-weight: bold;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    line-height: 1.2;
}

/* Game Controls */
.game-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.action-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: white;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-check {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.btn-call {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.btn-raise {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-fold {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.action-btn:active:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.bet-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.bet-controls input {
    padding: 12px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1em;
    width: 120px;
    font-weight: bold;
    transition: all 0.3s;
}

.bet-controls input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.bet-controls input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-bet {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Game Message */
.game-message {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 1.3em;
    font-weight: bold;
    display: none;
    z-index: 200;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-message.show {
    display: block;
    animation: messageSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes messageSlide {
    from { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-30px) scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) scale(1); 
    }
}

.game-message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.95) 100%);
    border-color: rgba(34, 197, 94, 0.8);
}

.game-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    border-color: rgba(239, 68, 68, 0.8);
}

.game-message.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    border-color: rgba(59, 130, 246, 0.8);
}

/* New Game Button */
.new-game-section {
    text-align: center;
    margin: 25px 0;
}

.new-game-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: buttonGradient 3s ease infinite;
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 20px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(118, 75, 162, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

@keyframes buttonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.new-game-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.new-game-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.6),
        0 0 50px rgba(118, 75, 162, 0.5);
}

.new-game-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive */
@media (max-width: 1200px) {
    .ad-top-left, .ad-top-right, .ad-bottom-left {
        display: none;
    }
    
    .ad-bottom-right {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto;
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .game-header h1 {
        font-size: 2em;
    }
    
    .ad-top, .ad-bottom {
        position: relative;
        transform: none;
        margin: 10px auto;
        width: 90%;
    }
    
    .npc-1, .npc-2, .npc-3 {
        position: relative;
        transform: none;
        margin: 10px;
        display: inline-block;
    }
    
    .player-you {
        position: relative;
        transform: none;
        margin: 20px auto;
    }
    
    .community-cards {
        position: relative;
        transform: none;
        margin: 20px auto;
    }
    
    .pot {
        position: relative;
        transform: none;
        margin: 20px auto;
        display: inline-block;
    }
    
    .game-controls {
        position: relative;
        transform: none;
        margin: 20px auto;
    }
}
