/* ROSO Esports - Red & Black Theme */
:root {
    /* Primary Color Palette - Red & Black */
    --primary-red: #DC143C;
    --primary-red-dark: #8B0000;
    --primary-black: #0a0a0a;
    --accent-red: #FF0000;
    --accent-red-light: #FF6B6B;
    
    /* Neutrals */
    --surface-darkest: #0a0a0a;
    --surface-dark: #1a1a1a;
    --surface-medium: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    
    /* Effects - Red Glowing */
    --shadow-red-soft: 0 0 20px rgba(220, 20, 60, 0.6);
    --shadow-red-intense: 0 0 30px rgba(220, 20, 60, 0.8);
    --glow-red: 0 0 15px rgba(220, 20, 60, 0.5);
    
    /* Hamburger Menu Animation */
    --hamburger-translate: 7px;
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background: var(--surface-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container System */
.container {
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}

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

/* Navigation Bar - Unique Implementation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-block-end: 1px solid rgba(220, 20, 60, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.2rem;
}

.logo a {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* New image-based logo styles */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

/* Legacy text-based logo styles (kept for reference) */
/*
.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.125em;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.5));
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-red);
    letter-spacing: 0.1875em;
    margin-top: -0.3125rem;
    text-shadow: var(--glow-red);
}
*/

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-block-end: 0.3125rem;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-red);
    box-shadow: var(--glow-red);
    transition: width 0.3s ease;
}

.nav-menu > li:hover > a::after {
    width: 100%;
}

.nav-menu > li:hover > a {
    color: var(--primary-red);
    text-shadow: var(--glow-red);
}

/* ── Nav Dropdown Menus ── */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 20, 60, 0.1);
    z-index: 1001;
}

.nav-menu > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    background: rgba(220, 20, 60, 0.1);
    color: var(--primary-red);
    padding-left: 1.5rem;
}

.nav-dropdown li a::after {
    display: none;
}

/* ── Hamburger Menu Button (Mobile Only) ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    margin: 5px 0;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(var(--hamburger-translate), var(--hamburger-translate));
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(var(--hamburger-translate), calc(-1 * var(--hamburger-translate)));
}

/* ── Mobile Navigation Overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.nav-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.btn-shop {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    padding: 0.7rem 1.8rem;
    border-radius: 1.5625rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-shop:hover {
    background: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: var(--shadow-red-soft);
}

/* Hero Section - Unique Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content.hero-content-visible {
    animation: heroContentSlideIn 1s ease-out forwards;
}

@keyframes heroContentSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3125rem;
    line-height: 1.2;
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.5));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button System - Original Implementation */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 1.875rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4), var(--shadow-red-intense);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4), var(--shadow-red-soft);
}

/* ── Golden Contributors Button ── */
.contributors-button-wrapper {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-contributors {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #0a0a0a;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.btn-contributors:hover {
    background: transparent;
    border-color: #FFD700;
    color: #FFD700;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Section Styling */
section {
    padding-block: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.1875rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s ease, color 0.4s ease;
    cursor: default;
}

.section-header h2:hover {
    transform: translateY(-6px) scale(1.05);
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.6), 0 0 20px rgba(220, 20, 60, 0.4), 0 0 40px rgba(220, 20, 60, 0.2);
    animation: headerBounce 0.6s ease;
}

@keyframes headerBounce {
    0% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-10px) scale(1.07); }
    50% { transform: translateY(-4px) scale(1.04); }
    70% { transform: translateY(-8px) scale(1.06); }
    100% { transform: translateY(-6px) scale(1.05); }
}

/* Page title hover effect */
.page-title {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s ease;
    cursor: default;
}

.page-title:hover {
    transform: translateY(-6px) scale(1.05);
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.6), 0 0 20px rgba(220, 20, 60, 0.4), 0 0 40px rgba(220, 20, 60, 0.2);
    animation: headerBounce 0.6s ease;
}

/* Hero title hover effect */
.hero-title {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    cursor: default;
}

