/* Rohan front page — classic modern
   Scoped to the standalone homepage so the rest of the site is unchanged. */

.rohan-home {
    --rh-ink: #07060b;
    --rh-ink-2: #100e14;
    --rh-panel: rgba(12, 10, 16, 0.78);
    --rh-gold: #c9a45c;
    --rh-gold-2: #e8d5a3;
    --rh-gold-dim: rgba(201, 164, 92, 0.38);
    --rh-silver: #ebe6dc;
    --rh-mute: #a39888;
    --rh-line: rgba(232, 213, 163, 0.16);
    background: var(--rh-ink);
    color: var(--rh-mute);
}

.rohan-home::before {
    opacity: 0.12;
}

/* ---------- Nav ---------- */

.rh-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
    padding: 0 36px;
    background: linear-gradient(180deg, rgba(7, 6, 11, 0.92), rgba(7, 6, 11, 0.62));
    border-bottom: 1px solid var(--rh-gold-dim);
    backdrop-filter: blur(14px);
}

.rh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.rh-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 164, 92, 0.35));
}

.rh-brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.34em;
    color: var(--rh-silver);
    line-height: 1;
}

.rh-brand-sub {
    display: block;
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--rh-gold);
}

.rh-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rh-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--rh-mute);
    padding: 8px 12px;
    transition: color 0.2s ease;
}

.rh-links a:hover {
    color: var(--rh-gold-2);
}

.rh-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rh-menu {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rh-gold-dim);
    background: transparent;
    color: var(--rh-gold-2);
    cursor: pointer;
}

/* ---------- Hero ---------- */

.rh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 108px 24px 72px;
    background:
        linear-gradient(180deg, rgba(7, 6, 11, 0.5) 0%, rgba(7, 6, 11, 0.12) 22%, rgba(7, 6, 11, 0.55) 58%, #07060b 100%),
        url('../images/Rohan_ War Across Worlds.png') center 42% / cover no-repeat;
    text-align: center !important;
}

.rh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7, 6, 11, 0.15) 0%,
            rgba(7, 6, 11, 0.72) 14%,
            #07060b 28%,
            #07060b 72%,
            rgba(7, 6, 11, 0.72) 86%,
            rgba(7, 6, 11, 0.15) 100%),
        linear-gradient(180deg, rgba(7, 6, 11, 0.88) 0%, rgba(7, 6, 11, 0.55) 16%, rgba(7, 6, 11, 0.35) 42%, rgba(7, 6, 11, 0.9) 76%, #07060b 100%);
    pointer-events: none;
}

.rh-hero-inner {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
}

.rh-emblem {
    width: min(520px, 88vw);
    height: auto;
    margin: 0 0 4px;
    filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.75));
}

.rh-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 6px 0 28px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--rh-gold-2);
    text-align: center !important;
}

.rh-kicker::before,
.rh-kicker::after {
    content: '';
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rh-gold), transparent);
}

.rh-lead {
    max-width: 460px;
    margin: -12px 0 32px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
    color: var(--rh-silver);
    letter-spacing: 0.02em;
    text-align: center !important;
}

.rh-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(640px, 100%);
    margin-bottom: 28px;
    background: rgba(7, 6, 11, 0.62);
    border-top: 1px solid var(--rh-gold-dim);
    border-bottom: 1px solid var(--rh-gold-dim);
}

.rh-stat {
    padding: 16px 10px;
    text-align: center !important;
}

.rh-stat + .rh-stat {
    border-left: 1px solid var(--rh-line);
}

.rh-stat b {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--rh-silver);
    letter-spacing: 0.08em;
    text-align: center !important;
}

.rh-stat span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rh-mute);
    text-align: center !important;
}

.rh-stat .is-live {
    color: #d7c48a;
}

