/* LAYOUT 1: MINEAGE 2 — RVR MMORPG (SERIOUS DARK FANTASY & UNIFIED GOLD OBSIDIAN) */
#layout1 {
    background:
        radial-gradient(circle at 50% 15%, rgba(215, 180, 71, 0.08) 0%, transparent 36%),
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.04) 0%, transparent 28%),
        linear-gradient(180deg, rgba(9, 12, 18, 0.2), rgba(6, 7, 10, 0.9));
}

.l1-hero {
    position: relative;
    padding: 68px 24px 54px;
    text-align: center;
}

.l2-main-emblem-box {
    width: 130px;
    height: 130px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 
        0 0 34px rgba(242, 201, 76, 0.28),
        0 8px 25px rgba(0, 0, 0, 0.72);
    overflow: hidden;
    background: #000;
}

.hero-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l1-title {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #f7f9fc;
    text-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.9),
        0 0 22px rgba(242, 201, 76, 0.24);
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.25;
}

.l1-subtitle {
    max-width: 850px;
    margin: 0 auto 26px;
    font-size: 1.15rem;
    color: #c7d0df;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto 44px;
}

.hero-action-primary,
.hero-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.15rem;
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-action-primary {
    color: #090b10;
    background: var(--gold-primary);
}

.hero-action-secondary {
    color: var(--gold-primary);
    background: rgba(215, 180, 71, 0.08);
}

.hero-action-primary:hover,
.hero-action-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-glow);
}

/* GAME OVERVIEW GRID (ABOUT, TARGET AUDIENCE, ALPHA STATUS) */
.l1-game-overview-grid {
    max-width: 1150px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.overview-card {
    background: linear-gradient(180deg, rgba(16, 21, 33, 0.95), rgba(9, 12, 19, 0.98));
    border: 1px solid var(--border-subtle);
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 180, 71, 0.36);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.overview-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 18px rgba(242, 201, 76, 0.2);
    overflow: hidden;
}

.overview-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.overview-card p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.7;
}

.development-status {
    max-width: 1150px;
    margin: 0 auto 28px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
    background: linear-gradient(110deg, rgba(215, 180, 71, 0.11), rgba(14, 18, 28, 0.96) 42%);
    border: 1px solid rgba(215, 180, 71, 0.36);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.status-copy {
    max-width: 720px;
}

.status-eyebrow,
.status-phase {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.development-status h2 {
    margin: 5px 0 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.development-status p,
.status-meta {
    color: #aab6c8;
    font-size: 0.88rem;
}

.status-meta {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    text-align: right;
}

/* ROADMAP TIMELINE */
.l1-roadmap-box {
    max-width: 1150px;
    margin: 0 auto 54px;
    background: rgba(14, 18, 28, 0.95);
    border: 1px solid var(--border-subtle);
    padding: 36px 28px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.roadmap-title {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.4rem;
    margin-bottom: 32px;
    letter-spacing: 1.5px;
    text-align: center;
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.timeline-step {
    background: linear-gradient(180deg, rgba(10, 14, 22, 0.98), rgba(7, 9, 14, 0.98));
    border: 1px solid rgba(215, 180, 71, 0.15);
    padding: 22px 18px;
    border-radius: 14px;
    position: relative;
    text-align: left;
}

.timeline-step.active {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(180deg, rgba(215, 180, 71, 0.14) 0%, rgba(14, 18, 28, 0.95) 100%);
    box-shadow: 0 0 24px rgba(242, 201, 76, 0.18);
}

.step-num {
    display: inline-block;
    background: rgba(215, 180, 71, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-step h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Faction Cards - Lineage 2 Custom Race Emblems & Gold Relief Frames */
.l1-faction-picker {
    max-width: 1150px;
    margin: 0 auto 44px;
    background: rgba(14, 18, 28, 0.95);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.l1-faction-picker h2 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    margin-bottom: 22px;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
}

.faction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.faction-card {
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 18px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faction-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold-glow);
}

.faction-card.active {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.25) 0%, rgba(18, 22, 34, 0.95) 100%);
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-gold-glow);
}

.faction-img-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
    overflow: hidden;
}

.race-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gold-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.5);
    overflow: hidden;
    flex-shrink: 0;
}