.hero-title:hover {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.8)) drop-shadow(0 0 40px rgba(220, 20, 60, 0.4));
    animation: headerBounce 0.6s ease;
}

/* Contact section header hover */
.contact-content h2 {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s ease, color 0.4s ease;
    display: inline-block;
    cursor: default;
}

.contact-content h2:hover {
    transform: translateY(-6px) scale(1.05);
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.6), 0 0 20px rgba(220, 20, 60, 0.4), 0 0 40px rgba(220, 20, 60, 0.2);
    animation: headerBounce 0.6s ease;
}

.header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    margin-inline: auto;
    box-shadow: var(--glow-red);
}

/* About Section */
.about {
    background: var(--surface-dark);
}

.about-page {
    padding-block: 4rem;
}

.about-content {
    position: relative;
}

.about-sides-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
    padding-block: 2rem;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.about-side-left {
    justify-self: center;
}

.about-side-right {
    justify-self: center;
}

.about-center {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-center-text {
    max-width: 600px;
    margin-top: 2rem;
    text-align: center;
}

.about-center-text p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    border-left: 3px solid var(--primary-red);
    padding-left: 1.25rem;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.06), transparent);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
}

.about-text p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    border-left: 3px solid var(--primary-red);
    padding-left: 1.25rem;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.06), transparent);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(220, 20, 60, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-side .stat-item {
    width: 100%;
    max-width: 180px;
    text-align: center;
}

.stat-item:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-red-soft);
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    text-shadow: var(--glow-red);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.125rem;
}

/* Teams Section */
.teams {
    background: var(--surface-medium);
}

/* Teams grid — always show cards side by side, never single column */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.9), rgba(30, 30, 30, 0.9));
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-red);
    box-shadow: 
        0 20px 40px rgba(220, 20, 60, 0.3),
        0 0 60px rgba(220, 20, 60, 0.2);
}

.team-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}

.team-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-red);
    text-shadow: var(--glow-red);
    min-height: 2.5em;
}

.team-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-link {
    color: var(--primary-red);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.team-link:hover {
    color: var(--accent-red-light);
    transform: translateX(5px);
}

/* On the dedicated teams page, ensure horizontal display */
.rosters-section .teams-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.rosters-section .teams-grid .team-card-link {
    flex: 1 1 150px;
    max-width: 220px;
}

/* ── Twitter Embed Card (Home Page) ── */
.twitter-embed-card {
    grid-column: span 2;
}

.twitter-embed-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

.twitter-embed-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 20, 60, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

/* Home page teams grid — 2 team cards + 1 wide twitter card */
.home-teams-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ── Home Teams Showcase (redesigned) ── */
.home-teams-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.home-divisions-strip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95), rgba(25, 25, 25, 0.9));
}

.home-division-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 3rem 3.5rem;
    transition: background 0.3s ease;
}

.home-division-item:hover {
    background: rgba(220, 20, 60, 0.06);
}

.home-division-sep {
    width: 1px;
    background: rgba(220, 20, 60, 0.3);
    align-self: stretch;
    margin: 1.5rem 0;
}

.home-division-logo-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.08);
    border-radius: 1rem;
    border: 1px solid rgba(220, 20, 60, 0.2);
    padding: 0.6rem;
}

.home-division-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-division-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.home-division-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    line-height: 1;
}

