:root {
    --black: #050505;
    --black-soft: #0a0a0a;
    --black-card: #101010;
    --white: #ffffff;
    --white-soft: #e9e9e9;
    --gray: #929292;
    --gray-dark: #555555;
    --border: rgba(255, 255, 255, 0.18);
    --container: 1500px;
    --header-height: 88px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.site-header.scrolled {
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-transform: uppercase;
}

.brand-copy strong {
    font-size: 13px;
    letter-spacing: 5px;
}

.brand-copy small {
    margin-top: 8px;
    color: var(--gray);
    font-size: 8px;
    letter-spacing: 5px;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 38px);
}

.site-navigation a {
    position: relative;
    color: #c5c5c5;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.site-navigation a:not(.member-login)::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.25s ease;
}

.site-navigation a:hover,
.site-navigation a.active {
    color: var(--white);
}

.site-navigation a:hover::after,
.site-navigation a.active::after {
    width: 100%;
}

.site-navigation .member-login {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.site-navigation .member-login:hover {
    background: var(--white);
    color: var(--black);
}

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 820px;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-image:
        url("../images/hero-club-meet.png");
    background-position: center 55%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(1.08);
    transform: scale(1.015);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.88) 28%,
            rgba(0, 0, 0, 0.38) 67%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.88) 0%,
            transparent 45%
        );
}

.hero-diagonal {
    position: absolute;
    inset: 0 auto 0 0;
    width: 54%;
    background:
        linear-gradient(
            110deg,
            rgba(5, 5, 5, 1) 0%,
            rgba(5, 5, 5, 0.98) 70%,
            rgba(5, 5, 5, 0.72) 100%
        );
    clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.hero-diagonal::after {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    width: 1px;
    height: 110%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(-11deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
}

.hero-copy {
    width: min(620px, 46%);
}

.hero-motto {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.hero-motto span {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-motto p {
    color: #bcbcbc;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero h1 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(110px, 11vw, 190px);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.hero-creed {
    margin-top: 24px;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-description {
    max-width: 530px;
    margin-top: 38px;
    color: #b6b6b6;
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 36px;
}

.button {
    min-width: 180px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.button-light {
    background: var(--white);
    color: var(--black);
}

.button-light:hover {
    background: transparent;
    color: var(--white);
}

.button-outline {
    background: transparent;
    color: var(--white);
}

.button-outline:hover {
    background: var(--white);
    color: var(--black);
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 36px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #a5a5a5;
    transform: translateX(-50%);
}

.scroll-indicator small {
    font-size: 8px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 18px;
    height: 30px;
    position: relative;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
}

.scroll-mouse::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 2px;
    height: 6px;
    background: var(--white);
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
}

/* Pillars */

.club-pillars {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            135deg,
            #0c0c0c 0%,
            #070707 100%
        );
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.pillar-card {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 42px;
    border-right: 1px solid var(--border);
}

.pillar-card:last-child {
    border-right: 0;
}

.pillar-number {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    color: #a5a5a5;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.pillar-card h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.pillar-card p {
    margin-top: 5px;
    color: var(--gray);
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* About section */

.about-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(255, 255, 255, 0.06),
            transparent 34%
        ),
        var(--black);
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 52%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.about-watermark {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -2vw;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(350px, 42vw, 760px);
    line-height: 0.7;
    opacity: 0.025;
    transform: translateY(-50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 0.75fr);
    align-items: center;
    gap: clamp(70px, 8vw, 150px);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.section-kicker span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    color: var(--white-soft);
    font-family: "Bebas Neue", sans-serif;
    font-size: 17px;
}

.section-kicker p {
    color: var(--gray);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.about-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(75px, 7vw, 125px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.about-description {
    max-width: 700px;
    margin-top: 42px;
    color: #adadad;
    font-size: 14px;
    line-height: 2;
}

.about-description.secondary {
    margin-top: 18px;
    color: #777777;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 52px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-fact {
    min-height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 18px 22px 0;
    border-right: 1px solid var(--border);
}

.about-fact:not(:first-child) {
    padding-left: 18px;
}

.about-fact:last-child {
    border-right: 0;
}

.about-fact small {
    color: var(--gray-dark);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-fact strong {
    margin-top: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-top: 42px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition:
        gap 0.25s ease,
        border-color 0.25s ease;
}

.text-link:hover {
    gap: 42px;
    border-color: var(--white);
}

.text-link span {
    font-size: 18px;
}

.about-visual {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    clip-path: polygon(
        13% 0,
        100% 0,
        87% 100%,
        0 100%
    );
    background: var(--black-card);
}

.about-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(1.08);
    transition:
        filter 0.6s ease,
        transform 0.8s ease;
}

.about-visual:hover img {
    filter: grayscale(30%) contrast(1.05);
    transform: scale(1.035);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.92) 0%,
            transparent 46%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.35),
            transparent 60%
        );
}

.about-visual figcaption {
    position: absolute;
    z-index: 2;
    right: 120px;
    bottom: 48px;
    left: 75px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.about-visual figcaption small {
    color: #bdbdbd;
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-visual figcaption strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.development-section {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 120px 0;
    background: var(--black);
}

.section-number {
    color: var(--gray);
    font-size: 9px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.development-section h2 {
    margin-top: 30px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(60px, 8vw, 125px);
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
}

.development-section p {
    margin-top: 30px;
    color: var(--gray);
}

/* Events section */

.events-section {
    position: relative;
    overflow: hidden;
    padding: 145px 0;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            135deg,
            #0b0b0b 0%,
            #050505 68%
        );
}

.events-section::before {
    content: "02";
    position: absolute;
    top: 40px;
    right: -20px;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(300px, 37vw, 650px);
    line-height: 0.8;
    opacity: 0.018;
    pointer-events: none;
}

.events-header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 75px;
}

.events-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(75px, 7vw, 125px);
    font-weight: 400;
    line-height: 0.86;
    text-transform: uppercase;
}

.events-introduction {
    max-width: 520px;
    padding-bottom: 8px;
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
}

.featured-event {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(380px, 0.7fr);
    min-height: 640px;
    border: 1px solid var(--border);
    background: #080808;
}

.event-image {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

.event-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: grayscale(100%) contrast(1.08);
    transition:
        filter 0.6s ease,
        transform 0.8s ease;
}

.featured-event:hover .event-image img {
    filter: grayscale(25%) contrast(1.05);
    transform: scale(1.025);
}

.event-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.88) 0%,
            transparent 45%
        ),
        linear-gradient(
            90deg,
            transparent 55%,
            rgba(0, 0, 0, 0.42) 100%
        );
}

.event-image-label {
    position: absolute;
    top: 35px;
    left: 35px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.52);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.event-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(45px, 5vw, 80px);
}

