#game-area {
    display: none;
}

#hit-btn,
#stand-btn,
#reset-btn {
    display: none;
}
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at center, #0b3d2e, #021a12);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    height: 100vh;
    width: 100%;
    padding: 0;
    
}

/* ===== 3 COLUMN LAYOUT ===== */

.casino-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    height: 100vh;
}

/* LEFT COLUMN */
.left-column {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CENTER COLUMN */
.center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #063d2a, #021a12);
    border-left: 2px solid rgba(255,215,0,0.2);
    border-right: 2px solid rgba(255,215,0,0.2);
}

/* RIGHT COLUMN */
.right-column {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.right-column input,
.right-column button {
    width: 180px;
}



h1 {
    color: gold;
    font-size: 60px;
    text-shadow: 
        0 0 10px gold,
        0 0 20px gold,
        0 0 40px orange;
    margin-bottom: 30px;
    margin: 0;
}


.section {
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 15px;
    /* margin: 20px auto; */
    margin: 20px 0; 
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


#cards-el, #dealer-cards-el {
    font-size: 22px;
}

#sum-el, #dealer-sum-el {
    font-size: 20px;
}

input {
    padding: 8px;
    width: 150px;
    border-radius: 6px;
    border: none;
    margin: 10px;
    text-align: center;
}

button {
    width: 120px;
    padding: 8px;
    margin: 8px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    background: goldenrod;
    color: #016f32;
    transition: 0.3s;
}

button:hover {
    background: #ffd700;
    transform: scale(1.05);
}

#player-el {
    margin-top: 15px;
    font-size: 20px;
}
.card-img {
    width: 90px;
    margin: 6px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.card-img:hover {
    transform: translateY(-12px);
}

/* ===== WIN GLOW ===== */
.win-glow {
    animation: glow 1s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px gold; }
    to { box-shadow: 0 0 40px gold; }
}

/* ===== CHIP BURST ===== */
.chip {
    position: fixed;
    width: 20px;
    height: 20px;
    background: gold;
    border-radius: 50%;
    bottom: 50%;
    left: 50%;
    animation: burst 1s ease-out forwards;
}

@keyframes burst {
    0% { transform: translate(0,0); opacity: 1; }
    100% { 
        transform: translate(
            calc(-200px + 400px * var(--x)), 
            calc(-200px + 400px * var(--y))
        );
        opacity: 0;
    }
}

/* ================= ENTRY SCREEN ================= */

#entry-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #06281d, #000);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.entry-box {
    text-align: center;
    padding: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.entry-title {
    font-size: 70px;
    color: gold;
    text-shadow: 0 0 40px gold;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.entry-btn {
    padding: 15px 100px;
    font-size: 20px;
    background: linear-gradient(45deg, gold, orange);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center; /* Centers horizontally */
  
}

.entry-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px gold;
}

.fade-out {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


* {
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .casino-layout {
        display: flex;
        flex-direction: column;
    }

    .left-column,
    .right-column {
        padding: 15px;
        align-items: center;
        text-align: center;
    }

    .center-column {
        border: none;
    }

    .card-img {
        width: 55px;
    }

    .right-column input,
    .right-column button {
        width: 90%;
        max-width: 300px;
    }
}