.home-division-count {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

@media (max-width: 640px) {
    .home-divisions-strip {
        flex-direction: column;
    }
    .home-division-sep {
        width: auto;
        height: 1px;
        margin: 0 1.5rem;
        align-self: stretch;
    }
    .home-division-item {
        padding: 2rem 2rem;
    }
    .home-division-name {
        font-size: 1.5rem;
    }
}


.news {
    background: var(--surface-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.news-card {
    background: rgba(15, 15, 15, 0.9);
    border-radius: 0.9375rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(220, 20, 60, 0.3);
}

.news-card.featured {
    grid-row: span 2;
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(139, 0, 0, 0.2));
}

.news-card.featured .news-image {
    height: 300px;
}

.news-content {
    padding: 2rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-primary);
    padding: 0.3rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.0625rem;
    margin-bottom: 1rem;
    box-shadow: var(--glow-red);
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-card.featured .news-content h3 {
    font-size: 1.8rem;
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-date {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* News Twitter Embed */
.news-twitter-embed {
    padding: 2rem;
}

.news-twitter-embed:hover {
    transform: none;
}

.news-twitter-embed h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

/* Partners Section */
.partners {
    background: var(--surface-medium);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    border-radius: 0.9375rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-tertiary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: scale(1.1);
    box-shadow: var(--shadow-red-soft);
}

/* Contact Section */
.contact {
    background: var(--surface-dark);
    text-align: center;
}

.contact-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.875rem;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form input:focus {
    border-color: var(--primary-red);
    background: rgba(220, 20, 60, 0.05);
    box-shadow: var(--shadow-red-soft);
}

.newsletter-form input::placeholder {
    color: var(--text-tertiary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-red-soft);
}

/* Footer */
.footer {
    background: var(--surface-medium);
    padding: 4rem 0 2rem;
    border-block-start: 1px solid rgba(220, 20, 60, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    text-shadow: var(--glow-red);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    font-style: italic;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-block-start: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-sides-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-side {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .about-side-left,
    .about-side-right {
        justify-self: center;
    }

    .about-center { 
        grid-column: 1; 
    }
    
    .about-center-text {
        margin-inline: auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .nav-hamburger {
        display: flex;
    }
    
    /* Transform nav-menu into mobile slide-in menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 999;
        transition: right 0.35s ease;
        overflow-y: auto;
        display: flex;
    }
    
    .nav-menu.nav-menu-open {
        right: 0;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid rgba(220, 20, 60, 0.15);
    }
    
    .nav-menu > li > a {
        padding: 1rem 0;
        display: block;
        font-size: 1.1rem;
    }
    
    /* Mobile dropdowns - no absolute positioning, show/hide on click */
    .nav-dropdown {
        position: static;
        transform: none;
        min-width: unset;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 0.5rem 1rem;
        box-shadow: none;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .nav-menu > li.mobile-dropdown-open .nav-dropdown {
        display: block;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 4rem;
    }
    
    section {
        padding-block: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
    }
    
    .page-hero {
        padding: 7rem 0 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .teams-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        /* Maintain horizontal layout to preserve design intent across all breakpoints */
    }
    
    .home-teams-grid {
        grid-template-columns: 1fr;
    }
    
    .twitter-embed-card {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo-image {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        letter-spacing: 0.15rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .coming-soon-categories {
        gap: 1rem;
    }
    
    .merch-category {
        min-width: 100px;
        padding: 1rem;
    }
    
    .container {
        padding-inline: 1rem;
    }
    
    .teams-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .rp-pfp {
        width: 48px;
        height: 48px;
    }
    
    .player-modal-pfp {
        width: 80px;
        height: 80px;
    }
    
    /* Legacy text logo mobile style (kept for reference) */
    /*
    .logo-text {
        font-size: 1.5rem;
    }
    */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface-medium);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Custom Team Logos */
.custom-logo {
    width: 64px;
    height: 64px;
    position: relative;
    margin: 0 auto;
}

.custom-logo .logo-shape {
    width: 100%;
    height: 100%;
    position: relative;
}

.valorant-logo .logo-shape {
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 50%, #0a0a0a 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.8));
    animation: logoRotate 8s linear infinite;
}

.overwatch-logo .logo-shape {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    clip-path: circle(50% at 50% 50%);
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.8));
}

.overwatch-logo .logo-shape::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    background: #0a0a0a;
    clip-path: circle(50% at 50% 50%);
}

.overwatch-logo .logo-shape::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    top: 35%;
    left: 35%;
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 100%);
    clip-path: circle(50% at 50% 50%);
}

.rocket-logo .logo-shape {
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.8));
    animation: logoPulse 3s ease-in-out infinite;
}

.tbd-logo .logo-shape {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-red);
}

.tbd-logo .logo-shape::before {
    content: '?';
    animation: questionBounce 2s ease-in-out infinite;
}

@keyframes logoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes questionBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Page-specific styles */
.page-hero {
    padding: 10rem 0 4rem;
    background: var(--surface-dark);
    text-align: center;
}

.page-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    text-shadow: var(--glow-red);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.legal-content, .contact-page-content {
    padding: 4rem 0;
    background: var(--surface-darkest);
}

.legal-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(220, 20, 60, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
}

.legal-section h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.contact-item h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    padding: 2rem;
    background: rgba(220, 20, 60, 0.05);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: var(--glow-red);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

::selection {
    background: var(--primary-red);
    color: var(--text-primary);
}

/* ── Hero Background Video ── */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.35);
}

