*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: #101114;
    color: #f4f4f5;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

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

.topline {
    height: 3px;
    background: linear-gradient(90deg, #8a8d95, #f2f2f2, #777b86);
}

.nav {
    height: 92px;
    padding: 0 clamp(22px, 7vw, 110px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 16, 19, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 900 25px 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.brand .accent,
.footer-brand span {
    color: #aeb2bc;
}

.brand small {
    font-size: 12px;
    color: #aaa;
}

.navlinks {
    display: flex;
    gap: 35px;
}

.navlinks a {
    font-size: 16px;
    color: #c7c8cc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.2s ease;
}

.navlinks a:hover {
    color: white;
}


.nav-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.85;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 25px;
    cursor: pointer;
}



main > section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}


.history,
.rules {
    min-height: 100vh;
    height: auto;
}

.section {
    padding: 100px clamp(25px, 12vw, 190px);
}


.hero {
    height: 790px;
    min-height: 690px;
    max-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px clamp(25px, 12vw, 190px) 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 11, 14, .96) 0%, rgba(10, 11, 14, .78) 48%, rgba(10, 11, 14, .32) 100%), linear-gradient(0deg, #101114 0%, transparent 45%), url('tlo.jpg') center/cover;
    filter: saturate(.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.section-kicker {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2.5px;
    color: #aeb2bc;
}

.pulse {
    width: 7px;
    height: 7px;
    background: #d5d7dd;
    border-radius: 50%;
    box-shadow: 0 0 14px #ddd;
    display: inline-block;
}

.hero h1 {
    font: 600 clamp(70px, 12vw, 160px)/.83 'Oswald', sans-serif;
    letter-spacing: 1px;
    margin: 34px 0 20px;
    color: #f5f5f6;
    text-shadow: 0 8px 35px rgba(0,0,0,0.6);
}

.hero h1 span {
    color: #aeb2bc;
}

.hero h1 b {
    font-size: .42em;
    letter-spacing: 0;
    color: #777d89;
}

.hero-sub {
    font: 400 clamp(18px, 3vw, 30px) 'Oswald', sans-serif;
    letter-spacing: 2px;
    margin: 0;
}

.hero-sub strong {
    color: #aeb2bc;
}

.hero-copy {
    font-size: 14px;
    line-height: 1.9;
    color: #b7b8bd;
    margin: 22px 0 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Oswald', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 15px 24px;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn.primary {
    background: #d5d7dc;
    color: #111216;
}

.btn.primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.15);
}

.btn.ghost {
    border: 1px solid rgba(255,255,255,0.35);
    color: #eee;
}

.btn.ghost:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

.server-address {
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #a7a8ad;
}

.server-address strong {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: white;
    letter-spacing: 2px;
}

.server-address button,
.join-ip button {
    margin-left: 10px;
    background: none;
    border: 0;
    border-bottom: 1px solid #777;
    color: #ddd;
    padding: 7px 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.server-address button:hover,
.join-ip button:hover {
    color: #fff;
    border-color: #fff;
}


.intro {
    background: #f0f0f1;
    color: #141519;
}

.intro .section-kicker,
.history .section-kicker,
.services .section-kicker,
.team .section-kicker {
    color: #777b85;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 9%;
    align-items: end;
    margin-top: 35px;
}

.section h2 {
    font: 480 clamp(42px, 6vw, 78px)/1.1 'Oswald', sans-serif;
    letter-spacing: 1px;
    margin: 0;
}

.section h2 em {
    font-style: normal;
    color: #858a95;
}

.intro-text {
    max-width: 520px;
}

.intro-text p,
.mode-copy p,
.history-head p,
.services-head p,
.join>p {
    font-size: 14px;
    line-height: 1.9;
    color: #777b83;
}

.intro-text p {
    color: #555962;
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #999;
    padding-bottom: 6px;
    transition: border-color 0.2s;
}

.text-link:hover {
    border-color: #111;
}

.text-link span {
    margin-left: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid #d2d2d5;
    padding-top: 30px;
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid #d2d2d5;
    padding-left: 25px;
}

.stats div:first-child {
    padding-left: 0;
}

.stats div:last-child {
    border: 0;
}

.stats strong {
    font: 400 42px 'Oswald', sans-serif;
}

.stats span {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #777;
}


.mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: center;
    background: #17181d;
}

.mode-art {
    height: 520px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle, #454953 0%, #252830 32%, #191a1f 68%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
}

.mode-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.15);
    transition: transform 0.4s ease;
}

.mode-art:hover .mode-image {
    transform: scale(1.22);
}

.mode-label {
    position: absolute;
    bottom: 25px;
    left: 28px;
    font: 400 16px 'Oswald', sans-serif;
    letter-spacing: 2px;
    z-index: 2;
    background: rgba(15, 16, 19, 0.75);
    padding: 8px 14px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.mode-label small {
    display: block;
    font: 700 9px 'Inter', sans-serif;
    color: #aeb2bc;
}

.mode-copy h2 {
    margin: 20px 0;
}

.mode-copy p {
    color: #b2b3b9;
    max-width: 460px;
    margin-bottom: 28px;
}


.history {
    background: #f0f0f1;
    color: #15161a;
}

.history-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin: 30px 0 50px;
}

