@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Raleway:wght@400;500;600&display=swap');
 
:root {
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.35);
    --secondary: #ff2c6d;
    --bg-dark: #050507;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.09);
    --text: #e8e0ff;
    --text-muted: #8b7da8;
}
 
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
 
body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    text-align: center;
    overflow-x: hidden;
}
 
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}
 
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(100, 20, 200, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 44, 109, 0.08) 0%, transparent 50%),
        rgba(5, 5, 7, 0.92);
    z-index: -1;
}
 
/* ---- NAVBAR ---- */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(5, 5, 7, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}
 
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
}
 
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-shadow: 0 0 18px var(--primary-glow);
}
 
.menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
 
.menu a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s, background 0.25s;
}
 
.menu a:hover { color: var(--text); background: var(--glass); }
 
.store-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    padding: 7px 18px !important;
    border-radius: 6px;
    font-weight: 600 !important;
}
 
/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
 
.hamburger:hover { background: var(--glass); transform: none; }
 
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
 
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
/* ---- HERO ---- */
.hero {
    padding: 130px 20px 100px;
    position: relative;
}
 
.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}
 
.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3.5rem, 11vw, 7rem);
    font-weight: 900;
    line-height: 1;
    color: white;
    text-shadow:
        0 0 30px var(--primary-glow),
        0 0 80px rgba(168, 85, 247, 0.15);
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease both;
}
 
.subtitle {
    font-size: 1.2rem;
    background: linear-gradient(90deg, #a0c4ff, #a855f7, #ff2c6d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 40px;
    animation: fadeUp 0.8s 0.15s ease both;
}
 
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}
 
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}
 
/* ---- SECTIONS ---- */
.section-label {
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}
 
.container {
    padding: 70px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
 
.title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 40px;
    color: white;
}
 
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
 
/* ---- BOXES / CARDS ---- */
.box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
 
.box:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}
 
.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
 
.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}
 
.card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
 
/* STATUS */
.status-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}
 
.online { color: #4ade80; }
.offline { color: #f87171; }
 
#players {
    color: var(--text-muted);
    margin-top: 6px;
    font-size: 0.95rem;
}
 
.ip-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
 
.ip-address {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(168,85,247,0.3);
    border-radius: 8px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
 
.btn-copy {
    padding: 10px 18px !important;
    font-size: 0.85rem;
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
}
 
/* APPLY SECTION */
.ticket-container h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}
 
.ticket-container p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
 
.apply-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0;
    flex-wrap: wrap;
}
 
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
 
.step-num {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
 
.step-arrow { color: var(--text-muted); font-size: 1.1rem; }
 
/* ---- BUTTONS ---- */
button {
    padding: 13px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transition: transform 0.25s, box-shadow 0.25s;
    letter-spacing: 0.3px;
}
 
button:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}
 
button.copied {
    background: linear-gradient(135deg, #4ade80, #22c55e);
}
 
.btn-main {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    display: inline-block;
}
 
.btn-sub {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.25s;
    display: inline-block;
}
 
.btn-sub:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.04);
}
 
.btn-vote {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
 
.btn-vote:hover {
    background: var(--primary-glow);
    box-shadow: 0 0 20px var(--primary-glow);
}
 
/* ---- TOAST ---- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
}
 
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
 
/* ---- FADE IN ANIMATION ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
 
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* ---- FOOTER ---- */
footer {
    padding: 50px 20px;
    border-top: 1px solid var(--glass-border);
}
 
.footer-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.9;
}
 
.tos-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
 
.tos-link:hover { text-decoration: underline; }
 
/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
 
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
 
/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hamburger { display: flex; }
 
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 7, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px;
        gap: 4px;
        z-index: 999;
    }
 
    .menu.open { display: flex; }
 
    .menu a {
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
 
    .nav-container { position: relative; }
 
    .apply-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
 
    .hero { padding: 100px 20px 80px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-sub, .btn-main { width: 240px; text-align: center; }
}
 