/* ── Leadership Section (About Page) ── */
.roso-leadership {
    padding-block: 5rem;
    background: var(--surface-medium);
}

.leadership-roster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.leader-profile {
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.95));
    border: 1px solid rgba(220, 20, 60, 0.15);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.leader-profile:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.25);
}

.leader-avatar {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.leader-pfp {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(220, 20, 60, 0.4);
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.leader-profile:hover .leader-pfp {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.35);
}

.leader-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.leader-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.leader-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Rosters Section (Teams Page) ── */
.rosters-section {
    padding-block: 5rem;
    background: var(--surface-darkest);
}

.rosters-section h2 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rosters-section h2:first-of-type {
    margin-top: 0;
}

.roster-panel {
    margin-bottom: 3.5rem;
    border: 1px solid rgba(220, 20, 60, 0.12);
    border-radius: 1rem;
    overflow: hidden;
}

.roster-panel-header {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.12), rgba(139, 0, 0, 0.08));
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.roster-icon {
    font-size: 2.5rem;
}

.roster-panel-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-red);
}

.roster-panel-header p {
    flex-basis: 100%;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.roster-panel-body {
    padding: 2rem 2.5rem 2.5rem;
}

.roster-panel-body h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.roster-panel-body h4:first-child {
    margin-top: 0;
}

.rp-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.rp-entry {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    min-width: 160px;
}

.rp-entry.rp-entry-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.75rem;
    flex: 0 1 calc(20% - 1.5rem);
    min-width: 200px;
    gap: 0.75rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.rp-entry.rp-entry-card:hover {
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.rp-entry.rp-entry-card .rp-pfp {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.rp-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-red);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.rp-handle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

.player-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

.rp-entry.rp-entry-card::after {
    content: "Click for details";
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--primary-red);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rp-entry.rp-entry-card:hover::after {
    opacity: 1;
}

/* ── Newsfeed Section (News Page) ── */
.newsfeed-section {
    padding-block: 5rem;
    background: var(--surface-darkest);
}

.newsfeed-grid {
    display: grid;
    gap: 2rem;
}

.nf-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: rgba(15, 15, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.9rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nf-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 6px 28px rgba(220, 20, 60, 0.2);
}

.nf-featured {
    grid-template-columns: 340px 1fr;
}

.nf-thumb {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25), rgba(139, 0, 0, 0.15));
    min-height: 160px;
}

.nf-featured .nf-thumb {
    min-height: 220px;
}

.nf-body {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.nf-label {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-primary);
    padding: 0.25rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    width: fit-content;
}

.nf-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.nf-featured .nf-body h3 {
    font-size: 1.5rem;
}

.nf-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.nf-date {
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

/* ── Partners / Collabs Section (Partners Page) ── */
.collabs-section {
    padding-block: 5rem;
    background: var(--surface-darkest);
}

.collabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collab-card {
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.95));
    border: 1px solid rgba(220, 20, 60, 0.12);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.collab-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-6px);
}

.collab-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.collab-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
}

