/* ============================================================================
   RPG Heroes – Startseite (home.css)
   High-end Enterprise Design für die Landing Page.
   Wird ausschließlich von / geladen (pageStyles).
   ============================================================================ */

:root {
    --home-gold: #d6ad62;
    --home-gold-hot: #f0d18b;
    --home-amber: #f59e0b;
    --home-red: #dc2626;
    --home-cyan: #06b6d4;
    --home-emerald: #10b981;
    --home-violet: #8b5cf6;
    --home-ink: #e7eaf0;
    --home-muted: #8d98aa;
    --home-card-bg: linear-gradient(155deg, rgba(12, 16, 28, .94), rgba(15, 23, 42, .92));
}

/* ═══════════════════════ HERO ═══════════════════════ */
.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(214, 173, 98, .18);
    border-radius: 2rem;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(214, 173, 98, .12), transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(220, 38, 38, .10), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(88, 28, 135, .06), transparent 70%),
        linear-gradient(170deg, rgba(12, 9, 5, .96), rgba(8, 11, 18, .95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 32px 72px rgba(0,0,0,.5);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(214, 173, 98, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 173, 98, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 45% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 45% 40%, black 0%, transparent 70%);
}
.home-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 173, 98, .75), transparent);
    z-index: 2;
}
.home-hero-inner {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1.5rem;
}
@media (min-width: 640px) {
    .home-hero-inner { padding: 2.25rem 2rem; }
}
@media (min-width: 1024px) {
    .home-hero-inner { padding: 3rem 4rem; }
}
.home-hero-text {
    text-align: left;
}
@media (min-width: 1024px) {
    .home-hero-text {
        text-align: right;
    }
    .home-hero-text .home-hero-subtitle {
        margin-left: auto;
    }
    .home-hero-actions {
        justify-content: flex-end;
    }
    .home-hero-text .home-trust-row {
        justify-content: flex-end;
    }
}
.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .9rem;
    border: 1px solid rgba(214, 173, 98, .3);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(214, 173, 98, .12), rgba(220, 38, 38, .07));
    color: var(--home-gold-hot);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(214, 173, 98, .10), inset 0 1px 0 rgba(255,255,255,.06);
}
.home-live-dot {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, .8);
    animation: home-live-pulse 2s ease-in-out infinite;
}
.home-hero-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    letter-spacing: .01em;
    background: linear-gradient(135deg, #fff 0%, #fde68a 25%, #f59e0b 55%, #dc2626 90%, #991b1b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 40px rgba(245, 158, 11, .15);
    line-height: 1.08;
}
.home-hero-subtitle {
    color: #a8b0bf;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 34rem;
}

/* ─── Hero Trust Badges ─────────────────────────────── */
.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.2rem;
}
.home-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: .6rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
    font-size: .65rem;
    font-weight: 600;
}
.home-trust-badge svg { color: var(--home-gold); flex-shrink: 0; }

