/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --red-primary: #e60012;
    --red-secondary: #ff1a2e;
    --red-dark: #8b0000;
    --red-glow: rgba(230, 0, 18, 0.3);
    --red-glow-strong: rgba(230, 0, 18, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #222222;
    --border-red: rgba(230, 0, 18, 0.2);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-red: 0 0 30px rgba(230, 0, 18, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-primary); }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}

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

.accent { color: var(--red-primary); }

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-red);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(230, 0, 18, 0.3));
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(230, 0, 18, 0.5));
}

.footer-brand .nav-logo-img {
    height: 56px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-links a i { font-size: 13px; }

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(230, 0, 18, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--red-primary) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px var(--red-glow);
}

.nav-cta:hover {
    background: var(--red-secondary) !important;
    box-shadow: 0 0 30px var(--red-glow-strong) !important;
    transform: translateY(-2px);
}

.nav-shop {
    background: linear-gradient(135deg, #ff7a00 0%, #ff2a00 55%, #e60012 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 0 24px rgba(255, 80, 0, 0.45);
    overflow: hidden;
    animation: shopPulse 1.8s ease-in-out infinite;
}

.nav-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shopShine 2.8s linear infinite;
}

.nav-shop:hover {
    background: linear-gradient(135deg, #ff8d1a 0%, #ff3c1a 55%, #ff1a2e 100%) !important;
    transform: translateY(-2px) scale(1.02);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(230, 0, 18, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(230, 0, 18, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(230, 0, 18, 0.1);
    border: 1px solid var(--border-red);
    border-radius: 50px;
    font-size: 14px;
    color: var(--red-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(14px, 3vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 8px;
    margin-bottom: 8px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.title-main {
    display: block;
    font-size: clamp(48px, 12vw, 100px);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 0 60px var(--red-glow);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--border-red);
    background: rgba(230, 0, 18, 0.12);
    color: var(--red-secondary);
    font-family: var(--font-display);
    font-size: clamp(16px, 2.8vw, 22px);
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(230, 0, 18, 0.35);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--red-primary);
    text-shadow: 0 0 20px var(--red-glow);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--red-primary);
    color: var(--text-primary);
    box-shadow: 0 0 30px var(--red-glow);
}

.btn-primary:hover {
    background: var(--red-secondary);
    box-shadow: 0 0 50px var(--red-glow-strong);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

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

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 0, 18, 0.1);
    border: 1px solid var(--border-red);
    border-radius: 50px;
    font-size: 13px;
    color: var(--red-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: 2px;
}

/* ===== FEATURES ===== */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(230, 0, 18, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--red-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--red-primary);
    color: white;
    box-shadow: 0 0 30px var(--red-glow);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--red-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover .feature-glow { opacity: 0.3; }

/* ===== TRAILER ===== */
.trailer-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background:
        radial-gradient(ellipse at center, rgba(230, 0, 18, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #0d0d0d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover { background-color: rgba(230, 0, 18, 0.05); }

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 0 50px var(--red-glow-strong);
    transition: var(--transition);
    margin-bottom: 20px;
}

.video-placeholder:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 80px var(--red-glow-strong);
}

.play-btn i { margin-left: 4px; }

.video-overlay-text { text-align: center; }
.video-overlay-text h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 4px;
}
.video-overlay-text p { color: var(--text-muted); font-size: 14px; }

/* ===== JOIN / FORM ===== */
.join-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.join-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.join-info h2 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.join-info > p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.join-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.benefit i { color: var(--red-primary); font-size: 18px; }

.join-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select option { background: var(--bg-primary); }

.join-form .btn { grid-column: 1 / -1; margin-top: 8px; }

.form-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(230, 0, 18, 0.1);
    color: var(--red-secondary);
    border: 1px solid var(--border-red);
}

/* ===== PAGE HERO (Sub-pages) ===== */
.page-hero {
    position: relative;
    z-index: 1;
    padding: 160px 0 80px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(230, 0, 18, 0.08) 0%, transparent 60%);
}

