/* ============================================
   AVRP – Professional Glassmorphism Theme
   Design System: Split Layout, #007af4 / #85ccfd
   ============================================ */

/* ---------- TOKENS ---------- */
:root {
    --c-primary: #007af4;
    --c-primary-dark: #0057cc;
    --c-primary-light: #85ccfd;
    --c-primary-glow: rgba(0, 122, 244, 0.25);
    --c-bg: #0a0e1a;
    --c-bg-elevated: #0f1424;
    --c-glass: rgba(255, 255, 255, 0.04);
    --c-glass-border: rgba(255, 255, 255, 0.07);
    --c-glass-hover: rgba(255, 255, 255, 0.07);
    --c-text: #ffffff;
    --c-text-2: rgba(255, 255, 255, 0.6);
    --c-text-3: rgba(255, 255, 255, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-glow: 0 0 60px rgba(0, 122, 244, 0.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.gradient-text {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass-card {
    background: var(--c-glass);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--c-glass-border);
    border-radius: var(--radius-lg);
}

/* ---------- SCROLL ANIMATIONS ---------- */
[data-animate] { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="float-up"] { transform: translateY(40px); }
[data-animate].is-visible { opacity: 1; transform: translate(0); }
[data-animate].is-visible { transition-delay: var(--delay, 0s); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(10, 14, 26, 0.92);
    border-bottom-color: var(--c-glass-border);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 32px; width: auto; }
.nav-logo-text {
    font-size: 1.4rem; font-weight: 900; letter-spacing: 1px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
    color: var(--c-text-2); font-size: 0.92rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--c-text); }
.nav-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.88rem;
    transition: all 0.25s ease;
}
.nav-btn-discord { background: #5865F2; color: white; }
.nav-btn-discord:hover { background: #4752C4; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all 0.3s; }

/* ============================================
   HERO – Split Layout
   ============================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-gradient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.3;
}
.hero-bg-image {
    position: absolute; inset: 0; z-index: 0;
    background: url('../img/background.webp') center/cover no-repeat;
    opacity: 0.35;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--c-primary); top: -180px; right: -80px; }
.hero-orb-2 { width: 350px; height: 350px; background: var(--c-primary-light); bottom: -100px; left: -60px; }
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-container {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-status {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 100px; font-size: 0.82rem; font-weight: 600;
    color: #00ff88; margin-bottom: 24px;
}
.status-dot {
    width: 8px; height: 8px; background: #00ff88;
    border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 900;
    line-height: 1.05; margin-bottom: 20px; letter-spacing: -1.5px;
}
.hero-title-gradient {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem; color: var(--c-text-2);
    max-width: 480px; line-height: 1.75; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    border: none; cursor: pointer; font-family: var(--font);
    font-weight: 600; border-radius: var(--radius-md);
    transition: all 0.25s ease; text-decoration: none;
}
.btn-lg { padding: 16px 32px; font-size: 0.95rem; }
.btn-primary {
    background: var(--c-primary); color: white;
    box-shadow: 0 4px 24px var(--c-primary-glow);
}
.btn-primary:hover {
    background: var(--c-primary-light); transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 122, 244, 0.35);
}
.btn-ghost {
    background: var(--c-glass); color: var(--c-text);
    border: 1px solid var(--c-glass-border);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--c-glass-hover); transform: translateY(-2px); }

/* Hero Right – Floating Cards */
.hero-right { display: flex; flex-direction: column; gap: 14px; }
.feature-float-card {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 24px; border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.feature-float-card:hover {
    transform: translateX(8px);
    border-color: rgba(0, 122, 244, 0.25);
    box-shadow: var(--shadow-glow);
}
.feature-float-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.feature-float-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-float-card p { font-size: 0.88rem; color: var(--c-text-2); line-height: 1.6; }

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section { padding: 0 0 40px; }
.banner-wrapper {
    overflow: hidden; border-radius: var(--radius-lg);
    border: 1px solid var(--c-glass-border);
    background: var(--c-glass);
}
.banner-img { width: 100%; height: auto; object-fit: cover; }
.banner-placeholder {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 300px; gap: 8px;
    color: var(--c-text-3);
}
.banner-placeholder span { font-size: 1.2rem; font-weight: 700; }
.banner-placeholder small { font-size: 0.85rem; }

/* ============================================
   FEATURES
   ============================================ */
.features { padding: 80px 0 120px; }
.section-header { margin-bottom: 56px; }
.section-title { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.section-subtitle { color: var(--c-text-3); font-size: 1rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
    border-color: rgba(0, 122, 244, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.feature-num {
    font-size: 0.75rem; font-weight: 700; color: var(--c-primary);
    letter-spacing: 2px;
}
.feature-icon { font-size: 1.8rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--c-text-2); font-size: 0.92rem; line-height: 1.7; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section { padding: 0 0 120px; }
.cta-banner {
    position: relative; overflow: hidden;
    padding: 64px 48px; text-align: center;
    background: linear-gradient(135deg, rgba(0, 122, 244, 0.1), rgba(133, 204, 253, 0.04));
    border: 1px solid rgba(0, 122, 244, 0.12);
}
.cta-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 122, 244, 0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-desc { color: var(--c-text-2); font-size: 1.05rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; }

/* ============================================
   TEAM PAGE
   ============================================ */
.page-hero { position: relative; overflow: hidden; }
.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900; margin-bottom: 12px; letter-spacing: -1px;
}
.page-desc { color: var(--c-text-2); font-size: 1.1rem; }
.team-section { padding: 0 0 120px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.team-card { padding: 28px; transition: all 0.3s ease; }
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 244, 0.2);
    box-shadow: var(--shadow-glow);
}
.team-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.team-avatar { position: relative; flex-shrink: 0; }
.avatar-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: white;
}
.avatar-owner { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light)); }
.avatar-admin { background: linear-gradient(135deg, #f59e0b, #f97316); }
.avatar-scripter { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.avatar-mod { background: linear-gradient(135deg, #10b981, #34d399); }
.avatar-status {
    position: absolute; bottom: 0; right: 0;
    width: 14px; height: 14px; border-radius: 50%;
    border: 2.5px solid var(--c-bg);
}
.avatar-status.online { background: #00ff88; }
.avatar-status.offline { background: #6b7280; }
.team-name { font-size: 1.05rem; font-weight: 700; }
.team-role {
    display: inline-block; padding: 3px 10px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 600; margin-top: 2px;
}
.role-owner { background: rgba(0, 122, 244, 0.15); color: var(--c-primary-light); }
.role-admin { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.role-scripter { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.role-mod { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.team-desc { color: var(--c-text-2); font-size: 0.9rem; line-height: 1.65; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 32px 0; border-top: 1px solid var(--c-glass-border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-right p { color: var(--c-text-3); font-size: 0.85rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; gap: 48px; }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-right { order: -1; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 48px 28px; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(10, 14, 26, 0.98); backdrop-filter: blur(24px);
        flex-direction: column; justify-content: center; gap: 24px; padding: 40px;
        transition: right 0.3s ease; border-left: 1px solid var(--c-glass-border);
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .cta-title { font-size: 1.5rem; }
}