.collab-blurb {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.collab-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.collab-link:hover {
    border-color: var(--primary-red);
}

/* ── Responsive additions for new sections ── */
@media (max-width: 900px) {
    .leadership-roster {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
    .nf-card, .nf-featured {
        grid-template-columns: 1fr;
    }
    .nf-thumb, .nf-featured .nf-thumb {
        min-height: 140px;
    }
}

@media (max-width: 600px) {
    .roster-panel-header,
    .roster-panel-body {
        padding-inline: 1.25rem;
    }
    .rp-entry {
        min-width: auto;
        flex: 1 1 100%;
    }
    .rp-entry.rp-entry-card {
        flex: 0 1 auto;
        min-width: 120px;
    }
}

/* ── Site Loading Animation ── */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--surface-darkest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderPulseGlow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.8));
}

.loader-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    opacity: 0;
    animation: loaderFadeIn 0.8s ease 0.3s forwards;
}

.loader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #DC143C, #FF6B6B);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
    animation: loaderFill 2.2s ease forwards;
}

@keyframes loaderPulseGlow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.6)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 30px rgba(220, 20, 60, 1)); transform: scale(1.05); }
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

@keyframes loaderFill {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ── Under Development Popup ── */
.dev-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(4px);
}

.dev-popup-overlay.popup-visible {
    opacity: 1;
    visibility: visible;
}

.dev-popup {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dev-popup-overlay.popup-visible .dev-popup {
    transform: scale(1) translateY(0);
}

.dev-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.dev-popup-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.dev-popup-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.dev-popup-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.dev-popup-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.dev-popup-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    margin-top: 0.75rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.dev-popup-discord-icon {
    font-size: 1.2rem;
}

.dev-popup-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ── VALORANT Team Chooser Popup ── */
.val-chooser-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(6px);
}
.val-chooser-overlay.val-chooser-visible {
    opacity: 1;
    visibility: visible;
}
.val-chooser-popup {
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.val-chooser-overlay.val-chooser-visible .val-chooser-popup {
    transform: scale(1) translateY(0);
}
.val-chooser-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}
.val-chooser-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}
.val-chooser-icon {
    margin-bottom: 1rem;
}
.val-chooser-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: var(--glow-red);
    margin-bottom: 0.5rem;
}
.val-chooser-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.val-chooser-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.val-chooser-btn {
    width: 100%;
    text-align: center;
}

/* ── SVG Social Icons ── */
.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--primary-red);
}

/* ── Leader Twitter Button ── */
.leader-twitter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.leader-twitter svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.leader-twitter:hover {
    background: rgba(29, 161, 242, 0.15);
    border-color: #1DA1F2;
    color: #1DA1F2;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

/* ── Discord Widget Section ── */
.discord-section {
    background: var(--surface-medium);
    padding-block: 5rem;
}

.discord-widget-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.discord-widget-wrapper iframe {
    border-radius: 1rem;
    border: 1px solid rgba(88, 101, 242, 0.3);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.2);
}

.discord-cta {
    max-width: 400px;
}

.discord-cta h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.discord-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ── Built By Star ── */
.built-by {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.built-by-star {
    color: #9B59B6;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(155, 89, 182, 0.6), 0 0 20px rgba(155, 89, 182, 0.4);
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.built-by-star:hover {
    color: #BB77D6;
    text-shadow: 0 0 12px rgba(155, 89, 182, 0.8), 0 0 30px rgba(155, 89, 182, 0.5), 0 0 50px rgba(155, 89, 182, 0.3);
}

/* ── Built By Star Page ── */
.built-by-section {
    padding-block: 6rem;
    background: var(--surface-darkest);
}

.built-by-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.95));
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 1rem;
    padding: 3rem 2.5rem;
}

.built-by-card:hover {
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 0 8px 32px rgba(155, 89, 182, 0.15);
}

.built-by-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.built-by-card h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.built-by-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Contributors Section ── */
.contributors-section {
    padding-block: 5rem;
    background: var(--surface-dark);
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin-inline: auto;
}

