@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

:root {
    --bg-dark: #0f0c10;
    --bg-panel: #1a161b;
    --gold-main: #FFD700;
    --gold-dark: #B8860B;
    --gold-glow: rgba(255, 215, 0, 0.6);
    --text-white: #ffffff;
    --accent-red: #ff4757;
    --neon-blue: #2ed573;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at center, #2c242e 0%, #0f0c10 100%);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background: rgba(15, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 10;
}

.logo img { height: 45px; }

.main-site-btn {
    text-decoration: none;
    color: var(--gold-main);
    border: 1px solid var(--gold-main);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-site-btn:hover {
    background: var(--gold-main);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Game Area */
.game-wrapper {
    margin-top: 100px; /* Space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding-bottom: 50px;
}

.game-header { text-align: center; margin-bottom: 30px; }

.game-header h1 {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.subtitle {
    font-size: 1.1rem;
    color: #aaa;
    margin-top: 10px;
    max-width: 600px;
    line-height: 1.5;
}

.subtitle strong { color: var(--gold-main); }

/* Canvas Container with Glow */
.canvas-container {
    position: relative;
    padding: 10px;
    background: #111;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.9);
    border: 1px solid #333;
}

canvas {
    background: linear-gradient(180deg, #1a161b 0%, #0d0a0d 100%);
    border-radius: 12px;
    display: block;
    border-bottom: 4px solid var(--gold-dark);
}

/* Button Styling */
.controls { margin-top: 30px; }

#dropBtn {
    position: relative;
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    border: none;
    padding: 20px 80px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow);
}

#dropBtn:active { transform: scale(0.98); }
#dropBtn:disabled { filter: grayscale(1); cursor: not-allowed; transform: none; }

.btn-text {
    font-family: 'Montserrat', sans-serif;
    color: #2c242e;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Status & Hidden Elements */
.status-bar {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 8px 20px;
    border-radius: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px; height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--neon-blue);
}

.hidden-seo { display: none; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(135deg, #2c242e, #000);
    margin: 10% auto;
    padding: 50px;
    border: 2px solid var(--gold-main);
    width: 90%; max-width: 500px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 80px rgba(233, 177, 49, 0.4);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.trophy-icon { font-size: 4rem; margin-bottom: 20px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.modal h2 { color: var(--gold-main); font-size: 2.5rem; margin: 0 0 10px; text-transform: uppercase; }
.modal p { color: #ddd; font-size: 1.1rem; margin-bottom: 30px; }
.close { position: absolute; right: 20px; top: 15px; font-size: 30px; color: #666; cursor: pointer; }
.close:hover { color: #fff; }

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.whatsapp-btn:hover { background: #128C7E; transform: translateY(-2px); }