/* =============================================
   Nevada Esports — Global Styles
   Brand colors: navy #051f42, black #020202
   ============================================= */

:root {
    --ne-navy: #051f42;
    --ne-dark: #020202;
    --ne-accent: #4a90d9;
    --ne-accent-hover: #3378c0;
    --ne-card-radius: 12px;
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--ne-navy);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > div, #blazor-server-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---- Typography ---- */

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

p, li, div {
    color: #e8e8e8;
}

a {
    color: var(--ne-accent);
}

a:hover {
    color: var(--ne-accent-hover);
}

/* ---- Header ---- */

.ne-header {
    background-color: rgba(2, 2, 2, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ne-header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 64px;
}

.ne-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ne-brand:hover {
    color: #fff;
}

.ne-logo-mark {
    height: 36px;
    width: auto;
    display: block;
}

.ne-logo-full {
    height: 40px;
    width: auto;
    display: block;
}

/* ---- Desktop nav ---- */

.ne-nav {
    display: none;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .ne-nav { display: flex; }
}

.ne-nav-link {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
    white-space: nowrap;
}

.ne-nav-link:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.07);
}

.ne-nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* ---- Header right side ---- */

.ne-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* pushes everything to the right */
}

/* ---- Dropdown ---- */

.ne-dropdown-wrap {
    position: relative;
}

.ne-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ne-chevron {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.ne-dropdown-wrap:hover .ne-chevron {
    transform: rotate(180deg);
}

.ne-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding-top: 0.5rem;
    z-index: 200;
}

.ne-dropdown-inner {
    background-color: #0f0f17;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.ne-dropdown-wrap:hover .ne-dropdown,
.ne-dropdown-wrap:has(.ne-dropdown-item:focus) .ne-dropdown {
    display: flex;
    flex-direction: column;
}

.ne-dropdown-item {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.ne-dropdown-item:hover,
.ne-dropdown-item.active {
    color: #fff;
    background-color: rgba(255,255,255,0.08);
}

/* ---- Mobile group ---- */

.ne-mobile-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.1rem;
}

.ne-mobile-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 0.5rem 0.85rem 0.25rem;
}

.ne-nav-link--sub {
    padding-left: 1.5rem !important;
    font-size: 0.85rem;
}

/* ---- Discord button ---- */

.ne-btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #5865f2;
    color: #fff;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s, opacity 0.15s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.ne-btn-discord:hover {
    background-color: #4752c4;
    color: #fff;
}

/* ---- Hamburger ---- */

.ne-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
}

.ne-hamburger span {
    display: block;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: 0.2s;
}

/* ---- Mobile menu ---- */

.ne-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 0.25rem;
}

.ne-mobile-menu.open {
    display: flex;
}

.ne-mobile-menu .ne-nav-link {
    display: block;
    padding: 0.6rem 0.85rem;
}

.ne-mobile-social {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0.85rem 0;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ne-mobile-social a {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.15s;
}

.ne-mobile-social a:hover {
    color: #fff;
}

/* ---- Main content ---- */

.ne-main {
    flex: 1;
}

/* ---- Hero ---- */

.ne-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(105deg, rgba(5,31,66,0.96) 45%, rgba(5,31,66,0.6) 100%),
        url('images/WideViewWWL.png');
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
}

.ne-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(74,144,217,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.ne-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .ne-hero-heading {
        white-space: nowrap;
    }
}

.ne-hero-title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.ne-hero-paw {
    height: 110px;
    width: auto;
    opacity: 0.9;
    flex-shrink: 0;
}

.ne-hero-heading {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    color: #fff;
}

.ne-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.ne-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.ne-btn-lg {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.95rem !important;
}

.ne-hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    animation: ne-bounce 2s infinite;
}

@keyframes ne-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- Sections ---- */

.ne-section {
    padding: 5rem 0;
}

.ne-section--alt {
    background-color: rgba(0,0,0,0.2);
}

.ne-section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(255,255,255,0.08);
    position: relative;
}

.ne-section-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 2.5rem;
    height: 2px;
    background: var(--ne-accent);
    border-radius: 2px;
}

