/* ============================================
   REAGANVERSE — The Esports Universe
   Premium 3D Immersive Website
   ============================================ */

/* ===== CSS RESET & VARIABLES ===== */
:root {
    --primary: #8a43ff;
    --primary-light: #bd95ff;
    --primary-dark: #5a1fd6;
    --accent: #ff6b35;
    --accent-glow: #ff8c5a;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff00e5;
    --neon-green: #39ff14;
    --bg-dark: #050510;
    --bg-darker: #020208;
    --bg-card: rgba(15, 15, 40, 0.6);
    --bg-glass: rgba(138, 67, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-glass: rgba(138, 67, 255, 0.2);
    --border-hover: rgba(138, 67, 255, 0.5);
    --shadow-primary: 0 0 40px rgba(138, 67, 255, 0.3);
    --shadow-glow: 0 0 80px rgba(138, 67, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'Rajdhani', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    cursor: none;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(138, 67, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(138, 67, 255, 0.5);
    animation: pulseGlow 2s infinite;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.preloader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.5s forwards;
    background: linear-gradient(135deg, var(--primary-light), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader-text span:nth-child(1) { animation-delay: 0.1s; }
.preloader-text span:nth-child(2) { animation-delay: 0.15s; }
.preloader-text span:nth-child(3) { animation-delay: 0.2s; }
.preloader-text span:nth-child(4) { animation-delay: 0.25s; }
.preloader-text span:nth-child(5) { animation-delay: 0.3s; }
.preloader-text span:nth-child(6) { animation-delay: 0.35s; }
.preloader-text span:nth-child(7) { animation-delay: 0.4s; }
.preloader-text span:nth-child(8) { animation-delay: 0.45s; }
.preloader-text span:nth-child(9) { animation-delay: 0.5s; }
.preloader-text span:nth-child(10) { animation-delay: 0.55s; }
.preloader-text span:nth-child(11) { animation-delay: 0.6s; }

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(138, 67, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--neon-cyan));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.preloader-sub {
    font-family: var(--font-alt);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== 3D CANVAS ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== PARTICLES OVERLAY ===== */
.particles-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 0.7rem 3rem;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--primary-light), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-alt);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--neon-cyan));
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-alt);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: white;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-smooth);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-smooth);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    color: var(--primary-light);
    transform: translateX(10px);
}

.mobile-link.cta {
    color: #5865F2;
    border: 1px solid #5865F2;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

/* ===== SECTIONS BASE ===== */
.section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 8rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(138, 67, 255, 0.1);
    border: 1px solid rgba(138, 67, 255, 0.2);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
    transform: translateY(-5px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    padding: 0.5rem 1.2rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
}

.title-line:first-child {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.title-main {
    font-size: clamp(2.5rem, 7vw, 5rem);
}

.glitch-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--neon-cyan), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch1 0.3s infinite;
    opacity: 0.8;
}

.glitch-text:hover::after {
    animation: glitch2 0.3s infinite;
    opacity: 0.8;
}

@keyframes glitch1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    25% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -2px); }
    50% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 3px); }
    75% { clip-path: inset(70% 0 5% 0); transform: translate(2px, -3px); }
    100% { clip-path: inset(10% 0 80% 0); transform: translate(-3px, 2px); }
}

@keyframes glitch2 {
    0% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -2px); }
    25% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    50% { clip-path: inset(70% 0 5% 0); transform: translate(2px, -3px); }
    75% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 3px); }
    100% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -2px); }
}