/* ═══════════════════════ LIVE STATS ═══════════════════ */
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .home-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,.07);
    background: var(--home-card-bg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    padding: 1.25rem 1.1rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 173, 98, .2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 32px rgba(0,0,0,.4);
}
.home-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    opacity: .5;
}
.home-stat-card--red::before { background: linear-gradient(90deg, transparent, #dc2626, transparent); }
.home-stat-card--green::before { background: linear-gradient(90deg, transparent, #10b981, transparent); }
.home-stat-card--amber::before { background: linear-gradient(90deg, transparent, #f59e0b, transparent); }
.home-stat-card--violet::before { background: linear-gradient(90deg, transparent, #8b5cf6, transparent); }
.home-stat-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .75rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: .75rem;
}
.home-stat-icon--red { background: linear-gradient(135deg, rgba(220,38,38,.18), rgba(220,38,38,.06)); border: 1px solid rgba(220,38,38,.2); color: #fca5a5; }
.home-stat-icon--green { background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(16,185,129,.06)); border: 1px solid rgba(16,185,129,.2); color: #6ee7b7; }
.home-stat-icon--amber { background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(245,158,11,.06)); border: 1px solid rgba(245,158,11,.2); color: #fcd34d; }
.home-stat-icon--violet { background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(139,92,246,.06)); border: 1px solid rgba(139,92,246,.2); color: #c4b5fd; }
.home-stat-label {
    color: #718096;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.home-stat-value {
    margin-top: .45rem;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #f8fafc;
}
.home-stat-suffix { color: #94a3b8; font-size: .7rem; font-weight: 600; margin-left: .25rem; }
.home-stat-bar {
    margin-top: .5rem;
    height: 4px;
    border-radius: 99px;
    background: rgba(0,0,0,.45);
    overflow: hidden;
}
.home-stat-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
}
.home-stat-bar--red > span { background: linear-gradient(90deg, #dc2626, #f87171); box-shadow: 0 0 8px rgba(220,38,38,.45); }
.home-stat-bar--green > span { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 8px rgba(16,185,129,.45); }
.home-stat-bar--amber > span { background: linear-gradient(90deg, #f59e0b, #fcd34d); box-shadow: 0 0 8px rgba(245,158,11,.45); }
.home-stat-bar--violet > span { background: linear-gradient(90deg, #8b5cf6, #c4b5fd); box-shadow: 0 0 8px rgba(139,92,246,.45); }

/* ═══════════════════════ SECTION HEADERS ══════════════ */
.home-section-header { margin-bottom: 2.5rem; }
.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 173, 98, .2);
    background: rgba(214, 173, 98, .06);
    color: var(--home-gold-hot);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.home-section-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #fff;
    line-height: 1.15;
    letter-spacing: .01em;
}
.home-section-subtitle {
    margin-top: .5rem;
    color: #94a3b8;
    font-size: .9rem;
    line-height: 1.6;
    max-width: 32rem;
}

/* ═══════════════════════ FEATURES GRID ════════════════ */
.home-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .home-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .home-features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,.06);
    background: var(--home-card-bg);
    padding: 1.5rem 1.2rem;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.home-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 173, 98, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 36px rgba(0,0,0,.35), 0 0 20px rgba(214, 173, 98, .06);
}
.home-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .3;
    pointer-events: none;
}
.home-feature-card:hover::after { opacity: .45; }
.home-feature-card--red::after { background: rgba(220, 38, 38, .25); }
.home-feature-card--amber::after { background: rgba(245, 158, 11, .25); }
.home-feature-card--violet::after { background: rgba(139, 92, 246, .25); }
.home-feature-card--emerald::after { background: rgba(16, 185, 129, .25); }
.home-feature-card--cyan::after { background: rgba(6, 182, 212, .25); }
.home-feature-card--rose::after { background: rgba(244, 63, 94, .25); }
.home-feature-card--sky::after { background: rgba(14, 165, 233, .25); }
.home-feature-card--fuchsia::after { background: rgba(217, 70, 239, .25); }
.home-feature-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: .75rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.home-feature-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    position: relative;
    z-index: 1;
}
.home-feature-desc {
    margin-top: .4rem;
    color: #717a8a;
    font-size: .78rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════ CLASSES ══════════════════════ */
.home-classes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .home-classes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .home-classes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-class-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.07);
    background: var(--home-card-bg);
    padding: 1.75rem 1.3rem 1.5rem;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.home-class-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 173, 98, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 44px rgba(0,0,0,.4), 0 0 24px rgba(214, 173, 98, .05);
}
.home-class-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .15;
    pointer-events: none;
    transition: opacity .3s ease;
}
.home-class-card:hover::after { opacity: .3; }
.home-class-card--warrior::after { background: rgba(220, 38, 38, .3); }
.home-class-card--priest::after { background: rgba(16, 185, 129, .3); }
.home-class-card--mage::after { background: rgba(6, 182, 212, .3); }
.home-class-card--rogue::after { background: rgba(168, 85, 247, .3); }
.home-class-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}
.home-class-name {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}
.home-class-desc {
    margin-top: .4rem;
    color: #7a8494;
    font-size: .8rem;
    line-height: 1.5;
    flex: 1;
    position: relative;
    z-index: 1;
}
.home-class-stat { margin-top: 1rem; position: relative; z-index: 1; }
.home-class-stat-label {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    font-weight: 600;
    margin-bottom: .4rem;
}
.home-class-stat-bar {
    height: .35rem;
    border-radius: 99px;
    background: rgba(0,0,0,.4);
    overflow: hidden;
}
.home-class-stat-fill {
    height: 100%;
    border-radius: inherit;
    transition: width 1s ease;
}

/* ═══════════════════════ DUNGEON CARDS ════════════════ */
.home-dungeons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .home-dungeons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-dungeon-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.08);
    padding: 2.5rem 1.5rem 1.75rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-dungeon-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 173, 98, .2);
    box-shadow: 0 20px 40px rgba(0,0,0,.45), 0 0 28px rgba(214, 173, 98, .06);
}
.home-dungeon-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
}
.home-dungeon-card--cta { background: linear-gradient(180deg, #1e0f0f, #0c0c14); }
.home-dungeon-card--cta::before { background: radial-gradient(ellipse at 50% 0%, rgba(220,38,38,.2), transparent 60%); }
.home-dungeon-card--fire { background: linear-gradient(180deg, #1f1306, #0c0c14); }
.home-dungeon-card--fire::before { background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,.2), transparent 60%); }
.home-dungeon-card--ice { background: linear-gradient(180deg, #0a1424, #0c0c14); }
.home-dungeon-card--ice::before { background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,.2), transparent 60%); }
.home-dungeon-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    border: 1px solid;
    margin-bottom: 1.25rem;
}
.home-dungeon-icon--red { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.25); }
.home-dungeon-icon--amber { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.25); }
.home-dungeon-icon--cyan { background: rgba(6,182,212,.12); border-color: rgba(6,182,212,.25); }
.home-dungeon-level {
    display: inline-flex;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: .75rem;
}
.home-dungeon-name {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}
.home-dungeon-boss {
    margin-top: .3rem;
    color: #7a8494;
    font-size: .8rem;
    position: relative;
    z-index: 1;
}
.home-dungeon-boss strong { color: var(--home-gold); }
.home-dungeon-link {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    padding: .7rem;
    border-radius: .8rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #cbd5e1;
    font-size: .8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all .25s ease;
    text-decoration: none;
}
.home-dungeon-link:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(214, 173, 98, .25);
    color: #fff;
}