.rh-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 168px;
    height: 48px;
    padding: 0 22px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--rh-gold);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rh-btn-gold {
    background: linear-gradient(180deg, #e4c98a, #b68b3e);
    color: #1a140c;
}

.rh-btn-gold:hover {
    color: #1a140c;
    transform: translateY(-1px);
}

.rh-btn-ghost {
    background: rgba(7, 6, 11, 0.35);
    color: var(--rh-gold-2);
}

.rh-btn-ghost:hover {
    background: rgba(201, 164, 92, 0.12);
    color: #fff8e8;
}

.rh-errors {
    width: min(560px, 100%);
    margin-bottom: 18px;
}

.rohan-home .error-message {
    background: rgba(40, 12, 16, 0.8);
    border: 1px solid rgba(201, 120, 110, 0.45);
    border-radius: 0;
    color: #f0d0c8;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */

.rh-section {
    position: relative;
    padding: 88px 24px;
    background: var(--rh-ink);
    text-align: center !important;
    scroll-margin-top: 72px;
}

.rh-section-alt {
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201, 164, 92, 0.06), transparent 60%),
        var(--rh-ink-2);
}

.rh-wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.rh-heading {
    margin-bottom: 42px;
    text-align: center !important;
}

.rh-heading h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rh-silver);
    text-align: center !important;
}

.rh-heading p,
.rh-note {
    margin-top: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--rh-gold);
    text-align: center !important;
}

.rh-rule {
    width: 72px;
    height: 1px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, transparent, var(--rh-gold), transparent);
}

.rh-heading-spaced {
    margin-top: 72px;
}

.rh-chips-center {
    justify-content: center;
    margin-top: 22px;
}

.rohan-home .content-area {
    display: none;
}

/* Login and register dialogs on the front page only */
.rohan-home .gaming-modal-content {
    background: linear-gradient(180deg, #16130f 0%, #0c0a0d 100%);
    border: 1px solid rgba(201, 164, 92, 0.45);
    border-radius: 2px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.rohan-home .gaming-modal-content::before {
    display: none;
}

.rohan-home .gaming-modal-header {
    background: transparent;
    text-align: center !important;
}

.rohan-home .gaming-logo img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    animation: none;
}

.rohan-home .gaming-title {
    font-family: 'Cinzel', serif;
    color: #e8d5a3;
    letter-spacing: 0.22em;
    text-shadow: none;
    text-align: center !important;
}

.rohan-home .gaming-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: #a39888;
    text-align: center !important;
}

.rohan-home .gaming-close-btn {
    background: transparent;
    border: 1px solid rgba(201, 164, 92, 0.45);
    border-radius: 0;
    color: #e8d5a3;
}

.rohan-home .gaming-close-btn:hover {
    background: rgba(201, 164, 92, 0.12);
    border-color: #e8d5a3;
    transform: none;
}

.rohan-home .gaming-label,
.rohan-home .gaming-label span {
    color: #c9a45c;
    letter-spacing: 0.14em;
}

.rohan-home .gaming-input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 164, 92, 0.28);
    border-radius: 0;
    color: #ebe6dc;
}

.rohan-home .gaming-input:focus {
    border-color: #c9a45c;
    box-shadow: none;
}

.rohan-home .gaming-submit-btn {
    background: linear-gradient(180deg, #e4c98a, #b68b3e);
    color: #1a140c;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.16em;
}

.rohan-home .gaming-submit-btn:hover {
    box-shadow: none;
    color: #1a140c;
}

.rohan-home .gaming-benefits {
    gap: 12px;
}

.rohan-home .benefit-item {
    font-size: 10px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Features */

.rh-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    text-align: left !important;
}

.rh-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 16px 18px;
    background: var(--rh-panel);
    border: 1px solid var(--rh-line);
    text-align: left !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rh-feature:hover {
    border-color: var(--rh-gold-dim);
    background: rgba(20, 16, 22, 0.9);
}

.rh-feature i {
    width: 28px;
    text-align: center;
    color: var(--rh-gold);
    font-size: 16px;
    flex-shrink: 0;
}

.rh-feature span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--rh-silver);
    text-align: left !important;
}

/* Rates */

.rh-rates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    text-align: left !important;
}

.rh-ledger {
    background: var(--rh-panel);
    border: 1px solid var(--rh-line);
    text-align: left !important;
}

