/* star/valorant/css/style.css */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0f1923;
    /* Valorant Dark Blue/Grey */
    font-family: 'Teko', sans-serif;
    color: #ece8e1;
}

#game-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    background: #1e282d;
    display: block;
    cursor: none;
    /* We use custom crosshair */
}

#hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.score-team {
    font-size: 32px;
    font-weight: 700;
    padding: 0 15px;
    background: rgba(15, 25, 35, 0.8);
    border-bottom: 4px solid #ff4655;
    min-width: 40px;
    text-align: center;
}

.score-team.defender {
    border-color: #00A2FF;
}

.timer {
    font-size: 40px;
    font-weight: 500;
    background: rgba(15, 25, 35, 0.8);
    padding: 0 20px;
}

.bottom-hud {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.health-container {
    background: rgba(15, 25, 35, 0.8);
    padding: 10px 30px;
    font-size: 48px;
    border-left: 5px solid #ece8e1;
}

.abilities {
    display: flex;
    gap: 15px;
}

.ability {
    width: 60px;
    height: 60px;
    background: rgba(15, 25, 35, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.2s;
}

.ability.active {
    border-color: #ff4655;
    color: #ff4655;
    background: rgba(255, 70, 85, 0.1);
}

.ammo-container {
    background: rgba(15, 25, 35, 0.8);
    padding: 10px 30px;
    font-size: 48px;
    text-align: right;
    border-right: 5px solid #ece8e1;
}

.weapon-name {
    font-size: 14px;
    opacity: 0.6;
}

#crosshair {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #00ff00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}

/* OVERLAYS */
#overlay,
#round-status {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.hidden {
    display: none !important;
}

.start-card {
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

.logo {
    font-size: 120px;
    margin: 0;
    line-height: 1;
    color: #ff4655;
    letter-spacing: -5px;
}

.preview {
    font-size: 100px;
    margin: 20px 0;
}

#start-btn {
    background: #ff4655;
    color: white;
    border: none;
    padding: 15px 60px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    text-transform: uppercase;
}

#start-btn:hover {
    background: #ece8e1;
    color: #0f1923;
}

.controls {
    margin-top: 40px;
    color: #8b978f;
    font-size: 18px;
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#round-status h1 {
    font-size: 100px;
    color: #ff4655;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 5px;
}