.history-head p {
    max-width: 350px;
    margin: 0 0 5px;
}

.timeline {
    border-top: 1px solid #cfd0d4;
}

.event {
    display: grid;
    grid-template-columns: 75px 1fr 130px;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid #cfd0d4;
    align-items: start;
    transition: background 0.2s;
}

.event:hover {
    background: rgba(0,0,0,0.015);
}

.event-no {
    font: 400 24px 'Oswald', sans-serif;
    color: #a0a3ab;
}

.event-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #8a8e98;
}

.event h3 {
    font: 400 25px 'Oswald', sans-serif;
    margin: 6px 0;
}

.event p {
    max-width: 760px;
    font-size: 13px;
    line-height: 1.85;
    color: #656973;
    margin: 0;
}

.event-side {
    font: 400 36px 'Oswald', sans-serif;
    text-align: right;
    color: #858a95;
}

.event-side small {
    display: block;
    font: 800 8px 'Inter', sans-serif;
    letter-spacing: 1px;
    color: #858a95;
}


.services {
    background: #17181d;
}

.services-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin: 30px 0 35px;
}

.services-head p {
    max-width: 380px;
    color: #b4b5bb;
}

.services code {
    color: #f1f1f3;
    background: #292b32;
    padding: 3px 6px;
    border-radius: 4px;
}

.services-payment-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 22px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.services-payment-info h3 {
    font: 500 12px 'Inter', sans-serif;
    letter-spacing: 1px;
    color: #aaa;
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.pay-badge {
    background: #252830;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e4e5e8;
    border-radius: 4px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(135deg, #20222a, #18191e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-icon {
    font-size: 20px;
}

.service-card-header h3 {
    font: 400 20px 'Oswald', sans-serif;
    letter-spacing: 1px;
    margin: 0;
    color: #f1f1f3;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #b4b5bb;
    padding: 4px 0;
}

.price-list li strong {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.small-note {
    font-size: 10px;
    color: #777b84;
    margin-top: 20px;
}


.rules {
    background: #e9eaec;
    color: #17181d;
}

.rules .section-kicker {
    color: #777b85;
}

.rules-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 45px;
    margin: 30px 0 45px;
}

.rules-head p {
    max-width: 370px;
    color: #666b75;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 5px;
}

.rules-list {
    border-top: 1px solid #c9cbd0;
}

.rule-group {
    border-bottom: 1px solid #c9cbd0;
}

.rule-group summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 55px 1fr 30px;
    gap: 15px;
    align-items: center;
    padding: 22px 5px;
}

.rule-group summary::-webkit-details-marker {
    display: none;
}

.rule-index {
    font: 400 20px 'Oswald', sans-serif;
    color: #989ca5;
}

.rule-group summary b {
    display: block;
    font: 400 23px 'Oswald', sans-serif;
    letter-spacing: .2px;
}

.rule-group summary small {
    display: block;
    color: #777b84;
    font-size: 10px;
    margin-top: 4px;
}

.rule-group summary i {
    font: 400 22px 'Inter', sans-serif;
    color: #777b84;
    font-style: normal;
    transition: transform .2s;
    text-align: center;
}

.rule-group[open] summary i {
    transform: rotate(45deg);
}

.rule-group ol {
    margin: 0 0 20px 70px;
    padding-left: 20px;
    max-width: 900px;
}

.rule-group li,
.backup-content li {
    font-size: 12px;
    line-height: 1.85;
    color: #555a64;
    padding: 3px 0 3px 6px;
}

.rule-note {
    margin: 15px 0 25px 70px;
    padding: 14px 17px;
    border-left: 3px solid #858a95;
    background: #dfe0e3;
    color: #484d56;
    font-size: 11px;
    line-height: 1.7;
    border-radius: 0 4px 4px 0;
}

.backup-content {
    margin: 0 0 30px 70px;
    max-width: 900px;
}

.backup-content>p {
    font-size: 12px;
    line-height: 1.8;
    color: #555a64;
}

.backup-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.backup-columns>div {
    background: #dfe0e3;
    padding: 18px;
    border-radius: 4px;
}

.backup-columns h4 {
    font: 400 17px 'Oswald', sans-serif;
    margin: 0 0 10px;
}

.backup-columns h4.allowed {
    color: #186a37;
}

.backup-columns h4.denied {
    color: #bc0f0f;
}

.backup-columns ul {
    padding-left: 18px;
    margin: 0;
}

.rules-footer-note {
    font-size: 10px;
    color: #777b84;
    margin-top: 20px;
}


.team {
    background: #f0f0f1;
    color: #15161a;
}

.team h2 {
    margin: 30px 0 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.person {
    background: #fff;
    border: 1px solid #dedfe2;
    border-radius: 6px;
    padding: 24px;
    min-height: 180px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.person:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.person-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    height: 100%;
}

.person-info {
    flex: 1;
}

.person-avatar {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    image-rendering: pixelated;
    flex-shrink: 0;
}

.person-no {
    font: 400 12px 'Oswald', sans-serif;
    color: #a0a3ab;
}

.person h3 {
    font: 400 23px 'Oswald', sans-serif;
    margin: 4px 0 2px 0;
}

.role {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.4px;
    color: #777d89;
    display: block;
    margin-bottom: 8px;
}

.person p {
    font-size: 11px;
    line-height: 1.7;
    color: #777b83;
    margin: 0;
}


.join {
    position: relative;
    text-align: center;
    overflow: hidden;
    background: #111216;
}

.join-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: rgba(119, 125, 137, 0.12);
    filter: blur(100px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.join>*:not(.join-glow) {
    position: relative;
}

.join h2 {
    font-size: clamp(55px, 8vw, 100px);
    margin: 25px 0 15px;
}

.join>p {
    color: #aaa;
}

.join-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 35px auto 50px;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.12);
    max-width: 500px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
}

.join-ip span {
    font-size: 9px;
    letter-spacing: 1px;
    color: #999;
}

.join-ip strong {
    font: 400 24px 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.join-ip button {
    margin: 0;
}

.socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 780px;
    margin: auto;
}

.social {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    transition: all 0.2s ease;
}

.social:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #aeb2bc;
    transform: translateY(-2px);
}

