/* ===== BODY ===== */
body {
    background-image: url("./images/about3bg.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    margin: 0;
    font-family: 'Sora', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(0, 0, 0, 0.11); /* #0000001c equivalent */
    position: relative;
    backdrop-filter: blur(20px);
    padding: 5px 15px 2px 15px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff !important;
}

/* ===== BUY BUTTON ===== */
.btn-success1 {
    background-color: rgba(0, 255, 153, 0); /* transparent effect */
    border: 1px solid #bec041;
    border-radius: 15px;
    font-weight: 300;
    color: #bec041 !important;
    transition: all 0.3s ease;
}

.btn-success1:hover {
    background-color: rgba(0, 128, 0, 0.47);
    color: #ffffff !important;
}

/* ===== GAME CONTAINER ===== */
.game-container {
    width: 100%;
    max-width: 950px;
    height: 500px;
    background: #1a1a1a;
    border: 3px solid #00ffc4;
    border-radius: 10px;
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
}

/* ===== GAME BUTTONS ===== */
.game-buttons button {
    width: 150px;
    margin: 10px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.game-buttons button:hover {
    transform: scale(1.05);
}


.game-hud {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
}

.hud-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 16px;
    font-weight: 600;
    min-width: 70px;
}

/* Icons */
.hud-icon {
    font-size: 20px;
}

/* Hearts container - display hearts in a row, right to left */
#livesHUD {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    justify-content: flex-end;
}

/* Popups */
.hud-popup {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    font-size: 22px;
    font-weight: 700;
    pointer-events: none;
    transition: 0.3s ease;
}

.hud-popup.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.hud-popup.boost {
    background: rgba(0,255,120,0.5);
    border: 1px solid rgba(0,255,150,0.7);
}

.hud-popup.slow {
    background: rgba(0,170,255,0.5);
    border: 1px solid rgba(0,170,255,0.7);
}
 







.end-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.end-game-modal.show {
    opacity: 1;
    pointer-events: all;
}

.end-game-content {
    background: rgba(20, 20, 40, 0.95);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px 50px;
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 0 20px rgba(0,255,150,0.5);
}

.end-game-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.end-game-content p {
    font-size: 20px;
    margin: 8px 0;
}

.end-game-content button {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: #00ff78;
    color: black;
    cursor: pointer;
    transition: 0.2s ease;
}

.end-game-content button:hover {
    background: #00cc5c;
}
