/* ========================================
   Landing Page Styles — Cinematic MMO Aesthetic
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    background-color: #000b11;
}

.hero-gradient {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(3, 40, 70, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(34, 114, 184, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 60%, rgba(74, 159, 229, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #000b11 0%, #01111a 30%, #031b2b 60%, #010e17 100%);
}

/* Noise texture overlay */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle scan-line pulse */
.landing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(74, 159, 229, 0.015) 50%,
        transparent 100%
    );
    animation: heroScanline 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroScanline {
    0%, 100% { transform: translateY(-20%); opacity: 0; }
    50% { transform: translateY(20%); opacity: 1; }
}

/* Hex grid — slow drift */
.hero-hex-grid {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'%3E%3Cpath d='M40 0 L80 23 L80 69 L40 92 L0 69 L0 23 Z' fill='none' stroke='%234a9fe5' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 80px 92px;
    pointer-events: none;
    z-index: 0;
    animation: hexDrift 30s linear infinite;
}

@keyframes hexDrift {
    from { background-position: 0 0; }
    to { background-position: 80px 92px; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    animation: heroContentFadeIn 1s ease-out 0.2s both;
}

@keyframes heroContentFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-shadow: 0 0 60px rgba(34, 114, 184, 0.2);
}

.hero-content .hero-subtitle {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: var(--ad-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-content .hero-subtitle::before,
.hero-content .hero-subtitle::after {
    content: '///';
    margin: 0 0.75rem;
    color: rgba(74, 159, 229, 0.3);
    letter-spacing: 0.05em;
}

.hero-content .hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-content .hero-description p {
    margin: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-hero-primary {
    background: linear-gradient(135deg, var(--ad-primary), var(--ad-accent));
    color: #fff;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 30px rgba(34, 114, 184, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 600ms ease;
}

.hero-buttons .btn-hero-primary:hover::before {
    transform: translateX(100%);
}

.hero-buttons .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(34, 114, 184, 0.4);
    color: #fff;
}

.hero-buttons .btn-hero-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.875rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 300ms ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-buttons .btn-hero-secondary:hover {
    border-color: var(--ad-accent);
    color: #fff;
    background: rgba(74, 159, 229, 0.08);
    box-shadow: 0 0 20px rgba(74, 159, 229, 0.1);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   SECTION SHARED STYLES
   ======================================== */
.landing-section {
    padding: 6rem 0;
    position: relative;
    background-color: #000b11;
}

.landing-section:nth-child(even) {
    background: linear-gradient(180deg, #01111a 0%, #000b11 100%);
}

/* Section separator line */
.landing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 229, 0.2), transparent);
}

.landing-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #f0f4f8;
    letter-spacing: -0.02em;
}

.landing-section .landing-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.landing-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-card {
    padding: 2rem 1.75rem;
    border-radius: 0.75rem;
    background: rgba(2, 18, 30, 0.6);
    border: 1px solid rgba(74, 159, 229, 0.1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ad-accent), transparent);
    opacity: 0;
    transition: opacity 300ms ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(74, 159, 229, 0.25);
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(34, 114, 184, 0.08);
    background: rgba(2, 24, 40, 0.8);
}

.feature-card .bi {
    color: var(--ad-accent);
    filter: drop-shadow(0 0 8px rgba(74, 159, 229, 0.3));
}

.feature-card h5,
.feature-card .h5 {
    color: #f0f4f8;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   MEDIA GALLERY
   ======================================== */
.media-placeholder {
    aspect-ratio: 16/9;
    background: rgba(2, 18, 30, 0.6);
    border: 1px solid rgba(74, 159, 229, 0.12);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.landing-section .ratio {
    border: 1px solid rgba(74, 159, 229, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.landing-section img.img-fluid {
    border: 1px solid rgba(74, 159, 229, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ========================================
   CTA SECTION
   ======================================== */
.landing-cta {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(34, 114, 184, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, #031b2b, #01111a);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    overflow: hidden;
}

.landing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 229, 0.3), transparent);
}

.landing-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 229, 0.3), transparent);
}

.landing-cta h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.landing-cta p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.landing-cta .btn-hero-primary {
    background: linear-gradient(135deg, var(--ad-primary), var(--ad-accent));
    color: #fff;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 300ms ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 30px rgba(34, 114, 184, 0.25);
}

.landing-cta .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(34, 114, 184, 0.4);
    color: #fff;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.landing-about .about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.5);
}

.landing-about .about-text p {
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .landing-hero {
        min-height: 85vh;
        padding: 5rem 1.25rem 3rem;
    }

    .landing-section {
        padding: 4rem 0;
    }

    .landing-cta {
        padding: 3.5rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        min-height: 80vh;
    }

    .hero-content .hero-subtitle::before,
    .hero-content .hero-subtitle::after {
        display: none;
    }
}

/* ========================================
   COMMUNITY / FEATURE SHOWCASE
   ======================================== */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #f0f4f8;
}

.section-description {
    color: #8fa3b8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-highlight-icon {
    font-size: 1.4rem;
    color: var(--ad-accent, #4a9fe5);
    min-width: 28px;
    margin-top: 2px;
}

.feature-highlights strong {
    color: #dce6f0;
    font-size: 0.95rem;
}

.feature-highlights .text-muted {
    font-size: 0.875rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content address {
    font-style: normal;
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.05);
}

.legal-content .table {
    color: rgba(255,255,255,0.8);
}

.legal-content .table th {
    border-color: rgba(255,255,255,0.1);
}

.legal-content .table td {
    border-color: rgba(255,255,255,0.05);
}