.ne-section-sub {
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* ---- Section header with side CTA ---- */

.ne-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.ne-section-header-cta {
    flex-shrink: 0;
    margin-bottom: 0.35rem;
}

/* ---- Teams marquee ---- */

.ne-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 0.5rem 0;
}

.ne-marquee-track {
    display: flex;
    width: max-content;
    animation: ne-scroll 32s linear infinite;
}

.ne-marquee:hover .ne-marquee-track {
    animation-play-state: paused;
}

@keyframes ne-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ne-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    padding: 0 0.5rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.ne-marquee-item:hover {
    opacity: 1;
    transform: scale(1.04);
}

.ne-marquee-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.ne-marquee-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
}

/* ---- Hover block grid ---- */

.ne-hblock-section {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    padding: 3rem 0;
}

.ne-hblock {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.ne-hblock-item {
    grid-column: span 5;
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

/* First and last items are wider */
.ne-hblock-item:first-child,
.ne-hblock-item:last-child {
    grid-column: span 7;
}

/* Default overlay: gradient fading to dark at bottom, title anchored bottom-left */
.ne-hblock-default {
    position: absolute;
    inset: 0 0 -2px 0;
    background: linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.5) 88%, rgba(0, 0, 0, 0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: opacity 0.25s ease;
}

.ne-hblock-item:hover .ne-hblock-default {
    opacity: 0;
}

.ne-hblock-default-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    line-height: 1.2;
}

/* Hover overlay: solid navy, content flows from bottom */
.ne-hblock-hover {
    position: absolute;
    inset: 0;
    background: rgba(5, 31, 66, 0.95);
    border: 1px solid var(--ne-accent);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ne-hblock-item:hover .ne-hblock-hover {
    opacity: 1;
}

.ne-hblock-hover h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px;
}

.ne-hblock-hover p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 24px;
}

.ne-hblock-cta {
    display: inline-block;
    color: var(--ne-accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    border-bottom: 2px solid var(--ne-accent);
    padding-bottom: 2px;
}

@media (max-width: 767px) {
    .ne-hblock-section {
        padding: 2rem 0;
    }

    .ne-hblock {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ne-hblock-item,
    .ne-hblock-item:first-child,
    .ne-hblock-item:last-child {
        grid-column: span 1;
        min-height: 200px;
    }
}

/* ---- Split layout ---- */

.ne-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ne-split {
        grid-template-columns: 1fr 1fr;
    }
}

.ne-split-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.ne-split-text p {
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.ne-split-image img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

/* ---- Callout ---- */

.ne-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(74,144,217,0.15), rgba(5,31,66,0.4));
    border: 1px solid rgba(74,144,217,0.25);
    border-radius: 16px;
    padding: 2.5rem;
}

.ne-callout-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.ne-callout-text p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 480px;
}

/* ---- Cards ---- */

.ne-card {
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--ne-card-radius);
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.ne-page-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ne-page-header {
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---- Event hero (BTI, WWL detail pages) ---- */

.ne-event-hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
    background-color: #06060f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ne-event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 20%, transparent 80%);
}

.ne-event-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0,102,204,0.22) 0%, transparent 70%);
    pointer-events: none;
}

.ne-event-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ne-event-hero-inner .ne-page-header-title::after {
    margin-left: auto;
    margin-right: auto;
}

.ne-page-header-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: #fff;
}

.ne-page-header-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--ne-accent);
    border-radius: 2px;
    margin-top: 0.75rem;
}

.ne-page-header-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin: 0;
}

.ne-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.35);
}

.ne-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.15s;
}

.ne-breadcrumb a:hover {
    color: #fff;
}

.ne-info-card {
    background-color: rgba(255,255,255,0.07);
    border-radius: var(--ne-card-radius);
    height: 100%;
}

.ne-info-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ---- Countdown ---- */

.ne-countdown-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ne-card-radius);
    padding: 3rem 2rem;
    text-align: center;
}

.ne-countdown-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ne-accent);
    margin-bottom: 0.75rem;
}

.ne-countdown-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem;
}

.ne-countdown-title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s;
}

.ne-countdown-title a:hover {
    border-color: #fff;
}

.ne-countdown-date {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    margin: 0 0 2.5rem;
}

.ne-countdown-clock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ne-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem 1.75rem;
    min-width: 96px;
}