.hero-subtitle {
    font-family: var(--font-alt);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 150px;
    padding: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(138, 67, 255, 0.2);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-icon svg {
    fill: #5865F2;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-alt);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-alt);
    font-size: 0.75rem;
    color: var(--neon-green);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.stat-sub {
    font-family: var(--font-alt);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #5865F2);
    color: white;
    box-shadow: 0 4px 20px rgba(138, 67, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(138, 67, 255, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(138, 67, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

.hero-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(138, 67, 255, 0.4), transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.4; }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(138, 67, 255, 0.15);
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: rotateRing 20s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation: rotateRing 30s linear infinite reverse;
    border-color: rgba(0, 240, 255, 0.1);
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation: rotateRing 25s linear infinite;
    border-color: rgba(255, 0, 229, 0.08);
    border-style: dotted;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s 3s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

.scroll-indicator span {
    font-family: var(--font-alt);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(138, 67, 255, 0.03) 50%, transparent 100%);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-card {
    padding: 2rem;
    text-align: center;
}

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

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-card p strong {
    color: var(--primary-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(138, 67, 255, 0.05);
    border: 1px solid rgba(138, 67, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(138, 67, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
}

.feature-text {
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ===== JERSEY SECTION ===== */
.jersey-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.03) 50%, transparent 100%);
}

.jersey-showcase {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.jersey-card {
    position: relative;
    width: 350px;
    perspective: 1000px;
}

.jersey-card-inner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(138, 67, 255, 0.2);
    transition: all var(--transition-smooth);
    background: var(--bg-card);
}

.jersey-card:hover .jersey-card-inner {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(138, 67, 255, 0.3);
    transform: rotateY(5deg) scale(1.02);
}

.jersey-card:first-child:hover .jersey-card-inner {
    transform: rotateY(-5deg) scale(1.02);
}

.jersey-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 0.4rem 0.8rem;
    background: rgba(138, 67, 255, 0.8);
    color: white;
    border-radius: var(--radius-sm);
    z-index: 3;
    backdrop-filter: blur(10px);
}

.jersey-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.jersey-card:hover .jersey-img {
    transform: scale(1.05);
}

.jersey-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.7s ease;
}

.jersey-card:hover .jersey-shine {
    left: 100%;
}

.jersey-tagline {
    text-align: center;
    font-family: var(--font-alt);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: linear-gradient(180deg, transparent 0%, rgba(138, 67, 255, 0.03) 50%, transparent 100%);
}

/* Featured Team Member (Founder) */
.team-featured {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(138, 67, 255, 0.08), rgba(0, 240, 255, 0.04));
    border: 1px solid rgba(138, 67, 255, 0.2);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.team-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 67, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-image {
    position: relative;
    flex-shrink: 0;
}

.featured-image .team-avatar {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 40px rgba(138, 67, 255, 0.3);
}

.featured-role-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(138, 67, 255, 0.4);
}

.featured-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(138, 67, 255, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.featured-info {
    flex: 1;
}

.featured-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-role {
    font-family: var(--font-alt);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.featured-bio-extra {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* 3D Transform Support for Enhanced Animations */
.about-card,
.team-card,
.contact-card,
.feature-item,
.jersey-card,
.team-featured,
.staff-banner {
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}

/* Social Links */
.featured-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    transition: all var(--transition-smooth);
}

.social-link.instagram {
    color: #E4405F;
    border-color: rgba(228, 64, 95, 0.3);
}

.social-link.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
    border-color: #E4405F;
    transform: translateY(-2px);
}

.social-link.youtube {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.3);
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
    transform: translateY(-2px);
}

.social-link.discord {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    transform: translateY(-2px);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.team-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.team-card:hover::before {
    opacity: 1;
}

.team-card-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.team-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

.team-card .team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glass);
    transition: all var(--transition-smooth);
}

.team-card:hover .team-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(138, 67, 255, 0.3);
}

.role-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}

.role-indicator.owner {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.role-indicator.admin {
    background: linear-gradient(135deg, var(--primary), var(--neon-cyan));
}

.team-role-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-top: 0.8rem;
}

.team-card[data-role="owner"] .team-role-tag {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.team-card[data-role="admin"] .team-role-tag {
    background: rgba(138, 67, 255, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(138, 67, 255, 0.3);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.team-real-name {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.team-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-link-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.social-link-sm:hover {
    background: rgba(138, 67, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
}

/* Staff Banner */
.staff-banner {
    padding: 2.5rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(138, 67, 255, 0.08), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(138, 67, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.staff-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 67, 255, 0.05), transparent);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.staff-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

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

.staff-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.staff-text p {
    font-family: var(--font-alt);
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-smooth);
}

.discord-icon {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.email-icon {
    background: rgba(138, 67, 255, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(138, 67, 255, 0.2);
}

.insta-icon {
    background: rgba(228, 64, 95, 0.1);
    color: #E4405F;
    border: 1px solid rgba(228, 64, 95, 0.2);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px currentColor;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all var(--transition-smooth);
}

.contact-card:hover .contact-arrow {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(138, 67, 255, 0.1);
    background: rgba(2, 2, 8, 0.8);
    backdrop-filter: blur(20px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.footer-logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--primary-light), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    font-family: var(--font-alt);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-section {
        justify-content: center;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .team-featured {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .featured-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hide the CTA button on mobile to avoid nav overlap */
    .nav-cta {
        display: none;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .hero-section {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .about-text-block {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .jersey-showcase {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .jersey-card {
        width: 100%;
        max-width: 350px;
    }

    .jersey-img {
        height: 350px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-featured {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .featured-bio, .featured-bio-extra {
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .stat-card {
        min-width: 0;
        flex: 1 1 calc(50% - 0.5rem);
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .staff-banner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    /* Hide custom cursor on touch devices */
    .cursor-dot, .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    a, button {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .preloader-text {
        font-size: 1.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .featured-image .team-avatar {
        width: 150px;
        height: 150px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat-card {
        flex: 1 1 100%;
    }

    .title-main {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .jersey-tagline {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .featured-name {
        font-size: 1.5rem;
    }
}