.page-hero-content { max-width: 700px; margin: 0 auto; padding: 0 24px; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

/* ===== GALLERY ===== */
.gallery-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 100px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red-primary);
    color: var(--text-primary);
    border-color: var(--red-primary);
    box-shadow: 0 0 20px var(--red-glow);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item.large { grid-column: span 2; }

.gallery-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder {
    font-size: 48px;
    color: rgba(230, 0, 18, 0.3);
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    color: rgba(230, 0, 18, 0.6);
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { transform: translateY(0); }

.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 13px;
    color: var(--red-primary);
    font-weight: 600;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--red-glow);
    z-index: 2;
}

.gallery-item.hidden {
    display: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.lightbox-close:hover { color: var(--red-primary); transform: scale(1.2); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 0, 18, 0.2);
    border: 1px solid var(--border-red);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--red-primary);
}

.lightbox-content {
    max-width: 80vw;
    max-height: 80vh;
    text-align: center;
}

.lightbox-content .gallery-img {
    width: 60vw;
    height: 60vh;
    border-radius: 12px;
}

.lightbox-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-top: 20px;
}

.lightbox-content p {
    color: var(--red-primary);
    font-size: 14px;
    margin-top: 8px;
}

/* ===== STAFF ===== */
.staff-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 100px;
}

.staff-tier { margin-bottom: 60px; }

.tier-title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.tier-title i { color: var(--red-primary); }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.staff-grid.founders {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Staff Card Flip */
.staff-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}

.staff-card.founder { height: 360px; }

.staff-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.staff-card:hover .staff-card-inner {
    transform: rotateY(180deg);
}

.staff-card-front,
.staff-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.staff-card-front {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.staff-card:hover .staff-card-front {
    border-color: var(--red-primary);
}

.staff-card-back {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a0505 100%);
    border: 1px solid var(--red-primary);
    transform: rotateY(180deg);
    gap: 12px;
    box-shadow: var(--shadow-red);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 0 30px var(--red-glow);
}

.founder .staff-avatar {
    width: 100px;
    height: 100px;
    font-size: 40px;
}