.ne-countdown-num {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.ne-countdown-unit-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
}

.ne-countdown-sep {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.ne-countdown-live {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ne-accent);
    margin: 0;
}

/* ---- Event cards ---- */

.ne-events-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: #fff;
}

.ne-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.ne-event-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--ne-card-radius);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.ne-event-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.ne-event-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.ne-event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ne-event-card:hover .ne-event-card-img img {
    transform: scale(1.03);
}

.ne-event-date-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--ne-navy);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    min-width: 2.5rem;
}

.ne-event-date-day {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.ne-event-date-month {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ne-accent);
}

.ne-event-card-body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.ne-event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.ne-event-card-meta {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.ne-event-card-meta i {
    font-size: 0.75rem;
    color: var(--ne-accent);
    flex-shrink: 0;
}

.ne-event-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.55;
    margin: 0.25rem 0 0;
}

/* ---- Welcome Week LAN page ---- */

.ne-wwl-hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Carousel */

.ne-wwl-carousel {
    border-radius: 10px;
    overflow: hidden;
}

.ne-wwl-carousel .carousel-item img {
    height: 440px;
    object-fit: cover;
    object-position: center;
}

/* Tournament grid */

.ne-wwl-tournaments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.ne-wwl-tournament-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.05);
    position: relative;
    cursor: default;
}

.ne-wwl-tournament-cover {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ne-wwl-tournament-card:hover .ne-wwl-tournament-cover {
    transform: scale(1.04);
}

.ne-wwl-tournament-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.6rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.ne-wwl-tournament-name {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.ne-wwl-tournament-format {
    font-size: 0.7rem;
    color: var(--ne-accent);
    margin-top: 0.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ne-wwl-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ne-wwl-detail:last-child {
    border-bottom: none;
}

.ne-wwl-detail-icon {
    font-size: 1rem;
    color: var(--ne-accent);
    margin-top: 0.2rem;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.ne-wwl-detail-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.15rem;
}

.ne-wwl-detail-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.ne-wwl-detail-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.15rem;
}

/* ---- Officers ---- */

.ne-officer-section-heading {
    margin-bottom: 1.5rem !important;
}

.ne-officer-section-grid {
    margin-bottom: 3.5rem;
}

.ne-officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ne-officer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ne-card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ne-officer-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.ne-officer-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ne-officer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ne-officer-initials {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: -0.02em;
}

.ne-officer-info {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.ne-officer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.ne-officer-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ne-accent);
}

.ne-officer-bio {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0.5rem 0 0;
}

.ne-officer-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.ne-officer-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.ne-officer-link:hover {
    color: #fff;
}

.ne-officer-discord {
    cursor: default;
}

/* ---- Buttons ---- */

.ne-btn-primary {
    background-color: var(--ne-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: background-color 0.2s;
}

.ne-btn-primary:hover {
    background-color: var(--ne-accent-hover);
    color: #fff;
}

.ne-btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.ne-btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* ---- Banner ---- */

.ne-banner img {
    width: 100%;
    border-radius: var(--ne-card-radius);
}

/* ---- Footer ---- */

.ne-footer {
    background-color: #0a0a0f;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
}

.ne-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1rem 2.5rem;
}

@media (min-width: 768px) {
    .ne-footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 3rem;
    }
}

.ne-footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0.75rem 0 1.25rem;
    max-width: 280px;
}


.ne-social-icons {
    display: flex;
    gap: 0.75rem;
}

.ne-social-icons a {
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1;
}

.ne-social-icons a:hover {
    color: #fff;
}

.ne-footer-social {
    margin-top: 0;
}

.ne-footer-links h3,
.ne-footer-community h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
}

.ne-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ne-footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s;
}

.ne-footer-links a:hover {
    color: #fff;
}

