/* ==========================================
   BLACKSTORM ESPORTS - GLOBAL STYLES
   Colors: Black, Grey, Dark/Light Grey, Yellow
   ========================================== */

:root {
    /* Core Colors */
    --black: #0a0a0a;
    --black-light: #111111;
    --grey-darkest: #1a1a1a;
    --grey-dark: #222222;
    --grey-mid: #2a2a2a;
    --grey: #3a3a3a;
    --grey-light: #555555;
    --grey-lighter: #888888;
    --grey-lightest: #b0b0b0;
    --white: #f0f0f0;
    --white-soft: #d0d0d0;

    /* Accent */
    --yellow: #FFD700;
    --yellow-dark: #ccac00;
    --yellow-light: #ffe44d;
    --yellow-glow: rgba(255, 215, 0, 0.3);
    --yellow-subtle: rgba(255, 215, 0, 0.08);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-sub: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sizing */
    --nav-height: 80px;
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ==================== RESET & BASE ==================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--yellow);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== CURSOR GLOW ==================== */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ==================== PARTICLE CANVAS ==================== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==================== GLASSMORPHISM ==================== */

.glassmorphism {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.glassmorphism:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.05);
}

/* ==================== UTILITIES ==================== */

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--yellow);
}

/* ==================== NAVBAR ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 2px solid var(--yellow);
    padding: 2px;
    transition: var(--transition);
}

.nav-logo:hover .logo-img {
    box-shadow: 0 0 20px var(--yellow-glow);
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-sub);
    font-size: 0.65rem;
    letter-spacing: 6px;
    color: var(--grey-lighter);
    font-weight: 500;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 4px;
}

.nav-indicator {
    position: absolute;
    height: calc(100% - 8px);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--grey-lighter);
    border-radius: 50px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.nav-link.active i {
    text-shadow: 0 0 10px var(--yellow-glow);
}

/* Discord Button */
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-discord-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: white;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.nav-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link:hover {
    color: var(--yellow);
    background: var(--yellow-subtle);
}

.mobile-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.mobile-discord {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    padding: 15px 40px;
    background: linear-gradient(135deg, #5865F2, #7289da);
    border-radius: 50px;
    margin-top: 20px;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-discord {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.35s;
}

/* ==================== HERO ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--grey-darkest) 50%, var(--black) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--yellow-subtle);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yellow);
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line1 {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    letter-spacing: 4px;
}

.hero-title .line2 {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--white);
    letter-spacing: 4px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: #ff0000;
    animation: glitch-1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    color: #00ffff;
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 90% { opacity: 0; transform: translate(0); }
    91% { opacity: 0.8; transform: translate(-2px, -1px); }
    92% { opacity: 0; }
    93% { opacity: 0.8; transform: translate(2px, 1px); }
    94%, 100% { opacity: 0; transform: translate(0); }
}

@keyframes glitch-2 {
    0%, 85% { opacity: 0; transform: translate(0); }
    86% { opacity: 0.8; transform: translate(2px, 1px); }
    87% { opacity: 0; }
    88% { opacity: 0.8; transform: translate(-2px, -1px); }
    89%, 100% { opacity: 0; transform: translate(0); }
}

.hero-subtitle {
    font-family: var(--font-sub);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--grey-lightest);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--yellow-glow);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.btn:hover .btn-glow {
    transform: translateX(100%);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--grey);
}

.btn-secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--yellow);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--yellow);
}

.stat-label {
    display: block;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--grey-lighter);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--grey);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 2s ease-in-out infinite;
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--grey-light);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--yellow);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator span {
    font-family: var(--font-sub);
    font-size: 0.7rem;
    color: var(--grey-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== GAMES MARQUEE ==================== */

.games-section {
    position: relative;
    z-index: 1;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

.games-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.game-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--yellow-subtle);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grey-lightest);
    white-space: nowrap;
    letter-spacing: 1px;
}

.game-tag i {
    color: var(--yellow);
    font-size: 0.85rem;
}

/* ==================== SECTION HEADERS ==================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--yellow-subtle);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yellow);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    color: var(--grey-lightest);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== ABOUT SECTION ==================== */

.about-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--grey-darkest) 50%, var(--black) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-card-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.about-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--grey-lightest);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-card {
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--yellow-subtle);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon i {
    font-size: 1.2rem;
    color: var(--yellow);
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--grey-lighter);
    line-height: 1.6;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.info-card {
    padding: 30px 20px;
    text-align: center;
}

.info-card-top {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.info-card-top i {
    font-size: 1.2rem;
    color: var(--black);
}

.info-card h4 {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: var(--grey-lighter);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.info-card p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 1px;
}

/* Management Section */
.management-section {
    text-align: center;
}

.management-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.management-title i {
    color: var(--yellow);
    margin-right: 8px;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.member-card {
    padding: 30px;
    text-align: center;
}

.member-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.member-avatar i {
    font-size: 1.5rem;
    color: var(--black);
}

.member-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.member-role {
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: var(--yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.member-card p {
    font-size: 0.85rem;
    color: var(--grey-lighter);
    margin-top: 12px;
    line-height: 1.5;
}

/* ==================== RECRUIT SECTION ==================== */

.recruit-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--grey-darkest) 50%, var(--black) 100%);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.req-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.req-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.1);
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
}

