body {
    background: var(--dark-2);
    color: var(--text-inv);
    font-family: 'Raleway', sans-serif;
    min-height: 100vh;
}

/* ── Hero ── */
.rules-hero {
    padding: 5rem 0 3.5rem;
    text-align: center;
    position: relative;
}
.rules-hero-tag {
    font-family: 'Cinzel', serif;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-l);
    display: block;
    margin-bottom: 1.25rem;
}
.rules-hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-inv);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.rules-hero-sub {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(240,236,255,.65);
    line-height: 1.75;
    font-weight: 300;
}
.hero-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto 0;
    max-width: 200px;
}
.hero-ornament::before,
.hero-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192,132,252,.4));
}
.hero-ornament::after {
    background: linear-gradient(90deg, rgba(192,132,252,.4), transparent);
}
.hero-ornament span { color: #c084fc; font-size: .85rem; }

/* ── Main layout ── */
.rules-main {
    padding-bottom: 6rem;
}
.rules-content {
    max-width: 820px;
    margin: 0 auto;
}

/* ── Section ── */
.rules-section {
    margin-bottom: 4rem;
}
.section-label {
    font-family: 'Cinzel', serif;
    font-size: .65rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-l);
    margin-bottom: .6rem;
    display: block;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #e8d8ff;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}
.section-text {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(240,236,255,.75);
    font-weight: 300;
    margin-bottom: 1rem;
}
.section-text:last-child { margin-bottom: 0; }

.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.section-divider span { color: #c084fc; font-size: .8rem; }

/* ── Deck overview cards ── */
.deck-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
}
@media (max-width: 540px) { .deck-overview { grid-template-columns: 1fr; } }

.deck-card {
    background: rgba(13,8,38,.7);
    border: 1px solid rgba(167,139,250,.2);
    border-radius: 14px;
    padding: 1.5rem;
}
.deck-card-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.deck-card-title {
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    letter-spacing: .1em;
    color: #c084fc;
    margin-bottom: .5rem;
}
.deck-card-count {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-inv);
    margin-bottom: .4rem;
}
.deck-card-desc {
    font-size: .88rem;
    color: rgba(240,236,255,.6);
    line-height: 1.6;
}

/* ── Steps list ── */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(124,58,237,.18);
    border: 1px solid rgba(124,58,237,.35);
    color: #c084fc;
    font-family: 'Cinzel', serif;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .15rem;
}
.step-text {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(240,236,255,.75);
}
.step-text strong {
    color: var(--text-inv);
    font-weight: 600;
}

/* ── Upright / Reversed ── */
.orientation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
}
@media (max-width: 540px) { .orientation-grid { grid-template-columns: 1fr; } }

.orientation-card {
    background: rgba(13,8,38,.7);
    border-radius: 14px;
    padding: 1.5rem;
}
.orientation-card.upright { border: 1px solid rgba(52,211,153,.25); }
.orientation-card.reversed { border: 1px solid rgba(248,113,113,.2); }
.orientation-icon { font-size: 1.5rem; margin-bottom: .75rem; display: block; }
.orientation-title {
    font-family: 'Cinzel', serif;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.orientation-card.upright .orientation-title { color: #34d399; }
.orientation-card.reversed .orientation-title { color: #f87171; }
.orientation-desc {
    font-size: .9rem;
    line-height: 1.65;
    color: rgba(240,236,255,.65);
}

/* ── Four suits ── */
.suits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}
@media (min-width: 640px) { .suits-grid { grid-template-columns: repeat(4, 1fr); } }

.suit-card {
    background: rgba(13,8,38,.7);
    border: 1px solid rgba(167,139,250,.18);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
}
.suit-emoji { font-size: 2rem; display: block; margin-bottom: .6rem; }
.suit-name {
    font-family: 'Cinzel', serif;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c084fc;
    margin-bottom: .4rem;
}
.suit-element {
    font-size: .78rem;
    color: rgba(240,236,255,.5);
    font-style: italic;
    margin-bottom: .6rem;
    display: block;
}
.suit-theme {
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(240,236,255,.65);
}

/* ── Tips ── */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.tip-item {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}
.tip-icon {
    flex-shrink: 0;
    color: var(--gold-l);
    font-size: .9rem;
    margin-top: .25rem;
}
.tip-text {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(240,236,255,.75);
}

/* ── CTA ── */
.rules-cta {
    background: rgba(124,58,237,.07);
    border: 1px solid rgba(167,139,250,.2);
    border-radius: 18px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}
.rules-cta-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #e8d8ff;
    margin-bottom: .75rem;
}
.rules-cta-sub {
    font-size: .95rem;
    color: rgba(240,236,255,.6);
    margin-bottom: 1.75rem;
    line-height: 1.65;
}
.rules-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.75rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--purple), #9b5de5);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    letter-spacing: .1em;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(124,58,237,.4);
    transition: opacity .2s;
}
.btn-primary-cta:hover { opacity: .88; color: #fff; }
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(192,132,252,.35);
    color: rgba(240,236,255,.75);
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    letter-spacing: .1em;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.btn-secondary-cta:hover { border-color: rgba(192,132,252,.7); color: #e8d8ff; }