.ne-footer-community p {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ne-footer-community {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ne-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 0;
}

.ne-footer-bottom .container {
    display: flex;
    align-items: center;
}

.ne-footer-bottom span {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

/* ---- Breadcrumb ---- */

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ---- Lists ---- */

ul li {
    margin-bottom: 0.25rem;
}

/* ---- Blazor error ---- */

#blazor-error-ui {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 9999;
}

.blazor-error-boundary {
    background-color: #b32121;
    padding: 1rem;
    color: white;
    border-radius: 8px;
}

/* ---- Break the Internet page ---- */

.ne-bti-banner {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.ne-btn-lg {
    padding: 0.65rem 1.6rem;
    font-size: 1rem;
}

/* Pass cards */

.ne-pass-card {
    background-color: rgba(255,255,255,0.07);
    border-radius: var(--ne-card-radius);
    display: flex;
    flex-direction: column;
}

.ne-pass-card--featured {
    background-color: rgba(0, 102, 204, 0.18);
    border: 1px solid var(--ne-accent);
}

.ne-pass-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.ne-pass-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ne-pass-includes {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    flex: 1;
    margin-bottom: 1rem;
}

.ne-pass-prices {
    display: flex;
    gap: 1.5rem;
}

.ne-pass-price {
    display: flex;
    flex-direction: column;
}

.ne-pass-price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.ne-pass-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.4);
}

/* Gallery */

.ne-bti-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ne-bti-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ne-bti-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ne-bti-gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 640px) {
    .ne-bti-gallery {
        grid-template-columns: 1fr;
    }
}

/* Getting Here */

.ne-getting-here-map {
    height: 100%;
    min-height: 340px;
}

.ne-getting-here-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.ne-getting-here-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.ne-getting-here-heading:first-child {
    margin-top: 0;
}

/* ---- Teams page ---- */

.ne-team-section {
    margin-bottom: 3.5rem;
}

.ne-team-section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ne-team-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.ne-team-section-game {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ne-accent);
}

.ne-team-empty {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin: 0;
}

/* ---- Player cards ---- */

.ne-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.ne-player-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ne-card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ne-player-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.ne-player-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ne-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ne-player-initials {
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

.ne-player-info {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.ne-player-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.ne-player-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.ne-player-role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ne-accent);
    margin-top: 0.1rem;
}

/* Blog post body content */
.ne-blog-content { color: rgba(255,255,255,0.85); line-height: 1.75; }
.ne-blog-content h1,.ne-blog-content h2,.ne-blog-content h3,
.ne-blog-content h4,.ne-blog-content h5 { color: #fff; margin-top: 2rem; font-weight: 700; }
.ne-blog-content p { margin-bottom: 1.25rem; }
.ne-blog-content a { color: var(--ne-accent); }
.ne-blog-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.ne-blog-content ul,.ne-blog-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.ne-blog-content blockquote {
    border-left: 4px solid var(--ne-accent);
    padding-left: 1rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    margin: 1.5rem 0;
}
.ne-blog-content code {
    background: rgba(255,255,255,0.08);
    padding: .1rem .4rem;
    border-radius: 4px;
    font-size: .875em;
}

/* Welcome Week LAN hero countdown */
.ne-wwl-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(74, 144, 217, 0.25);
    border-radius: 8px;
    background: rgba(6, 6, 15, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ne-wwl-countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.ne-wwl-countdown-clock {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.ne-wwl-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.5rem;
}

.ne-wwl-countdown-num {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ne-accent);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

.ne-wwl-countdown-unit-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.25rem;
}

.ne-wwl-countdown-sep {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(74, 144, 217, 0.4);
    padding-bottom: 1.1rem;
    line-height: 1;
}

/* 404 page */
.ne-404 {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #06060f;
    overflow: hidden;
}

.ne-404-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
}

.ne-404-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 50% at 50% 55%, rgba(74,144,217,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ne-404-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 1.5rem;
}

.ne-404-number {
    font-size: clamp(8rem, 22vw, 15rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(160deg, rgba(74,144,217,0.75) 0%, rgba(74,144,217,0.12) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 48px rgba(74,144,217,0.25));
    margin-bottom: 1.25rem;
    user-select: none;
}

.ne-404-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.ne-404-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 400px;
    margin: 0 auto 2rem;
}

/* 500 error page */
.ne-error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
    min-height: 40vh;
}

.ne-error-code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 900;
    line-height: 1;
    color: var(--ne-accent);
    opacity: 0.25;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.ne-error-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ne-error-message {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin-bottom: 2rem;
}

.ne-error-request-id {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.ne-error-request-id code {
    color: rgba(255, 255, 255, 0.45);
}
