/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --primary: #00d2ff;
    --primary-dim: #007acc;
    --danger: #ff0033;
    --danger-dim: #cc0000;
    --text-main: #e0e0e0;
    --text-dim: #aaaaaa;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --glow: 0 0 10px rgba(0, 210, 255, 0.5);
    --glow-danger: 0 0 10px rgba(255, 0, 51, 0.5);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 50%, #111 0%, #000 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--primary);
    text-shadow: var(--glow);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Card / Panel Styles */
.panel {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--primary-dim);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
    padding: 30px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: 0.3s;
    z-index: -1;
    transform: skewX(-15deg);
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #000;
    box-shadow: var(--glow);
}

.btn-danger {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-danger::before {
    background: var(--danger);
}

.btn-danger:hover {
    color: #fff;
    box-shadow: var(--glow-danger);
}

/* Login Form */
.login-form {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: var(--font-head);
    font-size: 0.9em;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 3px;
    color: #fff;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: var(--glow);
}

/* Dashboard Menu */
.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.dashboard-btn {
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    padding: 20px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Game Interface */
#game-ui {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#eye-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; 
    text-align: center;
    z-index: 10;
}

#eye-img {
    width: 100%;
    animation: pulse 2s infinite ease-in-out;
}

#eye-bubble {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    padding: 15px;
    margin-top: 20px;
    min-height: 50px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary);
}

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--primary)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px var(--primary)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--primary)); }
}

/* Player Stands */
.player-stand {
    position: absolute;
    bottom: 20%;
    width: 100px;
    text-align: center;
}

.player-img-container {
    position: relative;
    width: 100px;
    height: 150px;
}

.stand-base {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.player-avatar { /* The 3 Life / 2 Life / 1 Life image */
    position: absolute;
    bottom: 20px; 
    left: 0;
    width: 100%; 
}

.player-pp { /* Profile Pic overlay */
    position: absolute;
    top: 30%; /* Adjust based on stand geometry */
    left: 35%;
    width: 30%;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.player-name {
    margin-top: 5px;
    font-size: 0.8em;
    background: rgba(0,0,0,0.5);
    padding: 2px 5px;
}

/* Responsive Grid for players? Or absolute if fixed count */
.players-container {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 50px;
    width: 100%;
}

/* Target Reticle */
.target-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/Scope.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    animation: flash-red 0.5s infinite alternate;
}

@keyframes flash-red {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