.event-overline {
    color: var(--gray);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.event-details h3 {
    margin-top: 24px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(65px, 5.5vw, 100px);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

.event-description {
    margin-top: 35px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.9;
}

.event-specifications {
    margin-top: 38px;
    border-top: 1px solid var(--border);
}

.event-specification {
    min-height: 62px;
    display: grid;
    grid-template-columns: 95px 1fr;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.event-specification small {
    color: var(--gray-dark);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-specification strong {
    color: var(--white-soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-page-status {
    margin-top: 38px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #a5a5a5;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Leaderboard section */

.leaderboard-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 145px 0;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            160deg,
            #050505 0%,
            #0c0c0c 55%,
            #050505 100%
        );
}

.leaderboard-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 45%,
            transparent
        );
}

.leaderboard-watermark {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -2vw;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(340px, 40vw, 700px);
    line-height: 0.75;
    opacity: 0.022;
    transform: translateY(-50%);
    pointer-events: none;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 75px;
}

.leaderboard-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(75px, 7vw, 125px);
    font-weight: 400;
    line-height: 0.86;
    text-transform: uppercase;
}

.leaderboard-introduction {
    max-width: 520px;
    padding-bottom: 8px;
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
}

.leaderboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
    border: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.88);
}

.leaderboard-panel {
    min-width: 0;
    border-right: 1px solid var(--border);
}

.leaderboard-toolbar {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 25px 32px;
    border-bottom: 1px solid var(--border);
}

.leaderboard-toolbar > div:first-child {
    display: flex;
    flex-direction: column;
}

