@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #152e57;
    --primary-light: #23477f;
    --primary-soft: rgba(21, 46, 87, 0.18);
    --background: #070b12;
    --surface: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f5f7fb;
    --muted: #9ba7ba;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 35%, rgba(21, 46, 87, 0.28), transparent 38%),
        radial-gradient(circle at 10% 90%, rgba(21, 46, 87, 0.12), transparent 30%),
        var(--background);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    position: relative;
    min-height: calc(100vh - 105px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
}

.glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(140px);
    opacity: 0.18;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.logo-container {
    width: 190px;
    height: 190px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-width: 190px;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(21, 46, 87, 0.35));
}

.logo-placeholder {
    display: none;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(21, 46, 87, 0.55), rgba(21, 46, 87, 0.12));
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 20px 60px rgba(21, 46, 87, 0.25);
}

.logo-placeholder span {
    font-size: 12px;
    letter-spacing: 5px;
    opacity: 0.75;
    margin-top: 5px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(72, 108, 166, 0.35);
    border-radius: 999px;
    background: rgba(21, 46, 87, 0.16);
    color: #b7c8e5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
    margin-bottom: 25px;
}

h1 span {
    display: block;
    color: #6d8fca;
}

.description {
    max-width: 620px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 15px 20px 15px 24px;
    border-radius: 13px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: var(--primary);
    border: 1px solid rgba(89, 126, 188, 0.4);
    box-shadow: 0 15px 40px rgba(21, 46, 87, 0.35);
    transition: 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
    box-shadow: 0 20px 50px rgba(21, 46, 87, 0.5);
}

.arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

footer {
    position: relative;
    padding: 28px 24px 30px;
    text-align: center;
    color: #6f7a8c;
    font-size: 12px;
}

.footer-line {
    width: min(500px, 80%);
    height: 1px;
    margin: 0 auto 22px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.footer-small {
    margin-top: 7px;
    color: #4f5969;
    font-size: 10px;
}

/* APV */
.apv-page {
    min-height: 100vh;
}

.apv-nav {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.back-button {
    color: #9ba7ba;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

.back-button:hover {
    color: #fff;
}

.nav-brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-brand span {
    color: #6d8fca;
}

.apv-content {
    width: min(1000px, calc(100% - 48px));
    margin: 0 auto;
    padding: 90px 0;
}

.apv-content>h1 {
    max-width: 780px;
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 22px;
}

.apv-content>h1 span {
    display: inline;
}

.intro {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 45px;
}

.rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rule-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    transition: 0.25s ease;
}

.rule-card:hover {
    transform: translateY(-3px);
    border-color: rgba(72, 108, 166, 0.4);
    background: linear-gradient(145deg, rgba(21, 46, 87, 0.2), rgba(255, 255, 255, 0.025));
}

.number {
    color: #6d8fca;
    font-size: 13px;
    font-weight: 800;
    padding-top: 3px;
}

.rule-card h2 {
    font-size: 16px;
    margin-bottom: 9px;
}

.rule-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.notice {
    margin-top: 20px;
    padding: 24px 26px;
    border-left: 3px solid var(--primary-light);
    border-radius: 0 14px 14px 0;
    background: rgba(21, 46, 87, 0.13);
}

.notice strong {
    display: block;
    margin-bottom: 8px;
}

.notice p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .hero {
        padding: 60px 20px;
    }

    .logo-container {
        width: 150px;
        height: 150px;
    }

    .logo {
        max-width: 150px;
        max-height: 150px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .description {
        font-size: 14px;
    }

    .apv-nav {
        width: calc(100% - 32px);
    }

    .apv-content {
        width: calc(100% - 32px);
        padding: 55px 0;
    }

    .rules {
        grid-template-columns: 1fr;
    }
}