/* ═══════════════════════ HOW IT WORKS ═════════════════ */
.home-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .home-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.25rem 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.06);
    background: var(--home-card-bg);
    transition: transform .28s ease, border-color .28s ease;
}
.home-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 173, 98, .15);
}
.home-step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.2rem;
    font-weight: 800;
    border: 2px solid;
    position: relative;
}
.home-step-number::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px dashed;
    animation: home-spin-slow 30s linear infinite;
}
.home-step-number--red { background: rgba(220,38,38,.15); border-color: rgba(220,38,38,.35); color: #fca5a5; }
.home-step-number--red::after { border-color: rgba(220,38,38,.2); }
.home-step-number--amber { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.35); color: #fcd34d; }
.home-step-number--amber::after { border-color: rgba(245,158,11,.2); }
.home-step-number--emerald { background: rgba(16,185,129,.15); border-color: rgba(16,185,129,.35); color: #6ee7b7; }
.home-step-number--emerald::after { border-color: rgba(16,185,129,.2); }
.home-step-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    margin-bottom: .4rem;
}
.home-step-desc {
    color: #717a8a;
    font-size: .78rem;
    line-height: 1.55;
}
.home-step-connector {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: calc(100% + .5rem);
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(245,158,11,.2), transparent);
}
@media (min-width: 640px) {
    .home-step-connector { display: block; }
}

