@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500;600;700;800&family=Karla:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #0f0f1a;
    --bg-mid: #1a1a2e;
    --spectrum-teal: #14b8a6;
    --spectrum-violet: #8b5cf6;
    --white-pure: #fafafa;
    --gray-soft: #9ca3af;
    --card-panel: rgba(26, 26, 46, 0.9);
    --glow-teal: rgba(20, 184, 166, 0.3);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Karla', sans-serif;
    background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
    min-height: 100vh;
    color: var(--white-pure);
    line-height: 1.75;
}

.main-header {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glow-teal);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2rem;
}

.brand-link {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--spectrum-teal), var(--spectrum-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-link img { width: 38px; height: 38px; }

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-menu a {
    color: var(--gray-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu a:hover { color: var(--spectrum-teal); }

.toggle-menu {
    display: none;
    cursor: pointer;
}

.toggle-menu span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--spectrum-teal);
    margin: 5px 0;
    transition: all 0.3s;
}

.toggle-menu.on span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.toggle-menu.on span:nth-child(2) { opacity: 0; }
.toggle-menu.on span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.page-main { padding-top: 75px; }

.hero-area {
    padding: 5rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
}

.hero-area h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--spectrum-teal), var(--spectrum-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-area p {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray-soft);
}

.alert-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.alert-card {
    background: var(--card-panel);
    border: 1px solid var(--glow-teal);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.alert-card:hover { transform: translateY(-5px); }

.alert-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.alert-card h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: var(--spectrum-teal);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.alert-card p { color: var(--gray-soft); font-size: 0.9rem; }

.game-zone {
    padding: 3rem 2rem;
    max-width: 1450px;
    margin: 0 auto;
}

.game-zone h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.7rem;
    text-align: center;
    color: var(--spectrum-violet);
    margin-bottom: 2rem;
}

.game-embed {
    background: var(--card-panel);
    border: 1px solid var(--glow-teal);
    border-radius: 18px;
    padding: 1rem;
}

.game-embed iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 12px;
}

.text-block {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.text-block h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.4rem;
    color: var(--spectrum-teal);
    margin-bottom: 1rem;
}

.text-block p { color: var(--gray-soft); margin-bottom: 1rem; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-item {
    background: var(--card-panel);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 3px solid var(--spectrum-violet);
}

.info-item h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: var(--spectrum-violet);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.info-item p { color: var(--gray-soft); font-size: 0.9rem; }

.doc-content {
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.doc-content h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--spectrum-teal), var(--spectrum-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.doc-content h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.1rem;
    color: var(--spectrum-teal);
    margin: 2rem 0 0.75rem;
}

.doc-content p, .doc-content li { color: var(--gray-soft); margin-bottom: 0.9rem; }
.doc-content ul { padding-left: 1.5rem; }

.page-footer {
    background: rgba(15, 15, 26, 0.95);
    border-top: 1px solid var(--glow-teal);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.resource-links { margin-bottom: 1.5rem; }

.resource-links h4 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: var(--spectrum-teal);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.resource-links a {
    color: var(--gray-soft);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.resource-links a:hover { color: var(--spectrum-violet); }

.footer-text { color: var(--gray-soft); font-size: 0.85rem; }

.verify-screen {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 26, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.verify-screen.dismissed { display: none; }

.verify-panel {
    background: var(--card-panel);
    border: 1px solid var(--spectrum-teal);
    border-radius: 18px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.verify-panel h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    color: var(--spectrum-violet);
    margin-bottom: 1rem;
}

.verify-panel p { color: var(--gray-soft); margin-bottom: 1.5rem; }

.verify-actions { display: flex; gap: 1rem; justify-content: center; }

.verify-action {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.verify-action.yes {
    background: linear-gradient(135deg, var(--spectrum-teal), var(--spectrum-violet));
    color: white;
}

.verify-action.yes:hover { transform: scale(1.05); box-shadow: 0 5px 25px var(--glow-teal); }

.verify-action.no {
    background: transparent;
    border: 1px solid var(--gray-soft);
    color: var(--gray-soft);
}

.verify-action.no:hover { border-color: var(--spectrum-teal); color: var(--spectrum-teal); }

@media (max-width: 900px) {
    .main-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 26, 0.98);
        padding: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .main-menu.visible { transform: translateX(0); }
    .main-menu ul { flex-direction: column; text-align: center; gap: 1rem; }
    .toggle-menu { display: block; }
    .game-embed iframe { height: 450px; }
    .resource-links a { display: block; margin: 0.4rem 0; }
}

@media (max-width: 600px) {
    .brand-link { font-size: 1.3rem; }
    .brand-link img { width: 32px; height: 32px; }
    .game-embed iframe { height: 350px; }
    .doc-content { padding: 5rem 1.5rem 3rem; }
    .verify-panel { padding: 2rem 1.5rem; }
    .verify-actions { flex-direction: column; }
}