.contributor-card {
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.95), rgba(28, 28, 28, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.contributor-card:hover {
    border-color: #FFD700;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.contributor-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contributor-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contributor-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.contributor-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .discord-widget-wrapper {
        flex-direction: column;
    }
    .discord-widget-wrapper iframe {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 600px) {
    .contributors-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ── SVG Game Icons ── */
.team-icon svg,
.roster-icon svg {
    width: 48px;
    height: 48px;
}

/* Custom logos inside roster panels */
.roster-icon .custom-logo {
    width: 48px;
    height: 48px;
}

.roster-icon .custom-logo .logo-shape {
    width: 100%;
    height: 100%;
}

/* ── Condensed Contact Info ── */
.contact-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-shadow: var(--glow-red);
}

.contact-email-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 20, 60, 0.08);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 0.5rem;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-email-highlight:hover {
    border-color: var(--primary-red);
    box-shadow: var(--glow-red);
}

.contact-email-highlight a {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-categories {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-categories li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-categories li::before {
    content: '→';
    color: var(--primary-red);
    font-weight: 700;
}

/* ── Game Logo SVGs ── */
.game-logo {
    width: 64px;
    height: 64px;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(220, 20, 60, 0.7));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.team-card:hover .game-logo {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 1));
}

.game-logo.tbd-icon {
    animation: questionBounce 2s ease-in-out infinite;
}

.roster-icon .game-logo {
    width: 48px;
    height: 48px;
}

/* ── About Reveal Animation ── */
.about-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 30px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.scroll-indicator.scroll-indicator-visible {
    opacity: 1;
    transform: translateX(-50%);
    animation: scrollIndicatorBounce 2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}

.scroll-indicator-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--primary-red);
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.5);
}

.scroll-indicator-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--primary-red);
    box-shadow: 0 0 6px rgba(220, 20, 60, 0.5);
}

.scroll-indicator-arrow {
    width: 16px;
    height: 16px;
    color: var(--primary-red);
}

@keyframes scrollIndicatorBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    30% { transform: translateX(-50%) translateY(10px); }
    50% { transform: translateX(-50%) translateY(-4px); }
    70% { transform: translateX(-50%) translateY(4px); }
    85% { transform: translateX(-50%) translateY(-2px); }
}

/* ── Section Entrance Enhancements ── */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.header-line {
    transition: width 0.6s ease;
}

/* ── Enhanced Hero Glow Pulse ── */
.hero-title {
    animation: heroTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes heroTitleGlow {
    0% { text-shadow: 0 0 20px rgba(220, 20, 60, 0.3); }
    100% { text-shadow: 0 0 40px rgba(220, 20, 60, 0.7), 0 0 80px rgba(220, 20, 60, 0.3); }
}

/* ── Team Icon Image Placeholders ── */
.team-icon-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(220, 20, 60, 0.3);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.team-card:hover .team-icon-img {
    transform: scale(1.15);
    border-color: var(--primary-red);
}

/* ── Team Card Link Wrapper ── */
.team-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

/* ── Team Page Header (individual team pages) ── */
.team-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.team-page-icon {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid rgba(220, 20, 60, 0.4);
}

/* ── Player / Staff Profile Picture (PFP) ── */
.rp-pfp {
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    border: 1px solid rgba(220, 20, 60, 0.3);
    flex-shrink: 0;
    background: #1a1a1a;
}

.rp-pfp.rp-pfp-top {
    object-position: center top;
}

@media (max-width: 600px) {
    .team-page-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Animated Logo Styles */
.animated-logo-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.animated-logo {
    width: 150px;
    height: auto;
    animation: logoSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               logoHover 2.5s ease-in-out 1.2s infinite;
    transform-origin: center center;
    filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.5));
}

/* Bars that appear alongside the logo */
.logo-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.logo-bars.right {
    align-items: flex-start;
}

.logo-bars .bar {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.9), rgba(255, 107, 107, 0.4));
    border-radius: 1px;
    animation: barAppear 0.5s ease-out forwards;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
}