.staff-rank {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.founder-rank { background: rgba(230, 0, 18, 0.2); color: var(--red-secondary); }
.admin-rank { background: rgba(200, 0, 0, 0.15); color: #ff4444; }
.mod-rank { background: rgba(150, 0, 0, 0.15); color: #cc4444; }
.dev-rank { background: rgba(100, 0, 0, 0.15); color: #aa4444; }

.staff-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
}

.staff-role {
    color: var(--text-muted);
    font-size: 14px;
}

.staff-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-top: 8px;
}

.staff-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.staff-status.online .status-dot { background: #00c853; box-shadow: 0 0 8px rgba(0, 200, 83, 0.5); }
.staff-status.away .status-dot { background: #ffa000; box-shadow: 0 0 8px rgba(255, 160, 0, 0.5); }
.staff-status.offline .status-dot { background: #666; }

.staff-status.online { color: #00c853; }
.staff-status.away { color: #ffa000; }
.staff-status.offline { color: #666; }

.staff-card-back p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.staff-stats-mini {
    display: flex;
    gap: 30px;
    font-size: 13px;
    color: var(--text-muted);
}

.staff-stats-mini strong {
    color: var(--red-primary);
    font-family: var(--font-display);
    font-size: 18px;
}

.staff-socials {
    display: flex;
    gap: 12px;
}

.staff-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.staff-socials a:hover {
    background: var(--red-primary);
    color: white;
    border-color: var(--red-primary);
}

.staff-cta {
    margin-top: 60px;
}

.staff-cta-content {
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a0505 100%);
    border: 1px solid var(--border-red);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
}

.staff-cta-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.staff-cta-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

/* ===== RULES ===== */
.rules-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 100px;
}

.rules-section > .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.rules-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.rules-sidebar h4 {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}

.sidebar-link i { font-size: 14px; width: 18px; text-align: center; }

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(230, 0, 18, 0.1);
    color: var(--red-secondary);
}

.sidebar-link.active { border-left: 3px solid var(--red-primary); }

.rules-content { min-width: 0; }

.rule-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.rule-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.rule-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(230, 0, 18, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--red-primary);
    flex-shrink: 0;
}

.rule-section-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
}

.rule-section-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Accordion */
.rule-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.rule-item:hover { border-color: rgba(230, 0, 18, 0.3); }

.rule-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.rule-toggle:hover { background: rgba(230, 0, 18, 0.05); }

.rule-number {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--red-primary);
    background: rgba(230, 0, 18, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.rule-toggle i {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.rule-item.open .rule-toggle i { transform: rotate(180deg); }

.rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rule-item.open .rule-content { max-height: 300px; }

.rule-content p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* Sanctions Table */
.sanctions-table {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.sanction-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
}

.sanction-row span {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.sanction-row.header {
    background: var(--bg-card);
}

.sanction-row.header span {
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sanction-row:last-child span { border-bottom: none; }

.sanction-row span:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.warn { color: #ffa000 !important; }
.kick { color: #ff6600 !important; }
.ban { color: var(--red-primary) !important; font-weight: 600; }

.sanction-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(230, 0, 18, 0.05);
    border: 1px solid var(--border-red);
    border-radius: 10px;
}

.sanction-note i {
    color: var(--red-primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sanction-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--red-primary);
    color: white;
    border-color: var(--red-primary);
    box-shadow: 0 0 20px var(--red-glow);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--red-primary); padding-left: 6px; }

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #00c853;
    margin-bottom: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online { background: #00c853; box-shadow: 0 0 10px rgba(0, 200, 83, 0.5); }

.server-ip {
    font-family: 'Courier New', monospace;
    color: var(--red-primary);
    font-size: 14px;
    background: rgba(230, 0, 18, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 0; }
    40% { opacity: 1; }
    80% { transform: translateY(12px); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shopPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 80, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 80, 0, 0.6); }
}

@keyframes shopShine {
    0% { left: -130%; }
    55%, 100% { left: 170%; }
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .join-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .rules-section > .container {
        grid-template-columns: 1fr;
    }
    .rules-sidebar {
        position: relative;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .rules-sidebar h4 {
        width: 100%;
    }
    .sidebar-link {
        margin-bottom: 0;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-red);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        font-size: 18px;
        padding: 14px 20px;
        width: 100%;
        justify-content: flex-start;
    }

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

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

    .gallery-item.large { grid-column: span 2; }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-number { font-size: 28px; }

    .join-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .form-group.full-width { grid-column: 1; }
    .join-form .btn { grid-column: 1; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .staff-grid { grid-template-columns: 1fr; }
    .staff-grid.founders { grid-template-columns: 1fr; }

    .sanction-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .sanction-row span { padding: 10px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.large { grid-column: 1; }

    .hero-stats { gap: 16px; }
    .stat-number { font-size: 24px; }

    .sanction-row {
        grid-template-columns: 1fr;
    }
    .sanction-row.header { display: none; }
    .sanction-row span {
        padding: 8px 16px;
    }
    .sanction-row span:first-child {
        background: rgba(230, 0, 18, 0.05);
        font-family: var(--font-display);
        font-size: 13px;
    }
}

/* ===== GALLERY DESCRIPTION OVERLAY ===== */
.gallery-item .gallery-img {
    position: relative;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-description-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(10, 0, 0, 0.85) 30%, rgba(10, 0, 0, 0.95));
    pointer-events: none;
    z-index: 1;
}

.gallery-description-overlay p {
    color: #f0f0f0;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-description-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 0, 18, 0.4), transparent);
}

/* Ensure overlay sits above description */
.gallery-item .gallery-overlay {
    z-index: 2;
}