.req-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: var(--yellow);
}

.req-card p {
    font-size: 0.9rem;
    color: var(--grey-lightest);
    line-height: 1.6;
}

/* ==================== FORMS ==================== */

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 12px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.form-header p {
    font-family: var(--font-sub);
    font-size: 1rem;
    color: var(--grey-lighter);
}

.storm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grey-lightest);
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--yellow);
    margin-right: 6px;
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--grey-dark);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    align-self: center;
    margin-top: 10px;
    padding: 14px 40px;
    font-size: 1.05rem;
}

/* ==================== WORK SECTION ==================== */

.work-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 70% 60%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--grey-darkest) 50%, var(--black) 100%);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.position-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.position-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--yellow-subtle);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-icon i {
    font-size: 1.2rem;
    color: var(--yellow);
}

.position-info {
    flex: 1;
}

.position-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.position-type {
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: var(--grey-lighter);
    letter-spacing: 1px;
}

.position-type i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.position-info p {
    font-size: 0.85rem;
    color: var(--grey-lightest);
    line-height: 1.5;
    margin: 10px 0;
}

.position-reqs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.position-reqs li {
    font-size: 0.8rem;
    color: var(--grey-lighter);
    padding-left: 16px;
    position: relative;
}

.position-reqs li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 0.7rem;
}

.position-status {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-sub);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.position-status.open {
    color: #4ade80;
}

.position-status.open i {
    font-size: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

.position-status.closed {
    color: #f87171;
}

.position-status.closed i {
    font-size: 0.5rem;
}

.position-card.position-closed {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.4);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ==================== DISCORD LOGIN ====================  */

/* Navbar user profile */
.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: var(--transition);
}

.nav-user-profile:hover {
    background: rgba(88, 101, 242, 0.15);
}

.nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #5865F2;
}

.nav-user-name {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--grey-lighter);
    transition: var(--transition);
    text-decoration: none;
}

.nav-logout-btn:hover {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.nav-staff-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--yellow);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.85rem;
}

.nav-staff-btn:hover {
    background: rgba(255, 215, 0, 0.15);
}

/* Discord Login Gate */
.discord-login-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.05);
    border: 1px dashed rgba(88, 101, 242, 0.3);
}

.login-gate-content {
    text-align: center;
    max-width: 400px;
}

.login-gate-content > i {
    font-size: 3rem;
    color: #5865F2;
    margin-bottom: 16px;
}

.login-gate-content h4 {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.login-gate-content p {
    font-size: 0.9rem;
    color: var(--grey-lighter);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-discord-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-discord-login:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.btn-discord-login i {
    font-size: 1.1rem;
}

/* Discord User Banner (logged in) */
.discord-user-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-user-banner .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #5865F2;
}

.discord-user-banner .user-info-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.discord-user-banner .user-name {
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.discord-user-banner .user-tag {
    font-size: 0.75rem;
    color: #5865F2;
    font-weight: 500;
}

.discord-user-banner .user-verified {
    color: #5865F2;
    font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    padding: 60px 0 40px;
    background: rgba(255, 255, 255, 0.01);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--grey-lighter);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--grey-lighter);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--yellow);
    border-color: var(--yellow);
    background: var(--yellow-subtle);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col li,
.footer-links-col a {
    font-size: 0.9rem;
    color: var(--grey-lighter);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-links-col li i {
    color: var(--yellow);
    margin-right: 8px;
    font-size: 0.8rem;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom .section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--grey-light);
}

.footer-bottom i.accent {
    color: var(--yellow);
}

/* ==================== TOAST ==================== */

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 16px 24px;
    background: var(--grey-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    font-family: var(--font-sub);
    font-size: 0.95rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toast-in 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.success {
    border-left: 3px solid #4ade80;
}

.toast.success i {
    color: #4ade80;
}

.toast.error {
    border-left: 3px solid #f87171;
}

.toast.error i {
    color: #f87171;
}

.toast-out {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ==================== ANIMATIONS ==================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.about-values .value-card:nth-child(1) { transition-delay: 0.05s; }
.about-values .value-card:nth-child(2) { transition-delay: 0.1s; }
.about-values .value-card:nth-child(3) { transition-delay: 0.15s; }
.about-values .value-card:nth-child(4) { transition-delay: 0.2s; }

.info-cards .info-card:nth-child(1) { transition-delay: 0.05s; }
.info-cards .info-card:nth-child(2) { transition-delay: 0.1s; }
.info-cards .info-card:nth-child(3) { transition-delay: 0.15s; }
.info-cards .info-card:nth-child(4) { transition-delay: 0.2s; }

.requirements-grid .req-card:nth-child(1) { transition-delay: 0.05s; }
.requirements-grid .req-card:nth-child(2) { transition-delay: 0.1s; }
.requirements-grid .req-card:nth-child(3) { transition-delay: 0.15s; }
.requirements-grid .req-card:nth-child(4) { transition-delay: 0.2s; }

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .management-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .section-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .position-card {
        flex-direction: column;
    }

    .position-status {
        position: static;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title .line1 {
        font-size: 1.5rem;
    }

    .hero-title .line2 {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}
