/* FOOTBALL STADIUM / 3D JUMBOTRON STYLE */

/* BODY → FOOTBALL FIELD */
body{
    margin: 0;
    padding: 0;
    background-image: url('foot.jpg'); /* fixed syntax */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    font-family: "Courier New", monospace;
    text-align: center;
}

/* MAIN GAME BOX → STADIUM SCREEN STYLE */
#game{
    position: relative;
    max-width: 750px;
    margin: 80px auto;
    padding: 60px 50px;

    /* SCREEN (glass look) */
    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.95),
        rgba(0,0,0,0.95)
    );

    border-radius: 20px;

    /* THICK FRAME */
    border: 12px solid #111;

    /* OUTER METAL FRAME GLOW */
    box-shadow:
        0 0 25px #00ccff,
        0 0 60px #0044ff,
        0 20px 40px rgba(0,0,0,0.9),
        inset 0 0 40px rgba(0,0,0,0.8);

    /* 3D ANGLE */
    transform: perspective(1200px) rotateX(6deg) rotateY(2deg);
    transform-style: preserve-3d;

    overflow: hidden;
}
/* GLOWING HEADER BAR (optional scoreboard top) */
/* ======================== */
/* 3D JUMBOTRON ENHANCEMENTS */
/* ======================== */

#game {
    /* keep your existing jumbotron styles */
    position: relative;
    max-width: 700px;
    margin: 40px auto;
    padding: 40px 30px 30px 30px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    border-radius: 25px;
    border: 8px solid #222;
    overflow: hidden;

    /* 3D tilt */
    transform: perspective(1200px) rotateX(6deg) rotateY(2deg);
    transform-style: preserve-3d;

    overflow: hidden;

    /* neon glow pulse */
    box-shadow:
        0 0 20px #00ccff,
        0 0 50px #0044ff,
        inset 0 0 40px rgba(0,0,0,0.8);
    animation: pulseGlow 3s infinite;
    transition: transform 0.3s ease-in-out;
}

/* slight tilt on hover */
#game:hover{
    transform: perspective(1200px) rotateX(3deg) rotateY(0deg) scale(1.02);
    transition: 0.4s;
}

/* animated scanlines */
#game::after {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.03) 2px,
        transparent 2px,
        transparent 4px
    );
    pointer-events:none;
    animation: scanlineMove 1s linear infinite;
    z-index: 2;
}

/* pulse glow animation */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px #00ccff, 0 0 50px #0044ff, inset 0 0 40px rgba(0,0,0,0.8); }
    50% { box-shadow: 0 0 30px #00ffcc, 0 0 60px #00ccff, inset 0 0 45px rgba(0,0,0,0.85); }
    100% { box-shadow: 0 0 20px #00ccff, 0 0 50px #0044ff, inset 0 0 40px rgba(0,0,0,0.8); }
}

/* scanline animation */
@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* LED-style glowing text for title and word display */
h1, #wordDisplay {
    text-shadow:
        0 0 5px #00ffcc,
        0 0 15px #00ccff,
        0 0 25px #0099ff,
        0 0 35px #00ffcc;
}

/* optional: subtle glow on input and buttons */
#letterInput, button {
    box-shadow: 0 0 8px #00ccff;
    transition: 0.2s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00ffcc, 0 0 25px #0044ff;
}

/* WORD DISPLAY → LED STYLE */
#wordDisplay{
    font-size:42px;
    letter-spacing:12px;
    margin:20px 0;
    color:#00ffcc;
    text-shadow:
        0 0 5px #00ffcc,
        0 0 15px #00ccff,
        0 0 25px #0099ff;
}

/* INPUT */
#letterInput{
    width:70px;
    font-size:26px;
    text-align:center;
    border-radius:8px;
    border:2px solid white;
    background:#0b6623;
    color:white;
}

/* BUTTONS */
button{
    font-size:16px;
    padding:10px 18px;
    margin-left:8px;
    border-radius:8px;
    border:2px solid white;
    background:#111;
    color:white;
    transition:0.2s;
}

button:hover{
    transform:scale(1.05);
    box-shadow:0 0 10px white;
}

/* TEXT INFO */
#guessedLetters,
#guessesLeft{
    font-size:20px;
    margin-top:10px;
}

/* MESSAGE → scoreboard alert */
#message{
    font-size:26px;
    font-weight:bold;
    margin-top:15px;
    text-shadow:0 0 10px white;
}

.win{
    color:#00ff88;
}

.lose{
    color:#ff4444;
}

/* RESTART BUTTON */
.btn-danger{
    margin-top:20px;
    font-size:18px;
}

/* ======================== */
/* VIDEO GAME HEART HEALTH  */
/* ======================== */
#healthContainer{
    position: relative;
    width: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.heart{
    width: 35px;
    height: 35px;
    background-image: url('heart.png'); /* Your heart image */
    background-size: cover;
    background-position: center;
    transition: transform 0.3s, filter 0.3s;
}

.heart.empty{
    filter: grayscale(100%) brightness(50%);
}

/* DIFFICULTY BUTTONS */
.difficulty-btn {
    width: 100px;          /* same width for all buttons */
    display: inline-block;  /* line up properly */
    margin: 0 5px;          /* spacing between buttons */
    vertical-align: middle; /* align with text baseline */
}