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

/* ---- Inline SVG icons (replaces Font Awesome on public pages) ---- */
.ne-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

: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: 96px;
    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;
}

/* Lounge brand button — mirrors the Discord button */
.ne-btn-lounge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #ef137f;
    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-lounge:hover {
    background-color: #c60f68;
    color: #fff;
}

.ne-btn-lounge img {
    height: 1rem;
    width: auto;
    display: block;
    position: relative;
    top: 2px;
}

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

.ne-btn-secondary:hover {
    background-color: rgba(255,255,255,0.14);
    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-image:
        linear-gradient(105deg, rgba(5,31,66,0.96) 45%, rgba(5,31,66,0.6) 100%),
        image-set(
            url('images/WideViewWWL.webp') type('image/webp'),
            url('images/WideViewWWL.png') type('image/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: 1px solid rgba(255,255,255,0.08);
}

.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;
}

.ne-partners-marquee .ne-marquee-item {
    height: 90px;
    padding: 0 2rem;
    opacity: 0.4;
    filter: grayscale(1);
}
.ne-partners-marquee .ne-marquee-item:hover {
    opacity: 1;
    filter: none;
    transform: none;
}
.ne-partners-marquee .ne-marquee-item img {
    height: auto;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

/* ---- 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;
    }
}

/* ---- Hover block backgrounds ---- */
.ne-hblock-item--compete {
    background-image: url('/images/StudentsLinedUpAtArcade.jpg');
    background-image: image-set(
        url('/images/StudentsLinedUpAtArcade.webp') type('image/webp'),
        url('/images/StudentsLinedUpAtArcade.jpg') type('image/jpeg')
    );
}
.ne-hblock-item--connect {
    background-image: url('/images/StudentsTalking.jpg');
    background-image: image-set(
        url('/images/StudentsTalking.webp') type('image/webp'),
        url('/images/StudentsTalking.jpg') type('image/jpeg')
    );
}
.ne-hblock-item--study {
    background-image: url('/images/StudentSittingAtGamingRig.jpg');
    background-image: image-set(
        url('/images/StudentSittingAtGamingRig.webp') type('image/webp'),
        url('/images/StudentSittingAtGamingRig.jpg') type('image/jpeg')
    );
}
.ne-hblock-item--story {
    background-image: url('/images/WideViewWWL.png');
    background-image: image-set(
        url('/images/WideViewWWL.webp') type('image/webp'),
        url('/images/WideViewWWL.png') type('image/png')
    );
}

/* ---- 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-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;
    height: 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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    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);
    padding: 1.25rem;
    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);
}

.ne-pass-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

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

.ne-pass-card-price {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

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

.ne-pass-price-tier {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Registration notice banner */

.ne-reg-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ne-card-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.ne-reg-notice-icon {
    font-size: 1.25rem;
    color: var(--ne-accent);
    flex-shrink: 0;
}

.ne-reg-notice-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ne-reg-notice-text strong {
    color: #fff;
    font-size: 1rem;
}

.ne-reg-notice-text span {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Pass tier cards */

.ne-pass-tier {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ne-card-radius);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}

.ne-pass-tier--featured {
    border-color: var(--ne-accent);
    background: rgba(0, 102, 204, 0.1);
}

.ne-pass-tier-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ne-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
}

.ne-pass-tier-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ne-pass-tier-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.6rem;
}

.ne-pass-tier--featured .ne-pass-tier-name {
    color: var(--ne-accent);
}

.ne-pass-tier-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.ne-pass-tier-price-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.ne-pass-tier-price-unit {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.ne-pass-tier-student-price {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.25rem;
}

.ne-pass-tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.25rem;
    margin-top: auto;
}

.ne-pass-tier-features li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    padding-left: 1.1rem;
    position: relative;
}

.ne-pass-tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ne-accent);
    font-size: 0.75rem;
    top: 0.05em;
}

.ne-pass-tier-features li strong {
    color: #fff;
}

/* Tournament list */

.ne-tournament-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.ne-tournament-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ne-card-radius);
    padding: 1rem 0.75rem 0.85rem;
    text-align: center;
}

.ne-tournament-logo-wrap {
    width: 100%;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.ne-tournament-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ne-tournament-logo--white {
    filter: brightness(0) invert(1);
}

.ne-tournament-logo--multiply {
    mix-blend-mode: multiply;
}

.ne-tournament-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.3;
}

.ne-tournament-format {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ne-accent);
    background: rgba(0,102,204,0.2);
    border: 1px solid rgba(0,102,204,0.35);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    line-height: 1.6;
}

/* Events section sub-label */

.ne-events-sublabel {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ne-accent);
}

/* Special event cards (live music, cosplay, etc.) */

.ne-special-event-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ne-card-radius);
}

.ne-special-event-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74,144,217,0.12);
    border-radius: 8px;
    color: var(--ne-accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ne-special-event-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ne-accent);
    margin-bottom: 0.3rem;
}

