﻿:root {
    --bg-dark: #0a0b10;
    --bg-darker: #050508;
    --accent: #2bfe71;
    /* Vision Green */
    --accent-dark: #075016;
    --accent-glow: rgba(43, 254, 113, 0.4);
    --surface: #16161e;
    --surface-hover: #1a1b26;
    --text-main: #f8f8f2;
    --text-muted: #a9b1d6;
    --border: rgba(43, 254, 113, 0.2);
    --font-pixel: 'Anton', sans-serif;
    --font-main: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.logo-text,
.step-number {
    font-family: var(--font-pixel);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 400;
    line-height: 1.1;
}

.page-creator-hub {
    background:
        radial-gradient(circle at 20% 20%, rgba(211, 131, 255, 0.18), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(109, 214, 255, 0.18), transparent 45%),
        var(--bg-darker);
    --creator-accent: #d383ff;
    --creator-accent-secondary: #6ed4ff;
    --creator-surface: rgba(16, 11, 28, 0.9);
    --creator-surface-light: rgba(24, 18, 45, 0.9);
    --creator-border: rgba(211, 131, 255, 0.35);
}

.project-theme-celestial {
    background:
        radial-gradient(circle at 15% 15%, rgba(94, 255, 181, 0.18), transparent 40%),
        radial-gradient(circle at 70% 5%, rgba(148, 255, 211, 0.12), transparent 45%),
        var(--bg-darker);
    --creator-accent: #52f7b2;
    --creator-accent-secondary: #b6ffd8;
    --creator-border: rgba(82, 247, 178, 0.45);
}

.page-creator-hub h1,
.page-creator-hub h2,
.page-creator-hub h3,
.page-creator-hub h4 {
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: -0.01em;
}

.page-creator-hub nav {
    background: rgba(11, 6, 22, 0.95);
    border-color: var(--creator-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.page-creator-hub .cta-primary {
    background: var(--creator-accent);
    color: #170624;
    box-shadow: 0 14px 30px rgba(211, 131, 255, 0.45);
}

.page-creator-hub .cta-primary:hover {
    background: #e1a0ff;
    box-shadow: 0 18px 32px rgba(211, 131, 255, 0.55);
}

.page-creator-hub .cta-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: #f6f4ff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.page-creator-hub .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 100px;
    background:
        linear-gradient(180deg, rgba(2, 3, 5, 0.9) 0%, rgba(10, 11, 16, 0.92) 40%, var(--bg-dark) 100%),
        radial-gradient(circle at 20% 20%, rgba(43, 254, 113, 0.08), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(7, 80, 22, 0.12), transparent 40%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px);
    background-blend-mode: lighten, normal;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5vw;
    z-index: 100;
    transition: background 0.3s;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: rgba(22, 22, 30, 0.95);
    border: 2px solid rgba(43, 254, 113, 0.15);
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

.account-action {
    display: flex;
    align-items: flex-end;
}

.account-action .cta-primary {
    font-size: 0.9rem;
    padding: 8px 16px;
    font-weight: 600;
}

/* --- Hero Content --- */
.hero-content {
    text-align: center;
    z-index: 2;
    margin-top: 8vh;
    padding: 0 20px;
}

.logo-image {
    width: min(500px, 80vw);
    filter: drop-shadow(0 0 20px rgba(43, 254, 113, 0.2));
    animation: float 6s ease-in-out infinite;
    transition: filter 0.3s var(--transition-smooth);
}

.logo-image:hover {
    filter: drop-shadow(0 0 30px rgba(43, 254, 113, 0.4));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tagline {
    margin-top: 20px;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-area {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 14px 32px;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-primary::before,
.cta-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-smooth), height 0.6s var(--transition-smooth);
}

.cta-primary:hover::before,
.cta-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary {
    background: var(--accent);
    color: #000;
    border: 2px solid var(--accent-dark);
    box-shadow: 0 4px 0 var(--accent-dark), 0 4px 12px rgba(43, 254, 113, 0.3);
    transition: all 0.1s ease;
}

.cta-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--accent-dark), 0 2px 8px rgba(43, 254, 113, 0.3);
}

.cta-primary:hover {
    background: #3dff7d;
    box-shadow: 0 6px 0 var(--accent-dark), 0 6px 16px rgba(43, 254, 113, 0.5);
    transform: translateY(-2px);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

.cta-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.info-panel {
    margin-top: 80px;
    display: flex;
    gap: 40px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 24px 48px;
    border-radius: 0;
    border: 3px solid rgba(43, 254, 113, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 0 rgba(7, 80, 22, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.info-panel div {
    text-align: center;
}

.info-panel span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.scroll-down {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
    background: rgba(22, 22, 30, 0.8);
    border: 2px solid var(--border);
    padding: 10px 15px;
    border-radius: 0;
    backdrop-filter: blur(5px);
    z-index: 10;
    opacity: 1;
}

.scroll-down:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(43, 254, 113, 0.1);
}

.scroll-down.scroll-down--hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Subtle grid background pattern */
.overview-section {
    position: relative;
    padding: 110px 5vw 60px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.overview-section>* {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3.5rem;
    margin: 0 0 15px;
    color: var(--text-main);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.overview-section .section-header h2 {
    color: #ffffff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(43, 254, 113, 0.35);
    letter-spacing: 0.05em;
}

.section-header h2 img {
    height: 42px;
    width: auto;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Creator Hub Page --- */
.page-creator-hub main {
    padding-top: 160px;
}

.creator-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5vw 140px;
    align-items: center;
    position: relative;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(19, 12, 45, 0.95), rgba(6, 12, 24, 0.95));
    border: 2px solid rgba(211, 131, 255, 0.2);
    overflow: hidden;
}

.creator-hero::before,
.creator-hero::after {
    content: '';
    position: absolute;
    border-radius: 0;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.creator-hero::before {
    width: 280px;
    height: 280px;
    background: rgba(211, 131, 255, 0.35);
    top: -80px;
    left: -60px;
}

.creator-hero::after {
    width: 220px;
    height: 220px;
    background: rgba(110, 212, 255, 0.35);
    bottom: -70px;
    right: -40px;
}

.creator-hero__content .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 15px;
}

.creator-hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 0 0 20px;
}

.creator-hero__content .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-callout {
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.project-callout strong {
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-right: 6px;
}

.project-theme-celestial .project-callout {
    border-color: rgba(82, 247, 178, 0.5);
    background: rgba(82, 247, 178, 0.08);
    color: #cffff0;
}

.creator-hero__stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.creator-hero__stats div {
    padding: 18px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.creator-hero__stats span {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.creator-hero__stats strong {
    display: block;
    font-size: 2rem;
    margin-top: 8px;
}

.creator-hero__media {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.creator-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-section {
    padding: 100px 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.creator-feature {
    background: var(--creator-surface);
    border: 2px solid var(--creator-border);
    padding: 30px;
    border-radius: 0;
    min-height: 220px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(211, 131, 255, 0.25), rgba(110, 212, 255, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9f5ff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.creator-feature h3 {
    margin: 0 0 12px;
}

.creator-feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

.apply-section {
    background: var(--bg-darker);
}

.timeline {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.timeline-step {
    background: var(--creator-surface-light);
    border: 2px solid rgba(110, 212, 255, 0.3);
    border-radius: 0;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.timeline-step__badge {
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: rgba(211, 131, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--creator-accent-secondary);
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-step p {
    color: var(--text-muted);
    line-height: 1.6;
}

.apply-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(19, 12, 45, 0.95), rgba(5, 12, 26, 0.95));
    border: 2px solid rgba(211, 131, 255, 0.35);
    border-radius: 0;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.apply-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.skeleton-card {
    height: 320px;
    border-radius: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.overview-card {
    background: var(--surface);
    border: 3px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(43, 254, 113, 0.6);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(43, 254, 113, 0.3);
}

.overview-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-media {
    position: relative;
    height: 160px;
    background: rgba(43, 254, 113, 0.08);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 16, 0) 40%, rgba(10, 11, 16, 0.85) 100%);
    pointer-events: none;
}

.overview-card:hover .card-media img {
    transform: scale(1.06);
}

.card-media-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 0;
    background: rgba(5, 5, 8, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.15);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.card-media-status.status-active {
    color: #7CFFCB;
    border-color: rgba(124, 255, 203, 0.7);
}

.card-media-status.status-dev {
    color: #FFD369;
    border-color: rgba(255, 211, 105, 0.7);
}

.card-media-status.status-closed {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.7);
}

.overview-card:hover .card-media-status {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(43, 254, 113, 0.4);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-content span {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.card-content h3 {
    font-size: 1.6rem;
    margin: 0;
    color: white;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Join Section --- */
.join-section {
    position: relative;
    background: var(--bg-dark);
    margin-top: 0;
    padding: 60px 5vw 100px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.overview-section .section-lead {
    color: #f5f8ff;
}

.join-container h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.join-sub {
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.join-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.join-card {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.95), rgba(6, 12, 18, 0.95));
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.join-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(43, 254, 113, 0.4);
}

.join-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.join-card__title {
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    margin-bottom: 15px;
}

.join-card__title img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.join-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.join-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-card__list li::before {
    content: '•';
    color: var(--accent);
    font-size: 1.1rem;
}

.join-card__cta {
    margin-top: auto;
    align-self: center;
    padding: 10px 30px;
    border-radius: 0;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-pixel);
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 rgba(43, 254, 113, 0.3);
}

.join-card__cta:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(43, 254, 113, 0.5);
}

.join-card__cta:active {
    transform: translateY(4px);
    box-shadow: none;
}


.join-cta {
    margin-top: 40px;
}

/* --- Team Preview Section --- */
.team-preview-section {
    padding: 90px 5vw;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-preview-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.team-preview-section .team-grid {
    margin-bottom: 32px;
}

.team-preview-cta {
    text-align: center;
}

.team-preview-cta .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* --- Discord Section --- */
.discord-section {
    padding: 80px 5vw;
    background: var(--bg-darker);
    border-top: 1px solid var(--bg-dark);
    border-bottom: 1px solid var(--bg-dark);
}

.discord-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 0;
    border: 2px solid rgba(88, 101, 242, 0.3);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.2);
}

.discord-icon {
    width: 120px;
    height: 120px;
    border-radius: 0;
    background: rgba(88, 101, 242, 0.15);
    border: 2px solid rgba(88, 101, 242, 0.35);
    color: #c7cdff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
}

.discord-content {
    flex: 1;
    text-align: left;
}

.discord-eyebrow {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    margin: 0 0 10px;
}

.discord-content h2 {
    font-size: 2.6rem;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.discord-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.discord-button {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-primary.discord-button {
    background: #5865F2;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.cta-primary.discord-button:hover {
    background: #6d77f7;
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.cta-primary.discord-button:active {
    background: #4a54c7;
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4);
}

/* --- Team Page Styles --- */
body.team-page {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark, #05060a);
    color: var(--text-main, #f8f8f2);
}

.team-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 20% 0%, rgba(43, 254, 113, 0.18), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(7, 80, 22, 0.12), transparent 50%),
        var(--bg-dark, #05060a);
}

.team-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.team-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted, #a3acc9);
}

.team-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.team-section {
    margin-bottom: 48px;
}

.team-section h2 {
    font-family: var(--font-pixel);
    letter-spacing: 0.03em;
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.team-section p.section-lead {
    margin-top: 0;
    margin-bottom: 22px;
    color: var(--text-muted, #a3acc9);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-card {
    background: rgba(22, 22, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 60%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(43, 254, 113, 0.3);
    border-color: var(--accent);
}

.team-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-card h3 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
    text-align: center;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
}

.team-tags span {
    background: rgba(43, 254, 113, 0.1);
    color: #8ef7b4;
    border: 2px solid rgba(43, 254, 113, 0.2);
    border-radius: 0;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.team-card:hover .team-tags span {
    background: rgba(43, 254, 113, 0.2);
    border-color: rgba(43, 254, 113, 0.4);
}

.team-card p {
    margin: 0;
    color: var(--text-muted, #a3acc9);
    line-height: 1.5;
}

.team-meta {
    list-style: none;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.team-meta li i {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
}

.team-card:hover .team-meta li i {
    color: var(--accent);
}

.team-callout {
    margin-top: 40px;
    border: 2px solid rgba(43, 254, 113, 0.25);
    border-radius: 0;
    padding: 32px;
    text-align: center;
    background: rgba(43, 254, 113, 0.08);
}

.team-callout h3 {
    margin-top: 0;
}

.team-callout p {
    color: var(--text-muted, #a3acc9);
    margin-bottom: 18px;
}

.team-callout .cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.team-callout .cta-actions a {
    min-width: 180px;
}

/* --- Footer --- */
footer {
    background: #020203;
    padding: 60px 5vw 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.footer-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 1.1rem;
    border: 2px solid #5865F2;
    border-radius: 0;
    box-shadow: 0 4px 0 #2f2f7d;
    transition: all 0.2s ease;
}

.footer-discord-btn:hover {
    background: #6d77f7;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2f2f7d;
}

.footer-discord-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 0 rgba(43, 254, 113, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 180px;
    }

    .info-panel {
        flex-direction: column;
        gap: 20px;
    }

    .discord-card {
        flex-direction: column;
        text-align: center;
    }

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

    .discord-button {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

/* --- Error Page --- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: radial-gradient(circle at center, rgba(20, 20, 30, 0.8), var(--bg-dark));
    text-align: center;
}

.error-content {
    max-width: 600px;
    padding: 20px;
}

.error-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    filter: drop-shadow(0 0 20px rgba(43, 254, 113, 0.3));
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.error-content h1 {
    font-size: 5rem;
    color: var(--accent);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-glow);
}

.error-content h2 {
    font-size: 2rem;
    margin-top: 10px;
    color: white;
}

.error-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.error-content .cta-primary {
    display: inline-flex;
}

/* Motion.dev Animation Initial States */
.logo-image,
.tagline,
.cta-area>*,
.info-panel,
.section-header h2,
.section-header .section-lead,
.discord-card {
    will-change: transform, opacity;
}

/* GSAP Text Animation Styles */
.split-text .char {
    display: inline-block;
    transform-origin: 50% 100%;
}

.tagline-text {
    display: inline-block;
}

/* Prevent text selection during animation */
.split-text {
    user-select: none;
}

/* Loading state improvements */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Custom Cursor --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(43, 254, 113, 0.1);
    border-color: transparent;
}