.logo-bars.right .bar {
    background: linear-gradient(270deg, rgba(220, 20, 60, 0.9), rgba(255, 107, 107, 0.4));
    transform-origin: left center;
}

.logo-bars .bar:nth-child(1) { width: 40px; animation-delay: 0.1s; }
.logo-bars .bar:nth-child(2) { width: 60px; animation-delay: 0.2s; }
.logo-bars .bar:nth-child(3) { width: 80px; animation-delay: 0.3s; }
.logo-bars .bar:nth-child(4) { width: 60px; animation-delay: 0.4s; }
.logo-bars .bar:nth-child(5) { width: 40px; animation-delay: 0.5s; }

/* Spin once animation */
@keyframes logoSpin {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
        filter: drop-shadow(0 0 0px rgba(220, 20, 60, 0));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.8));
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.5));
    }
}

/* Continuous hover/float animation */
@keyframes logoHover {
    0% {
        transform: scale(1) rotate(360deg) translateY(0);
        filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.5));
    }
    50% {
        transform: scale(1.03) rotate(360deg) translateY(-8px);
        filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.7));
    }
    100% {
        transform: scale(1) rotate(360deg) translateY(0);
        filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.5));
    }
}

/* Bars slide in */
@keyframes barAppear {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Bars fade out */
@keyframes barDisappear {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

/* ── Hero Video Fullscreen Button ── */
.hero-video-fullscreen-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(220, 20, 60, 0.4);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(4px);
    animation: watchBtnBounce 2s ease-in-out infinite;
}

.hero-video-fullscreen-btn:hover {
    background: rgba(220, 20, 60, 0.2);
    border-color: var(--primary-red);
    color: var(--text-primary);
}

.hero-video-fullscreen-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@keyframes watchBtnBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ── Video Fullscreen Overlay ── */
.video-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-fullscreen-overlay.vfo-visible {
    opacity: 1;
    visibility: visible;
}

.video-fullscreen-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vfo-controls {
    position: absolute;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.vfo-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.25s ease;
}

.vfo-btn:hover {
    background: rgba(220, 20, 60, 0.4);
}

.vfo-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    z-index: 2;
}

.vfo-close:hover {
    background: rgba(220, 20, 60, 0.5);
}

.vfo-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vfo-volume-label {
    color: #fff;
    font-size: 1rem;
    cursor: default;
}

.vfo-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.vfo-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
}

.vfo-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--primary-red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animated-logo {
        animation: none;
        transform: scale(1);
        filter: none;
    }
    .logo-bars .bar {
        animation: none;
        opacity: 0;
    }
}

/* ── Shop Coming Soon Page ── */
.shop-coming-soon {
    padding: 6rem 0;
    background: var(--surface-darkest);
    text-align: center;
}

.coming-soon-content {
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.coming-soon-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    text-shadow: var(--glow-red);
    margin-bottom: 1.5rem;
}

.coming-soon-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.coming-soon-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.merch-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    min-width: 120px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.merch-category:hover {
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.15);
}

.merch-icon {
    font-size: 2rem;
}

.merch-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Shop Section ── */
.shop-section {
    padding: 4rem 0 6rem;
    background: var(--surface-darkest);
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.shop-filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-filter-btn:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: rgba(220, 20, 60, 0.3);
    color: var(--text-primary);
}

.shop-filter-btn.active {
    background: rgba(220, 20, 60, 0.2);
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 0 16px rgba(220, 20, 60, 0.3);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-product-card {
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shop-product-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.2);
    transform: translateY(-4px);
}

.shop-product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15) 0%, rgba(13, 13, 13, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-product-info {
    padding: 1.5rem;
}

.shop-product-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.shop-add-to-cart {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary-red);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-add-to-cart:hover {
    background: #e01448;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .shop-product-image {
        height: 240px;
    }
}

/* ── Player Profile Modal ── */
.player-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(6px);
}

.player-modal-overlay.player-modal-visible {
    opacity: 1;
    visibility: visible;
}

