/* ============================================
   APOCRYIA.COM - PROFESSIONAL CSS
   Top 1% Design Standards
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Montserrat:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* CSS Variables */
:root {
    --bg-primary: #0a0a1a;
    --bg-nav-footer: #010220;
    --bg-element: #1a1a3c;
    --bg-secondary: #2e2e5e;
    --text-primary: #ffffff;
    --text-secondary: #e0e0ff;
    --text-muted: #b0b0dd;
    --accent: #00ffdd;
    --accent-dark: #ff00dd;
    --accent-alt: #00aaff;
    --border: #5050cc;
    --glow: rgba(0, 255, 221, 0.4);
    --glow-error: rgba(255, 0, 221, 0.4);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--bg-primary), #1a1a4e);
    color: var(--text-primary);
}

/* Typography Base */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--glow);
    visibility: visible !important;
}

/* Header */
header {
    backdrop-filter: blur(10px);
    background: var(--bg-nav-footer);
    border-bottom: 1px solid var(--border);
}

/* Logo */
.logo img {
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--glow));
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    background: rgba(0, 255, 221, 0.1);
    box-shadow: 0 0 12px var(--glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
}

.mobile-nav {
    display: none;
}

/* ============================================
   HERO SECTION - STANDARDIZED FONT SIZES
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.6);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.4), rgba(30, 30, 60, 0.4));
    z-index: -1;
}

#particles-js, #particles-trivia {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-text {
    position: relative;
    z-index: 10;
}

/* HERO TEXT STANDARDIZATION - MAXIMUM SPECIFICITY */
.hero-text h1 {
    font-size: 3.75rem !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: var(--text-primary) !important;
    text-shadow: 0 0 15px var(--glow) !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
}

.hero-text p {
    font-size: 1.5rem !important;
    color: var(--text-secondary) !important;
    text-shadow: 0 0 6px var(--glow) !important;
    font-family: 'Montserrat', sans-serif !important;
}

.hero-text .cta {
    position: relative;
    z-index: 20;
    background: linear-gradient(45deg, #00e6cb, #ff4081);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-text .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 230, 203, 0.4);
}

/* CTA Button */
.cta {
    padding: 1.2rem 3rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--glow);
    position: relative;
    overflow: hidden;
}

.cta:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--glow);
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

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

/* Channel Cards */
.channel-card {
    background: var(--bg-element);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--glow);
}

.channel-card p {
    color: var(--text-muted);
}

/* Swiper Slider */
.swiper-container {
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--glow);
}

.swiper-pagination-bullet-active {
    background: var(--accent);
}

.swiper-button-prev, .swiper-button-next {
    color: var(--accent);
    filter: drop-shadow(0 0 5px var(--glow));
}

/* Social Feed */
.social-feed a {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-feed a:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 12px var(--glow));
}

/* Footer */
footer {
    background: var(--bg-nav-footer);
    border-top: 1px solid var(--border);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (prefers-contrast: high) {
    body { background: #000000; color: #FFFFFF; }
    .nav-link, .cta { background: #000000; color: #FFFFFF; }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0.5rem 1rem;
    }
    nav ul {
        gap: 0.4rem;
    }
    .nav-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem !important;
    }
    .hero-text p {
        font-size: 1.25rem !important;
    }
    .cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .header-container nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-nav {
        display: none;
    }
    .mobile-nav:not(.hidden) {
        display: flex;
    }
    .logo img {
        max-height: 40px;
    }
}
