/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(8, 8, 8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.1); /* prevents blur edges */
    z-index: -1;
}
.container {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* ===== Headings ===== */
h1 {
    color: #046eb5;
    font-size: 3rem;
    margin: 5px 0 20px 0;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(2, 33, 160, 0.6);
}

/* ===== Emoji Buttons ===== */
.emoji-moves {
    height: 70px;
    width: 70px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.emoji-moves:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px white);
}

.display-emoji {
    height: 45px;
    width: 45px;
    background-color: white;
    padding: 6px;
    border-radius: 10px;
    margin: 0 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* ===== Move Buttons Container ===== */
.moves {
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

/* ===== General Buttons ===== */
.btn-moves {
    border: 2px solid rgb(109, 107, 107);
    border-radius: 50%;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-moves:hover {
    transform: scale(1.2);
    background-color: rgba(255,255,255,0.2);
}

/* ===== Special Buttons ===== */
.reset-btn, .auto-play-btn {
    border: none;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    color: rgb(255, 179, 0);
}

.reset-btn {
    background: linear-gradient(to right, #2575ed, #4414f2);
}

.reset-btn:hover {
    background: linear-gradient(to right, #4414f2, #2575ed);
}

.auto-play-btn {
    background: linear-gradient(to right, #014448, #79d8f2);
}

.auto-play-btn:hover {
    background: linear-gradient(to right, #79d8f2, #014448);
}

/* ===== Result & Scoreboard ===== */
.result {
    text-align: center;
    font-size: 2rem;
    font-family: 'Cursive', sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.score-board {
    background-color:#eee;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== Reset Confirmation ===== */
.js-reset-confirm {
    text-align: center;
    width: 90%;
    max-width: 350px;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 8px;
}

.js-reset-confirm-yes,
.js-reset-confirm-no {
    border: none;
    margin: 5px;
    padding: 6px 12px;
    background-color: white;
    color: black;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.js-reset-confirm-yes:hover,
.js-reset-confirm-no:hover {
    transform: scale(1.1);
    background-color: #eee;
}


/* ===== Footer ===== */
.footer {
    width: 100%;
    padding: 15px;
    text-align: center;
    background: rgba(239, 202, 16, 0.752);
    border-top: 1px solid rgba(231, 161, 161, 0.15);
    /* position: relative; */
    bottom: 0;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: bold;
    color: #ffffff; 
}

.footer-content span
{
    color: rgb(1, 102, 209);
}

.footer-content a {
    font-size: 200;
    color: #0225a4;
    font-weight: 750;
    text-decoration: none;
}

.footer-content a:hover {
    color:#0f79d5;
}

.footer-social a {
    font-size: 22px;
    margin-left: 8px;
    color: #ffffff; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a i {
    color: #0225a4;
}

.footer-social a:hover i {
    color: #0f79d5;
}






/* ===== Responsive Adjustments ===== */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    .emoji-moves {
        height: 60px;
        width: 60px;
    }
    .display-emoji {
        height: 35px;
        width: 35px;
        padding: 4px;
    }
    .btn-moves {
        padding: 4px;
    }
    .reset-btn, .auto-play-btn {
        font-size: 16px;
        padding: 8px 12px;
    }
    .footer-content {
        flex-direction: column;
        gap: 6px;
    }
    .footer-social a {
        margin-left: 4px;
        font-size: 20px;
    }
}