/* ═══════════════════════ NEWS ═════════════════════════ */
.home-news-grid {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.home-news-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.06);
    background: var(--home-card-bg);
    padding: 1.5rem 1.5rem;
    text-decoration: none;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
    display: block;
}
.home-news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 173, 98, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 36px rgba(0,0,0,.3), 0 0 20px rgba(214, 173, 98, .05);
}
.home-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: rgba(245, 158, 11, .04);
    filter: blur(50px);
    pointer-events: none;
}
.home-news-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(214, 173, 98, .08);
    border: 1px solid rgba(214, 173, 98, .15);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--home-gold-hot);
    margin-bottom: .75rem;
}
.home-news-tag {
    display: inline-block;
    padding: .15rem .45rem;
    border-radius: .4rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: .75rem;
}
.home-news-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.25;
    margin-bottom: .5rem;
    transition: color .25s ease;
}
.home-news-card:hover .home-news-title { color: var(--home-gold); }
.home-news-excerpt {
    color: #7a8494;
    font-size: .82rem;
    line-height: 1.55;
}
.home-news-readmore {
    display: inline-block;
    margin-top: .75rem;
    color: #dc2626;
    font-size: .75rem;
    font-weight: 700;
    transition: color .25s ease;
}
.home-news-card:hover .home-news-readmore { color: #f87171; }

/* ═══════════════════════ CTA ══════════════════════════ */
.home-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 2rem;
    border: 1px solid rgba(220, 38, 38, .2);
    padding: 3rem 2rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, .2), transparent 55%),
        linear-gradient(180deg, rgba(20, 8, 6, .95), rgba(8, 11, 18, .95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px rgba(0,0,0,.45);
}
.home-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(220, 38, 38, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 45%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 0%, transparent 70%);
}
.home-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, .8), transparent);
}
.home-cta-glow-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.home-cta-glow-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.home-cta-glow-orbs span:nth-child(1) {
    width: 16rem;
    height: 16rem;
    background: rgba(220, 38, 38, .1);
    top: -20%;
    left: 20%;
    animation: home-cta-orb 8s ease-in-out infinite;
}
.home-cta-glow-orbs span:nth-child(2) {
    width: 12rem;
    height: 12rem;
    background: rgba(245, 158, 11, .08);
    top: 30%;
    right: -10%;
    animation: home-cta-orb 10s ease-in-out infinite reverse;
}
.home-cta-title {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    position: relative;
    z-index: 1;
}
.home-cta-subtitle {
    margin-top: .75rem;
    color: #a8b0bf;
    font-size: .95rem;
    position: relative;
    z-index: 1;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}
.home-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}
.home-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.8rem;
    border-radius: .9rem;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border: 1px solid rgba(220, 38, 38, .4);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .03em;
    box-shadow: 0 0 24px rgba(220, 38, 38, .3), inset 0 1px 0 rgba(255,255,255,.15);
    transition: all .25s ease;
    text-decoration: none;
}
.home-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 32px rgba(220, 38, 38, .45), inset 0 1px 0 rgba(255,255,255,.2);
}
.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.8rem;
    border-radius: .9rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #cbd5e1;
    font-size: .85rem;
    font-weight: 700;
    transition: all .25s ease;
    text-decoration: none;
}
.home-btn-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
    color: #fff;
}

/* ═══════════════════════ ANIMATIONS ═══════════════════ */
@keyframes home-live-pulse {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes home-spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes home-cta-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.2); }
}

/* ═══════════════════════ RESPONSIVE ═══════════════════ */
@media (min-width: 640px) {
    .home-hero { justify-content: flex-end; }
}
@media (max-width: 640px) {
    .home-hero { border-radius: 1.25rem; min-height: auto; }

    .home-cta { border-radius: 1.25rem; padding: 2rem 1.25rem; }
    .home-class-card { border-radius: 1.25rem; }
    .home-dungeon-card { border-radius: 1.25rem; min-height: 260px; }
    .home-news-card { border-radius: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-live-dot, .home-spin-slow, .home-cta-orb { animation: none !important; }
    .home-class-card, .home-feature-card, .home-dungeon-card,
    .home-news-card, .home-stat-card, .home-step-card { transition: none !important; }
}