:root {
    --bg: #101318;
    --bg-soft: #151a21;
    --panel: rgba(255, 255, 255, 0.055);
    --panel-strong: rgba(255, 255, 255, 0.085);
    --text: #e8ecef;
    --muted: #98a1aa;
    --primary: #8fbf87;
    --primary-soft: rgba(143, 191, 135, 0.16);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(143, 191, 135, 0.12), transparent 32rem),
        linear-gradient(180deg, #101318 0%, #0d1015 100%);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans SC",
        sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 15, 20, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menubar {
    width: 100%;
    min-height: 76px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menubar-left {
    display: flex;
    align-items: center;
    gap: 44px;
}

.brand {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.96rem;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 8px 12px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.86rem;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    background: var(--primary);
    color: #101318;
}


.hero {
    padding: 120px 0 96px;
}

.hero-inner {
    max-width: 820px;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    animation: fadeInUp 0.7s ease both;
}

.hero-title {
    position: relative;
    display: inline-block;
    animation: fadeInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    font-family:
        "Inter",
        "Avenir Next",
        "Helvetica Neue",
        system-ui,
        sans-serif;

    font-size: clamp(4.8rem, 14vw, 10rem);
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -0.085em;
    text-transform: uppercase;

    color: #e8ecef;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 80px rgba(143, 191, 135, 0.16);

    margin-bottom: 42px;
}

.hero-title::after {
    content: "";
    position: absolute;
    left: 0.035em;
    bottom: -0.18em;

    width: 44%;
    height: 4px;

    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #8fbf87,
        rgba(143, 191, 135, 0)
    );
}

.hero-text {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 34px;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.18s;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.32s;
}

.button,
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 700;
    border: 1px solid var(--border);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover,
.copy-btn:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--primary);
    color: #101318;
    border-color: transparent;
}

.button.secondary,
.copy-btn {
    background: var(--panel);
    color: var(--text);
}

.button.secondary:hover,
.copy-btn:hover {
    background: var(--panel-strong);
    border-color: rgba(255, 255, 255, 0.2);
}

.entry-section,
.bulletin-section,
.features-section,
.rules-section {
    padding: 72px 0;
}

.entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    animation: softReveal 0.75s ease both;
}

.entry-card h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.muted {
    color: var(--muted);
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.05em;
}

.bulletin-list {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.bulletin-item {
    padding: 18px 20px;
    border-left: 2px solid var(--primary);
    border-radius: 0 14px 14px 0;
    background: var(--panel);
    animation: softReveal 0.75s ease both;
}

.bulletin-date {
    display: block;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.tags span {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(143, 191, 135, 0.24);
    font-size: 0.92rem;
}

.feature-grid,
.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card,
.rule-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 24px;
    animation: softReveal 0.75s ease both;
}

.feature-card {
    min-height: 250px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.feature-card h3,
.rule-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-card p,
.rule-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

.rule-card {
    display: flex;
    gap: 18px;
}

.rule-card span {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.92rem;
}

@media (max-width: 760px) {
    .menubar {
        min-height: auto;
        padding: 18px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .menubar-left {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .main-nav a {
        padding: 10px 14px;
        font-size: 0.92rem;
    }

    .language-switcher {
        align-self: flex-start;
    }
    
    .hero {
        padding: 76px 0 56px;
    }

    .entry-section,
    .bulletin-section,
    .features-section,
    .rules-section {
        padding: 48px 0;
    }

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.entry-main {
    min-width: 0;
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);

    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.status-online {
    color: #8fbf87;
    border-color: rgba(143, 191, 135, 0.35);
    background: rgba(143, 191, 135, 0.12);
}

.section-heading.with-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section-heading-text {
    min-width: 0;
}

.section-heading.with-link .section-kicker {
    margin-bottom: 14px;
}

.section-heading.with-link h2 {
    margin: 0;
}

.see-all-link {
    flex: 0 0 auto;
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.see-all-link:hover {
    color: var(--text);
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .section-heading.with-link {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   Motion System
   ========================= */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-36px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softReveal {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