.player-modal {
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-modal-overlay.player-modal-visible .player-modal {
    transform: scale(1) translateY(0);
}

.player-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.player-modal-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.player-modal-pfp {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    border: 2px solid rgba(220, 20, 60, 0.4);
    background: #1a1a1a;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.25);
}

.player-modal-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.player-modal-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.player-modal-bio {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.player-modal-socials {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.player-modal-socials .social-icon {
    width: 40px;
    height: 40px;
}

.player-modal-socials .social-icon svg {
    width: 18px;
    height: 18px;
}

/* ── Clickable Player Cards ── */
.rp-entry.rp-entry-card {
    cursor: pointer;
}

.rp-entry.rp-entry-card:hover {
    border-color: rgba(220, 20, 60, 0.5);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.2);
    transform: translateY(-8px) scale(1.02);
}

/* ── Spacing Fixes ── */
.page-hero {
    padding: 10rem 0 3rem;
    text-align: center;
}

.page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    text-align: center;
}

.page-subtitle {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
}

.rosters-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rosters-section .roster-panel {
    width: 100%;
    max-width: 900px;
}

.rosters-section .btn-secondary {
    margin-top: 1.5rem;
    align-self: center;
}

.teams-grid {
    justify-items: center;
}

.footer-content {
    text-align: left;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* ── Events Section (Events Page) ── */
.events-section {
    padding-block: 5rem;
    background: var(--surface-darkest);
}

.events-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin-inline: auto;
}

.event-card {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.9), rgba(30, 30, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.event-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.25);
    transform: translateY(-4px);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), rgba(139, 0, 0, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-status {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-upcoming {
    background: var(--primary-red);
    color: var(--text-primary);
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.4);
}

.status-live {
    background: #00ff88;
    color: #000;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.6);
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(0, 255, 136, 0.6);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 24px rgba(0, 255, 136, 0.9);
        opacity: 0.9;
    }
}

.status-completed {
    background: rgba(128, 128, 128, 0.3);
    color: var(--text-tertiary);
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.event-game {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-body {
    padding: 2rem 1.75rem;
}

.event-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.event-format {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.92rem;
    transition: gap 0.3s ease;
}

.event-link:hover {
    gap: 0.75rem;
}

/* ── Events Responsive ── */
@media (max-width: 768px) {
    .event-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    
    .event-body {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding-block: 3rem;
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .event-desc {
        font-size: 0.9rem;
    }
}

/* ── Communities Section (NRG Style for Teams Page) ── */
.communities-section {
    padding: 5rem 0;
    background: var(--surface-darkest);
    min-height: 60vh;
}

.community-block {
    margin-bottom: 5rem;
}

.community-block:last-child {
    margin-bottom: 0;
}

.community-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.community-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(139, 0, 0, 0.05));
    border-radius: 1rem;
    border: 2px solid rgba(220, 20, 60, 0.3);
    padding: 0.75rem;
}

.community-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.community-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0;
}

.community-teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.community-team-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.community-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.community-team-card:hover::before {
    transform: scaleX(1);
}

.community-team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 
        0 15px 35px rgba(220, 20, 60, 0.2),
        0 0 40px rgba(220, 20, 60, 0.15);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(35, 35, 35, 0.7));
}

.community-team-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.team-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.team-arrow {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.community-team-card:hover .team-arrow {
    transform: translateX(8px);
}

/* Responsive Design for Communities Section */
@media (max-width: 768px) {
    .community-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .community-icon {
        width: 60px;
        height: 60px;
    }
    
    .community-title {
        font-size: 2rem;
    }
    
    .community-teams {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .communities-section {
        padding: 3rem 0;
    }
    
    .community-block {
        margin-bottom: 3rem;
    }
    
    .community-title {
        font-size: 1.75rem;
    }
    
    .team-name {
        font-size: 1.25rem;
    }
    
    .community-team-card {
        padding: 2rem 1.5rem;
    }
}
