/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0a0a0a;
    color: #c0c0c0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(circle at 20% 30%, #1a1a1a 0%, #0a0a0a 80%);
}
.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0,255,204,0.3);
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
    -webkit-tap-highlight-color: transparent;
}
.logo:hover,
.logo:focus-visible {
    text-shadow: 0 0 30px rgba(0,255,204,0.6), 0 0 60px rgba(0,255,204,0.3);
    transform: translateY(-1px);
}
.logo:active {
    transform: translateY(0);
    opacity: 0.85;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    background: radial-gradient(circle at 35% 30%, #1a2a2a, #0a0a0a 70%);
    border: 1px solid rgba(0,255,204,0.4);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0,255,204,0.25), inset 0 0 8px rgba(0,255,204,0.15);
    transition: 0.25s;
}
.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0,255,204,0.5), inset 0 0 10px rgba(0,255,204,0.25);
}
.logo-text {
    font-weight: 300;
}
.logo-dot {
    color: #fff;
    font-weight: 600;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}
.user-info .username {
    color: #ddd;
}
.user-info .points {
    color: #00ffcc;
    font-weight: bold;
}
.user-info a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}
.user-info a:hover {
    color: #00ffcc;
}
.login-link {
    color: #00ffcc !important;
    border: 1px solid #00ffcc;
    padding: 6px 15px;
    border-radius: 20px;
    transition: 0.3s;
}
.login-link:hover {
    background: #00ffcc;
    color: #0a0a0a !important;
}
.hero {
    text-align: center;
    padding: 60px 0;
}
.glitch {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #00ffcc;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0,255,204,0.5);
    letter-spacing: 8px;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch::before {
    color: #ff00cc;
    z-index: -1;
    transform: translate(-3px, -3px);
}
.glitch::after {
    color: #00ccff;
    z-index: -2;
    transform: translate(3px, 3px);
}
.subtitle {
    font-size: 1.2rem;
    color: #999;
    margin: 20px 0 40px;
    letter-spacing: 2px;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 15px 40px;
    border: 2px solid #00ffcc;
    background: transparent;
    color: #00ffcc;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}
.btn-primary {
    background: #00ffcc;
    color: #0a0a0a;
}
.btn-primary:hover {
    background: #00ccaa;
    border-color: #00ccaa;
    box-shadow: 0 0 40px rgba(0,255,204,0.4);
}
.btn-secondary {
    border-color: #444;
    color: #888;
}
.btn-secondary:hover {
    border-color: #00ffcc;
    color: #00ffcc;
}
.coming-soon {
    margin-top: 40px;
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
footer {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover {
    color: #00ffcc;
}
.footer-copy {
    color: #333;
    font-size: 0.8rem;
}
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
}
.modal.hidden {
    display: none;
}
.modal-content {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    border: 1px solid #00ffcc;
    position: relative;
}
.modal-content h2 {
    color: #00ffcc;
    margin-bottom: 20px;
    text-align: center;
}
.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}
.modal-content button {
    width: 100%;
    padding: 12px;
    background: #00ffcc;
    color: #0a0a0a;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}
.modal-content button:hover {
    background: #00ccaa;
}
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}
.close:hover {
    color: #fff;
}
/* Sponsor ("Brought to you by") modal — shown after a game ends */
.sponsor-modal-content {
    max-width: 440px;
}
.sponsor-eyebrow {
    text-align: center;
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.sponsor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 18px;
    margin: 16px 0 20px;
    transition: 0.3s;
}
.sponsor-card:hover {
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0,255,204,0.15);
}
.sponsor-favicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #1a2a2a, #0a0a0a 70%);
    border: 1px solid rgba(0,255,204,0.35);
    font-size: 1.3rem;
    color: #00ffcc;
}
.sponsor-info { flex: 1; min-width: 0; }
.sponsor-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
}
.sponsor-url {
    color: #777;
    font-size: 0.85rem;
    word-break: break-all;
}
.sponsor-visit-btn {
    display: inline-block;
    color: #00ffcc !important;
    border: 1px solid #00ffcc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}
.sponsor-visit-btn:hover {
    background: #00ffcc;
    color: #0a0a0a !important;
}
.sponsor-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}
.sponsor-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    transition: 0.3s;
}
.sponsor-dots .dot.active {
    background: #00ffcc;
    box-shadow: 0 0 6px rgba(0,255,204,0.6);
}
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 10px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        text-align: center;
        padding: 18px;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .sponsor-card {
        flex-direction: column;
        text-align: center;
    }
}