.leaderboard-toolbar small {
    color: var(--gray-dark);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.leaderboard-toolbar strong {
    margin-top: 7px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.leaderboard-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leaderboard-categories span {
    padding: 10px 13px;
    border: 1px solid transparent;
    color: #6d6d6d;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.leaderboard-categories span.active {
    border-color: var(--border);
    color: var(--white);
}

.leaderboard-table-wrapper {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    min-width: 730px;
    border-collapse: collapse;
}

.leaderboard-table th {
    height: 55px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    color: #5e5e5e;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: left;
    text-transform: uppercase;
}

.leaderboard-table td {
    height: 102px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    color: #7c7c7c;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leaderboard-table tbody tr {
    transition: background 0.25s ease;
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.rank-number {
    font-family: "Bebas Neue", sans-serif;
    color: var(--white);
    font-size: 30px;
    letter-spacing: 2px;
}

.leaderboard-table td strong {
    display: block;
    color: #9b9b9b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

.leaderboard-table td small {
    display: block;
    margin-top: 7px;
    color: #4c4c4c;
    font-size: 7px;
    letter-spacing: 1px;
}

.result-time {
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px !important;
    letter-spacing: 2px !important;
}

.leaderboard-empty-message {
    min-height: 75px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
}

.leaderboard-empty-message span {
    width: 45px;
    height: 1px;
    flex-shrink: 0;
    background: #565656;
}

.leaderboard-empty-message p {
    color: #5d5d5d;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ranking-information {
    padding: clamp(40px, 4vw, 65px);
}

.ranking-overline {
    color: var(--gray);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.ranking-information h3 {
    margin-top: 22px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(55px, 4.5vw, 80px);
    font-weight: 400;
    line-height: 0.86;
    text-transform: uppercase;
}

.ranking-rules {
    margin-top: 42px;
    border-top: 1px solid var(--border);
}

.ranking-rule {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.ranking-rule > span {
    font-family: "Bebas Neue", sans-serif;
    color: #595959;
    font-size: 17px;
}

.ranking-rule strong {
    color: var(--white-soft);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ranking-rule p {
    margin-top: 8px;
    color: #656565;
    font-size: 9px;
    line-height: 1.7;
}

.leaderboard-status {
    display: block;
    margin-top: 35px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #777777;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Gallery section */

.gallery-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 145px 0;
    border-bottom: 1px solid var(--border);
    background: var(--black);
}

.gallery-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.gallery-watermark {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -2vw;
    color: var(--white);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(340px, 40vw, 700px);
    line-height: 0.75;
    opacity: 0.02;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-header {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 75px;
}

.gallery-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(75px, 7vw, 125px);
    font-weight: 400;
    line-height: 0.86;
    text-transform: uppercase;
}

.gallery-introduction {
    max-width: 520px;
    padding-bottom: 8px;
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(350px, 0.65fr);
    grid-template-rows: repeat(2, minmax(270px, 1fr));
    gap: 12px;
    min-height: 680px;
}

.gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--black-card);
    color: var(--white);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gallery-featured {
    grid-row: 1 / 3;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition:
        filter 0.6s ease,
        transform 0.8s ease;
}

.gallery-featured img {
    object-position: center;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    filter: grayscale(15%) contrast(1.03);
    transform: scale(1.035);
}

.gallery-item:focus-visible {
    outline: 1px solid var(--white);
    outline-offset: 4px;
}

.gallery-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.9) 0%,
            transparent 55%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.25),
            transparent 60%
        );
}

.gallery-item-number {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(0, 0, 0, 0.35);
    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
    backdrop-filter: blur(8px);
}

.gallery-caption {
    position: absolute;
    right: 30px;
    bottom: 28px;
    left: 30px;
    display: flex;
    flex-direction: column;
}

.gallery-caption small {
    color: #b3b3b3;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-caption strong {
    margin-top: 8px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-featured .gallery-caption strong {
    font-size: clamp(40px, 4vw, 65px);
}

.gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.gallery-footer p {
    max-width: 680px;
    color: #626262;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-footer span {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    color: #898989;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Gallery lightbox */

.gallery-lightbox {
    width: min(1500px, calc(100% - 50px));
    max-width: none;
    max-height: calc(100vh - 50px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #050505;
    color: var(--white);
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
}

.gallery-lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-lightbox-content img {
    width: 100%;
    max-height: calc(100vh - 130px);
    display: block;
    object-fit: contain;
    background: #000000;
}

.gallery-lightbox-content p {
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    color: #a5a5a5;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-lightbox-close {
    position: absolute;
    z-index: 5;
    top: -18px;
    right: -18px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: #050505;
    color: var(--white);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.gallery-lightbox-close:hover {
    background: var(--white);
    color: var(--black);
}

/* Footer */

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--border);
    background: #030303;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand strong {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand p,
.copyright {
    margin-top: 5px;
    color: var(--gray);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-legal {
    max-width: 620px;
    text-align: right;
}

.fan-disclaimer {
    margin-top: 8px;
    color: #666666;
    font-size: 8px;
    line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Tablet and mobile */

@media (max-width: 1100px) {
    .container {
        width: min(calc(100% - 44px), var(--container));
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid var(--border);
        background: rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 18px;
        height: 1px;
        background: var(--white);
        transition: 0.25s ease;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .site-navigation {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: min(420px, 100%);
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        background: rgba(5, 5, 5, 0.98);
        transition: right 0.3s ease;
    }

    .site-navigation.open {
        right: 0;
    }

    .site-navigation a {
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
    }

    .site-navigation .member-login {
        justify-content: center;
        margin-top: 24px;
    }

    .hero-copy {
        width: min(620px, 58%);
    }

    .pillar-card {
        padding: 30px 24px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 76px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-copy strong {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .brand-copy small {
        font-size: 7px;
        letter-spacing: 3px;
    }

    .hero {
        min-height: 760px;
        height: 100svh;
    }

    .hero-photo {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.98) 0%,
                rgba(0, 0, 0, 0.80) 58%,
                rgba(0, 0, 0, 0.42) 100%
            );
    }

    .hero-diagonal {
        display: none;
    }

    .hero-content {
        display: flex;
        align-items: flex-end;
        min-height: 100%;
        padding-top: 140px;
        padding-bottom: 125px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero-motto {
        gap: 12px;
    }

    .hero-motto span {
        width: 25px;
    }

    .hero-motto p {
        font-size: 7px;
        letter-spacing: 2px;
        white-space: normal;
    }

    .hero-creed {
        margin-top: 18px;
        font-size: 8px;
        letter-spacing: 3px;
    }    

    .hero h1 {
        font-size: clamp(86px, 27vw, 125px);
        letter-spacing: -2px;
    }

    .hero-description {
        max-width: 480px;
        margin-top: 28px;
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        min-height: 130px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .pillar-card:last-child {
        border-bottom: 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
    text-align: left;
    }
}

@media (max-width: 1100px) {
    .events-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .events-introduction {
        max-width: 700px;
    }

    .featured-event {
        grid-template-columns: 1fr;
    }

    .event-image {
        min-height: 650px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 760px) {
    .events-section {
        padding: 95px 0;
    }

    .events-header {
        margin-bottom: 50px;
    }

    .events-title {
        font-size: clamp(65px, 20vw, 92px);
    }

    .event-image {
        min-height: 540px;
    }

    .event-details {
        padding: 40px 25px;
    }

    .event-details h3 {
        font-size: 72px;
    }

    .event-specification {
        grid-template-columns: 75px 1fr;
    }
}

@media (max-width: 1100px) {
    .leaderboard-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leaderboard-introduction {
        max-width: 700px;
    }

    .leaderboard-layout {
        grid-template-columns: 1fr;
    }

    .leaderboard-panel {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 760px) {
    .leaderboard-section {
        padding: 95px 0;
    }

    .leaderboard-header {
        margin-bottom: 50px;
    }

    .leaderboard-title {
        font-size: clamp(65px, 20vw, 92px);
    }

    .leaderboard-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 20px;
    }

    .leaderboard-categories {
        width: 100%;
    }

    .leaderboard-categories span {
        padding: 9px;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding-right: 18px;
        padding-left: 18px;
    }

    .leaderboard-empty-message {
        align-items: flex-start;
        padding: 22px 20px;
    }

    .ranking-information {
        padding: 40px 25px;
    }
}

@media (max-width: 1100px) {
    .gallery-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-introduction {
        max-width: 700px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 520px 320px;
    }

    .gallery-featured {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .gallery-section {
        padding: 95px 0;
    }

    .gallery-header {
        margin-bottom: 50px;
    }

    .gallery-title {
        font-size: clamp(65px, 20vw, 92px);
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .gallery-item,
    .gallery-featured {
        min-height: 330px;
    }

    .gallery-featured {
        min-height: 430px;
    }

    .gallery-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-lightbox {
        width: calc(100% - 28px);
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .gallery-lightbox-content p {
        padding: 18px;
    }
}