.gold-icon-badge.mini {
    width: 36px;
    height: 36px;
    border-width: 1px;
}

.gold-icon-badge.lg {
    width: 64px;
    height: 64px;
    border-width: 2px;
}

.badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gold-emblem-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
    overflow: hidden;
    margin-bottom: 16px;
}

.feat-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-icon-gold {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 18px rgba(243, 156, 18, 0.5);
    overflow: hidden;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080a10;
}

.topic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faction-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.faction-role {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.faction-stat {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: auto;
}

/* CTA CONVERSION BOX (DARK GRANITE OBSIDIAN, NO MUSTARD BLUR) */
.l1-cta-box {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(14, 18, 28, 0.95);
    border: 1px solid var(--gold-primary);
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: var(--shadow-card);
}

.l1-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-text {
    text-align: left;
    flex: 1;
}

.cta-heading {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.cta-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.btn-tg-gold-sleek {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--amber-deep) 100%);
    color: #000000;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.5);
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-tg-gold-sleek:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.8);
}

/* Features Grid */
.l1-features-section {
    max-width: 1150px;
    margin: 42px auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 2rem;
    margin-bottom: 44px;
    letter-spacing: 1px;
}

.l1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.l1-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    border-radius: 16px;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.l1-feat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
}

.feat-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, var(--gold-primary), var(--amber-deep));
    color: #000;
    font-weight: 900;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.l1-feat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 14px 0 10px;
    color: white;
}

.l1-feat-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Topic Card Buttons - Crisp Gold Relief */
.btn-topic-link, .btn-vote-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 12px;
}

.btn-topic-link:hover, .btn-vote-link:hover {
    background: var(--gold-primary);
    color: #000000;
    box-shadow: var(--shadow-gold-glow);
}

.faction-card .btn-vote-link {
    margin-top: auto;
}

@media (max-width: 768px) {
    .l1-hero {
        padding: 48px 16px 40px;
    }

    .l1-title {
        max-width: 100%;
        overflow-wrap: break-word;
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        letter-spacing: 0.5px;
        line-height: 1.15;
    }

    .l1-subtitle {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions {
        margin-bottom: 34px;
    }

    .hero-action-primary,
    .hero-action-secondary {
        width: 100%;
    }

    .development-status {
        flex-direction: column;
        padding: 22px 20px;
    }

    .status-meta {
        min-width: 0;
        align-items: flex-start;
        text-align: left;
    }

    .l1-game-overview-grid,
    .l1-grid,
    .roadmap-timeline,
    .faction-cards,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .l1-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-text {
        text-align: center;
    }
}

/* FAQ SECTION FOR RVR / L2 / BSFG / ENDLESSWAR SEO */
.l1-faq-box {
    max-width: 1150px;
    margin: 38px auto 28px;
    background: rgba(14, 18, 28, 0.95);
    border: 1px solid var(--border-subtle);
    padding: 24px 22px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.faq-card {
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 20px 20px 18px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 78px;
}

.faq-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-3px);
}

.faq-card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 14px rgba(243, 156, 18, 0.35);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.faq-card:nth-child(1)::before {
    background-image: url('../images/race_human.jpg');
}

.faq-card:nth-child(2)::before {
    background-image: url('../images/devlog_geodata.jpg');
}

.faq-card:nth-child(3)::before {
    background-image: url('../images/race_orc.jpg');
}

.faq-card:nth-child(4)::before {
    background-image: url('../images/race_dwarf.jpg');
}

.faq-card:nth-child(5)::before {
    background-image: url('../images/icon_announcements.jpg');
}

.faq-card h3 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
}