.rh-ledger h3 {
    margin: 0;
    padding: 18px 22px 14px;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rh-gold-2);
    border-bottom: 1px solid var(--rh-line);
    text-align: left !important;
}

.rh-ledger h3 small {
    display: block;
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--rh-mute);
}

.rh-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 22px;
    border-bottom: 1px solid rgba(232, 213, 163, 0.07);
    font-size: 13px;
}

.rh-row:last-child {
    border-bottom: 0;
}

.rh-row span {
    color: var(--rh-mute);
    letter-spacing: 0.06em;
    text-align: left !important;
}

.rh-row b {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--rh-silver);
    letter-spacing: 0.06em;
}

/* World */

.rh-world {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 22px;
    text-align: left !important;
}

.rh-panel {
    background: var(--rh-panel);
    border: 1px solid var(--rh-line);
    padding: 22px 22px 8px;
    text-align: left !important;
}

.rh-panel h3 {
    margin: 0 0 6px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-gold-2);
    text-align: left !important;
}

.rh-panel .rh-note {
    display: block;
    margin: 0 0 16px;
    font-size: 16px;
    text-align: left !important;
}

.rh-list {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
}

.rh-list li {
    padding: 10px 0;
    border-top: 1px solid rgba(232, 213, 163, 0.08);
    font-size: 13.5px;
    color: var(--rh-silver);
    letter-spacing: 0.02em;
    text-align: left !important;
}

.rh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
}

.rh-chips span {
    padding: 7px 12px;
    border: 1px solid var(--rh-gold-dim);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rh-gold-2);
}

.rh-bosses {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--rh-line);
    background: var(--rh-panel);
    text-align: left !important;
}

.rh-bosses li {
    list-style: none;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(232, 213, 163, 0.08);
    border-right: 1px solid rgba(232, 213, 163, 0.08);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--rh-silver);
    text-align: left !important;
}

.rh-directory {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-bosses.rh-bosses-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-ledger-wide {
    max-width: 860px;
    margin: 28px auto 0;
    text-align: left !important;
}

.rh-ledger-wide .rh-row {
    gap: 16px;
    align-items: flex-start;
}

.rh-ledger-wide .rh-row b {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: right !important;
    flex-shrink: 0;
    max-width: 58%;
}

.rh-ledger-wide .rh-row em {
    display: block;
    margin-top: 3px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rh-gold);
}

/* Footer */

.rh-footer {
    padding: 28px 24px 36px;
    border-top: 1px solid var(--rh-gold-dim);
    text-align: center !important;
    background: #050409;
}

.rh-footer strong {
    display: block;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.34em;
    font-size: 13px;
    color: var(--rh-silver);
    font-weight: 700;
}

.rh-footer span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rh-mute);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .rh-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-world,
    .rh-rates {
        grid-template-columns: 1fr;
    }

    .rh-bosses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-bosses.rh-bosses-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .rh-nav {
        padding: 0 16px;
    }

    .rh-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .rh-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 14px;
        background: rgba(7, 6, 11, 0.96);
        border-bottom: 1px solid var(--rh-gold-dim);
    }

    .rh-links.is-open {
        display: flex;
    }

    .rh-links a {
        padding: 12px 22px;
    }

    .rh-nav-actions .rh-btn {
        min-width: 0;
        height: 38px;
        padding: 0 12px;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .rh-brand-sub {
        display: none;
    }

    .rh-stats {
        grid-template-columns: 1fr;
        width: min(280px, 100%);
    }

    .rh-stat + .rh-stat {
        border-left: 0;
        border-top: 1px solid var(--rh-line);
    }

    .rh-actions,
    .rh-actions .rh-btn {
        width: 100%;
    }

    .rh-actions {
        max-width: 320px;
    }
}

@media (max-width: 560px) {
    .rh-features,
    .rh-bosses {
        grid-template-columns: 1fr;
    }

    .rh-lead {
        font-size: 18px;
    }

    .rh-ledger-wide .rh-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rh-ledger-wide .rh-row b {
        text-align: left !important;
        max-width: none;
    }
}