.social>span {
    grid-row: span 2;
    font-size: 20px;
    color: #bfc2ca;
    display: flex;
    align-items: center;
}

.social b {
    font: 400 16px 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.social small {
    font-size: 9px;
    color: #999;
    margin-top: 4px;
}


footer {
    padding: 35px clamp(25px, 12vw, 190px);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    background: #0b0c0f;
    border-top: 1px solid rgba(255,255,255,0.08);
}

footer p,
footer>a:nth-of-type(2) {
    font-size: 9px;
    color: #888;
    letter-spacing: 1px;
}

footer>a:nth-of-type(2) {
    text-align: right;
    transition: color 0.2s;
}

footer>a:nth-of-type(2):hover {
    color: #fff;
}

.footer-brand {
    font: 400 23px 'Oswald', sans-serif;
    letter-spacing: 1px;
}

footer small {
    grid-column: 1/-1;
    color: #555;
    font-size: 9px;
    margin-top: 20px;
}

.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #e4e5e8;
    color: #111;
    padding: 13px 20px;
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 300;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


@media(max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 800px) {
    .nav {
        height: 76px;
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: #111216;
        padding: 25px;
        flex-direction: column;
        gap: 22px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navlinks.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 18px;
    }

    .hero {
        min-height: 720px;
        height: auto;
        padding-top: 130px;
        padding-bottom: 80px;
    }

    .hero h1 {
        letter-spacing: 0px;
    }

    .section {
        padding: 80px 25px;
    }

    .intro-grid,
    .mode {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .intro-grid {
        margin-top: 25px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
        margin-top: 45px;
    }

    .stats div:nth-child(3) {
        padding-left: 0;
        border: 0;
    }

    .mode-art {
        height: 310px;
    }

    .history-head,
    .services-head,
    .rules-head {
        display: block;
    }

    .history-head p,
    .services-head p,
    .rules-head p {
        margin-top: 20px;
    }

    .event {
        grid-template-columns: 35px 1fr;
        gap: 12px;
    }

    .event-side {
        grid-column: 2;
        text-align: left;
        font-size: 26px;
    }

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

    .join-ip {
        gap: 12px;
        flex-wrap: wrap;
    }

    .join-ip span {
        width: 100%;
    }

    footer {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    footer p {
        grid-column: 1/-1;
        grid-row: 2;
    }

    footer>a:nth-of-type(2) {
        grid-column: 2;
        grid-row: 1;
    }

    footer small {
        grid-row: 3;
    }
}

@media(max-width: 480px) {
    .brand {
        font-size: 21px;
    }

    .brand img {
        width: 35px;
        height: 35px;
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero-copy br {
        display: none;
    }

    .server-address {
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .server-address button {
        margin-left: 0;
    }

    .stats strong {
        font-size: 34px;
    }

    .stats div {
        padding-left: 14px;
    }

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

    .event h3 {
        font-size: 22px;
    }

    .rule-group summary {
        grid-template-columns: 35px 1fr 24px;
        gap: 10px;
        padding: 18px 0;
    }

    .rule-group summary b {
        font-size: 20px;
    }

    .rule-group ol,
    .rule-note,
    .backup-content {
        margin-left: 30px;
    }

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

    .join-ip strong {
        font-size: 20px;
    }
}