.ne-special-event-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.ne-special-event-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* Cosplay categories inside the special event card */

.ne-cosplay-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ne-cosplay-category {
    border-left: 2px solid rgba(74,144,217,0.3);
    padding-left: 0.75rem;
}

.ne-cosplay-category-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.ne-cosplay-category-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.45;
}

/* Special events grid (live music + cosplay) */

.ne-events-grid {
    display: flex;
    align-items: stretch;
}

.ne-event-item {
    flex: 1;
    padding: 1.5rem;
}

.ne-events-divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
    margin: 1rem 0;
    flex-shrink: 0;
}

.ne-event-item-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ne-accent);
    margin-bottom: 0.4rem;
}

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

.ne-event-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

.ne-event-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ne-accent);
    text-decoration: none;
}

.ne-event-link:hover {
    text-decoration: underline;
    color: var(--ne-accent);
}

.ne-event-cat-pill {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

/* Cosplay categories */

.ne-cosplay-cat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ne-card-radius);
    padding: 1rem 1.25rem;
    height: 100%;
}

.ne-cosplay-cat-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.ne-cosplay-cat-desc {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* Pass comparison table */

.ne-pass-compare {
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ne-pass-compare th,
.ne-pass-compare td {
    padding: 0.85rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ne-pass-compare th:first-child,
.ne-pass-compare td:first-child {
    text-align: left;
    padding-left: 1.5rem;
}

.ne-pass-compare-th {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.ne-pass-compare-th--featured {
    color: var(--ne-accent);
    background: rgba(0,102,204,0.12);
}

.ne-pass-compare-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
}

.ne-pass-compare-cell {
    color: rgba(255,255,255,0.35);
}

.ne-pass-compare-cell--featured {
    background: rgba(0,102,204,0.07);
}

.ne-pass-compare-cell--yes {
    color: var(--ne-accent);
    font-size: 1rem;
}

.ne-pass-compare-cell--no {
    color: rgba(255,255,255,0.15);
}

.ne-pass-compare-cell--highlight {
    color: var(--ne-accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.ne-pass-compare-price-row td {
    border-bottom: none;
}

.ne-pass-compare-price-row:first-of-type td {
    border-top: 2px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
}

.ne-pass-compare-price-row:last-child td {
    padding-bottom: 1.5rem;
}

.ne-pass-compare-cell--price {
    vertical-align: middle;
}

.ne-pass-compare-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    display: block;
}

.ne-pass-compare-student-row .ne-pass-compare-price {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
}

.ne-pass-compare-student-row .ne-pass-compare-label {
    color: rgba(255,255,255,0.3);
}

/* 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);
}


/* ---- Minecraft page ---- */

.ne-section-heading[id] {
    scroll-margin-top: 5rem;
}

.ne-event-hero--lykopolis {
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-image:
        linear-gradient(180deg, rgba(6, 6, 15, 0.85) 0%, rgba(6, 6, 15, 0.5) 60%, rgba(5, 31, 66, 0.9) 100%),
        url('/images/Lykopolis.webp');
    background-size: cover;
    background-position: center 60%;
}

.ne-event-hero--lykopolis::before,
.ne-event-hero--lykopolis::after {
    display: none;
}

.ne-event-hero--lykopolis .ne-page-header-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Hero folds up as the page scrolls; browsers without scroll timelines keep the tall hero. */
@supports (animation-timeline: scroll()) {
    .ne-event-hero--lykopolis {
        animation: ne-hero-collapse linear both;
        animation-timeline: scroll(root);
        animation-range: 0 400px;
    }
    @keyframes ne-hero-collapse {
        to { min-height: 30vh; }
    }
}

.ne-toc {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.ne-toc-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ne-accent);
    margin-bottom: 0.5rem;
}

.ne-toc a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-left: 2px solid rgba(255,255,255,0.1);
    transition: color 0.15s, border-color 0.15s;
}

.ne-toc a:hover,
.ne-toc a.active {
    color: #fff;
    border-left-color: var(--ne-accent);
}

.ne-mc-lede {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #fff;
}

.ne-mc-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991.98px) {
    .ne-toc {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .ne-toc-title {
        width: 100%;
        margin-bottom: 0;
    }
    .ne-toc a {
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        padding: 0.35rem 0.75rem;
    }
    .ne-toc a.active {
        border-color: var(--ne-accent);
    }
}

.ne-mc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.ne-mc-table td {
    padding: 0.6rem 0.75rem 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    vertical-align: top;
    line-height: 1.55;
}

.ne-mc-table tr:last-child td {
    border-bottom: none;
}

.ne-mc-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
    padding-right: 1.25rem;
}

@media (max-width: 575.98px) {
    .ne-mc-table td {
        display: block;
        padding-right: 0;
    }
    .ne-mc-table td:first-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.ne-mc-warn {
    color: #e48a74;
}

.ne-mc-table code,
.ne-info-card code {
    color: var(--ne-accent);
    font-size: 0.9em;
}
