﻿/* Extracted from views\landing.php */

body {
        margin: 0;
        padding: 0;
        background: #0b0b0e;
        color: #fff;
        font-family: 'Inter', sans-serif;
    }

    .landing-hero {
        height: 100vh;
        background: url('assets/img/silk_road_hero.png') no-repeat center center fixed;
        background-size: cover;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        text-align: center;
        padding: 0 20px;
    }

    .landing-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(11,11,14,1) 100%);
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 5;
        max-width: 900px;
        animation: heroFadeIn 1.5s ease-out;
    }

    @keyframes heroFadeIn {
        from { opacity: 0; transform: scale(1.05); }
        to { opacity: 1; transform: scale(1); }
    }

    .hero-title {
        font-family: 'Cinzel', serif;
        font-size: 80px;
        color: #ffd700;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 10px;
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    }

    .hero-subtitle {
        font-size: 20px;
        color: #ddd;
        margin-top: 20px;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-weight: 300;
        opacity: 0.8;
    }

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

    .cta-btn {
        padding: 18px 45px;
        font-family: 'Cinzel', serif;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn-primary {
        background: #8b0000;
        color: #fff;
        border: 1px solid #ffd700;
        box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
    }

    .btn-primary:hover {
        transform: translateY(-5px);
        filter: brightness(1.2);
        box-shadow: 0 15px 40px rgba(139, 0, 0, 0.6);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        color: #ffd700;
        border: 1px solid rgba(255, 215, 0, 0.3);
        backdrop-filter: blur(10px);
    }

    .btn-secondary:hover {
        background: rgba(255, 215, 0, 0.1);
        border-color: #ffd700;
        transform: translateY(-3px);
    }

    .tribe-section {
        padding: 100px 5%;
        background: #0b0b0e;
        text-align: center;
    }

    .section-title {
        font-family: 'Cinzel', serif;
        font-size: 36px;
        margin-bottom: 60px;
        color: #ffd700;
    }

    .tribe-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .tribe-card {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 8px;
        padding: 30px;
        transition: all 0.4s ease;
        cursor: pointer;
    }

    .tribe-card:hover {
        background: rgba(255,215,0,0.05);
        border-color: #ffd700;
        transform: translateY(-10px);
    }

    .tribe-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .tribe-name {
        font-family: 'Cinzel', serif;
        font-size: 22px;
        margin-bottom: 15px;
        color: #fff;
    }

    .tribe-desc {
        color: #888;
        font-size: 14px;
        line-height: 1.6;
    }

    /* ── Section shared ───────────────────────────── */
    .section-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 5%;
    }

    /* ── Section C: Features ────────────────────────── */
    .features-section {
        padding: 100px 0;
        background: linear-gradient(180deg, #0b0b0e 0%, #0e0d10 100%);
        text-align: center;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 0;
    }

    .feature-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        padding: 36px 24px;
        transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 215, 0, 0.3);
        background: rgba(255, 215, 0, 0.04);
    }

    .feature-icon {
        font-size: 44px;
        margin-bottom: 18px;
        line-height: 1;
    }

    .feature-name {
        font-family: 'Cinzel', serif;
        font-size: 18px;
        color: #ffd700;
        margin: 0 0 14px;
    }

    .feature-desc {
        font-size: 14px;
        color: #777;
        line-height: 1.7;
        margin: 0;
    }

    @media (max-width: 900px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 560px) {
        .features-grid {
            grid-template-columns: 1fr;
        }
    }

    /* ── Section D: How to Play ─────────────────────── */
    .howtoplay-section {
        padding: 100px 0;
        background: #09090c;
        text-align: center;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-bottom: 60px;
        position: relative;
    }

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: calc(16.6% + 24px);
        right: calc(16.6% + 24px);
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    }

    .step-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .step-number {
        font-family: 'Cinzel', serif;
        font-size: 36px;
        font-weight: 900;
        color: rgba(255, 215, 0, 0.15);
        line-height: 1;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 215, 0, 0.12);
        border-radius: 50%;
        background: rgba(255, 215, 0, 0.03);
        transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    }

    .step-card:hover .step-number {
        color: rgba(255, 215, 0, 0.6);
        border-color: rgba(255, 215, 0, 0.4);
        background: rgba(255, 215, 0, 0.06);
    }

    .step-title {
        font-family: 'Cinzel', serif;
        font-size: 18px;
        color: #fff;
        margin: 0 0 12px;
    }

    .step-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.7;
        margin: 0;
    }

    .howtoplay-cta {
        display: flex;
        justify-content: center;
    }

    @media (max-width: 700px) {
        .steps-grid {
            grid-template-columns: 1fr;
        }
        .steps-grid::before { display: none; }
    }

    /* ── Section H: Gallery ─────────────────────────── */
    .gallery-section {
        padding: 100px 0;
        background: #0b0b0e;
        text-align: center;
        overflow: hidden;
    }

    .gallery-wrapper {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 48px;
    }

    .gallery-track-wrap {
        flex: 1;
        overflow: hidden;
        border-radius: 8px;
        border: 1px solid rgba(255, 215, 0, 0.1);
    }

    .gallery-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .gallery-slide {
        flex-shrink: 0;
        width: 100%;
        position: relative;
    }

    .gallery-slide img {
        width: 100%;
        height: 460px;
        object-fit: cover;
        display: block;
    }

    .gallery-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 40px 24px 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
        font-family: 'Cinzel', serif;
        font-size: 16px;
        letter-spacing: 2px;
        color: #ffd700;
        text-align: center;
    }

    .gallery-btn {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(255, 215, 0, 0.06);
        border: 1px solid rgba(255, 215, 0, 0.2);
        color: #ffd700;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .gallery-btn:hover {
        background: rgba(255, 215, 0, 0.12);
        border-color: rgba(255, 215, 0, 0.5);
        transform: scale(1.08);
    }

    .gallery-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 24px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: 1px solid rgba(255, 215, 0, 0.3);
        background: transparent;
        cursor: pointer;
        padding: 0;
        transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .gallery-dot.active {
        background: #ffd700;
        border-color: #ffd700;
        transform: scale(1.3);
    }

    @media (max-width: 600px) {
        .gallery-slide img { height: 240px; }
        .gallery-btn { width: 40px; height: 40px; font-size: 24px; }
    }
