/* ── Hero ──────────────────────────────────────────────────────────────── */
.realm-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #0d0d0d 0%, #1a1209 55%, #0d0d0d 100%);
    overflow: hidden;
}

.realm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 40%, rgba(212,175,55,.07) 0%, transparent 70%);
    pointer-events: none;
}

.realm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
    padding: 40px 24px;
}

.realm-hero-eyebrow {
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--realm-gold);
    margin-bottom: 18px;
}

.realm-hero h1 {
    font-family: var(--realm-font-serif);
    font-size: clamp(38px, 7vw, 76px);
    color: var(--realm-gold);
    line-height: 1.05;
    margin: 0 0 22px;
    text-shadow: 0 4px 28px rgba(0,0,0,.8);
}

.realm-hero p {
    font-size: 18px;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 38px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CTA buttons ───────────────────────────────────────────────────────── */
.realm-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.realm-cta-btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: filter .2s, transform .15s, box-shadow .2s;
    cursor: pointer;
}

.realm-cta-primary {
    background: linear-gradient(160deg, var(--realm-gold) 0%, #9a7a1a 100%);
    color: #111 !important;
    border: none;
}

.realm-cta-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,.35);
    color: #111 !important;
    text-decoration: none;
}

.realm-cta-secondary {
    background: transparent;
    color: var(--realm-gold) !important;
    border: 1px solid rgba(212,175,55,.45);
}

.realm-cta-secondary:hover {
    border-color: var(--realm-gold);
    background: rgba(212,175,55,.08);
    color: var(--realm-gold) !important;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Section wrappers ──────────────────────────────────────────────────── */
.realm-section-wrap  { padding: 84px 24px; }
.realm-bg-deep       { background: var(--realm-bg-deep); }
.realm-bg-mid        { background: var(--realm-bg); }

.realm-section-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.realm-section-title {
    font-family: var(--realm-font-serif);
    font-size: clamp(24px, 3.5vw, 40px);
    color: var(--realm-gold);
    text-align: center;
    margin-bottom: 10px;
}

.realm-section-subtitle {
    text-align: center;
    color: var(--realm-text-muted);
    font-size: 16px;
    margin-bottom: 44px;
}

.realm-ornament-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--realm-gold), transparent);
    margin: 0 auto 52px;
}

/* ── Server cards ──────────────────────────────────────────────────────── */
.realm-server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.realm-server-card {
    background: var(--realm-bg-card);
    border: 1px solid var(--realm-border);
    border-radius: 10px;
    padding: 34px 30px;
    transition: border-color .25s, box-shadow .25s;
}

.realm-server-card:hover {
    border-color: rgba(212,175,55,.55);
    box-shadow: 0 10px 36px rgba(0,0,0,.55);
}

.realm-server-card--featured {
    border-color: rgba(212,175,55,.45);
}

.realm-server-card h3 {
    font-family: var(--realm-font-serif);
    font-size: 22px;
    color: var(--realm-gold);
    margin: 0 0 14px;
}

.realm-server-card p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.realm-card-note {
    font-size: 12px !important;
    color: var(--realm-text-muted) !important;
    margin-bottom: 24px !important;
}

.realm-server-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.realm-tag-legacy { background: #1a237e; color: #90caf9; }
.realm-tag-sub    { background: #4a2800; color: #ffcc80; }

/* ── Feature grid ──────────────────────────────────────────────────────── */
.realm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.realm-feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--realm-bg-card);
    border-radius: var(--realm-radius);
    border: 1px solid rgba(255,255,255,.05);
    transition: border-color .2s;
}

.realm-feature-item:hover {
    border-color: var(--realm-border);
}

.realm-feature-icon {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.realm-feature-item h4 {
    color: var(--realm-gold);
    font-family: var(--realm-font-serif);
    font-size: 16px;
    margin-bottom: 10px;
}

.realm-feature-item p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ── CTA band ──────────────────────────────────────────────────────────── */
.realm-cta-band {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, #1a1209 0%, #0d0d0d 100%);
    border-top: 1px solid var(--realm-border);
    border-bottom: 1px solid var(--realm-border);
}

.realm-cta-band h2 {
    font-family: var(--realm-font-serif);
    color: var(--realm-gold);
    font-size: clamp(22px, 3vw, 36px);
    margin-bottom: 14px;
}

.realm-cta-band p {
    color: #888;
    font-size: 16px;
    margin-bottom: 34px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .realm-section-wrap { padding: 52px 16px; }
    .realm-server-card  { padding: 24px 18px; }
}
