/* ============================================================
   Mind Magic Hypnotics - arcane theme
   Deep indigo "night sky" with arcane violet + brass/gold.
   Component classes are prefixed .mmh- ; base utility rules
   below the theme keep the Identity/Account pages legible.
   ============================================================ */

:root {
    --mmh-noir: #0d0a18;        /* indigo-noir page background */
    --mmh-surface: #171127;     /* raised cards / panels */
    --mmh-surface-2: #211a36;   /* hover / nested surfaces */
    --mmh-ink-deep: #08060f;    /* darkest - nav / footer */
    --mmh-violet: #9b6dff;      /* arcane violet accent */
    --mmh-violet-soft: #b89bff; /* lit violet - hover / glow */
    --mmh-gold: #d8b25a;        /* brass / antique gold */
    --mmh-gold-soft: #ecd49a;   /* lit gold */
    --mmh-cream: #e7e0f5;       /* moonlit text */
    --mmh-muted: #a99cc6;       /* secondary lavender-grey text */
    --mmh-border: rgba(155, 109, 255, 0.22);  /* violet hairline */
    --mmh-gold-border: rgba(216, 178, 90, 0.28);
    --mmh-arcane: linear-gradient(135deg, #6d3bd1 0%, #9b6dff 50%, #4a2a9e 100%);
    --mmh-spell: radial-gradient(circle at 50% 0%, rgba(155, 109, 255, 0.18), transparent 60%);
}

body {
    background-color: var(--mmh-noir);
    background-image:
        radial-gradient(circle at 15% 12%, rgba(155, 109, 255, 0.10), transparent 38%),
        radial-gradient(circle at 85% 8%, rgba(216, 178, 90, 0.07), transparent 42%);
    background-attachment: fixed;
    color: var(--mmh-cream);
    font-family: "Noto Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .mmh-display {
    font-family: "Cinzel", "Playfair Display", Georgia, "Times New Roman", serif;
    letter-spacing: 0.01em;
}

a {
    color: var(--mmh-violet-soft);
    text-decoration: none;
}

a:hover {
    color: var(--mmh-gold-soft);
    text-decoration: none;
}

/* Gold/violet foil text - for the wordmark and big numbers */
.mmh-gilt {
    background: linear-gradient(92deg, var(--mmh-gold-soft) 0%, var(--mmh-violet-soft) 55%, var(--mmh-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--mmh-gold-soft);
}

/* -------------------- Navbar -------------------- */
.navbar-mmh {
    background-color: var(--mmh-ink-deep);
    border-bottom: 1px solid var(--mmh-border);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar-mmh .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.05em;
    color: var(--mmh-cream);
}

.navbar-mmh .navbar-brand:hover {
    color: var(--mmh-gold-soft);
}

.navbar-mmh .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--mmh-gold-border);
    filter: drop-shadow(0 0 6px rgba(155, 109, 255, 0.55));
}

.navbar-mmh .nav-link {
    color: var(--mmh-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    transition: color 0.15s ease;
}

.navbar-mmh .nav-link:hover,
.navbar-mmh .nav-link:focus {
    color: var(--mmh-cream);
}

.navbar-mmh .navbar-right .nav-link {
    color: var(--mmh-noir);
    background: var(--mmh-arcane);
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(155, 109, 255, 0.35);
}

.navbar-mmh .navbar-right .nav-link:hover {
    color: #fff;
    box-shadow: 0 0 26px rgba(155, 109, 255, 0.55);
}

.navbar-mmh .navbar-toggler {
    border-color: var(--mmh-border);
}

/* -------------------- Buttons -------------------- */
.btn-mmh,
.btn-mmh-outline {
    display: inline-block;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.62rem 1.5rem;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-mmh {
    background: var(--mmh-arcane);
    color: var(--mmh-noir);
    box-shadow: 0 0 20px rgba(155, 109, 255, 0.32);
}

.btn-mmh:hover,
.btn-mmh:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(155, 109, 255, 0.5);
}

.btn-mmh-outline {
    background: transparent;
    color: var(--mmh-gold-soft);
    border-color: var(--mmh-gold-border);
}

.btn-mmh-outline:hover,
.btn-mmh-outline:focus {
    color: var(--mmh-noir);
    background: var(--mmh-gold-soft);
    transform: translateY(-1px);
}

/* -------------------- Hero -------------------- */
.mmh-hero {
    position: relative;
    text-align: center;
    padding: 4.5rem 1.25rem 4rem;
    margin: 1.5rem 0 2.5rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--mmh-border);
    /* Near-black centre so the wordmark logo's opaque backdrop blends seamlessly. */
    background: radial-gradient(ellipse at 50% 45%, #050309 0%, #0d0a18 62%, #140d27 100%);
}

.mmh-hero-logo {
    display: block;
    width: 80%;
    max-width: 460px;
    height: auto;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 0 22px rgba(155, 109, 255, 0.35));
}

.mmh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mmh-spell);
    pointer-events: none;
}

.mmh-hero > * {
    position: relative;
    z-index: 1;
}

.mmh-pill {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mmh-gold-soft);
    border: 1px solid var(--mmh-gold-border);
    border-radius: 999px;
    padding: 0.32rem 0.95rem;
    margin-bottom: 1.25rem;
}

.mmh-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.mmh-tagline {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--mmh-violet-soft);
    margin-bottom: 0.85rem;
}

.mmh-subtagline {
    max-width: 640px;
    margin: 0 auto 1.9rem;
    color: var(--mmh-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.mmh-hero-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* -------------------- Stat strip -------------------- */
.mmh-stat {
    text-align: center;
    padding: 1.5rem 1rem 2.75rem;
}

.mmh-stat-number {
    font-family: "Cinzel", serif;
    font-size: clamp(2.6rem, 7vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
}

.mmh-stat-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    color: var(--mmh-muted);
    margin-top: 0.5rem;
}

/* -------------------- Sections -------------------- */
.mmh-section {
    padding: 2.75rem 0;
}

.mmh-section-tinted {
    padding: 2.75rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 16px;
    border: 1px solid var(--mmh-border);
    background: linear-gradient(180deg, var(--mmh-surface) 0%, var(--mmh-noir) 100%);
}

.mmh-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mmh-violet-soft);
    margin-bottom: 0.4rem;
}

.mmh-section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--mmh-cream);
}

.mmh-lead {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--mmh-cream);
    max-width: 760px;
}

.mmh-section p {
    color: var(--mmh-muted);
    line-height: 1.7;
}

.mmh-section p.mmh-lead {
    color: var(--mmh-cream);
}

/* -------------------- Cards -------------------- */
.mmh-card {
    height: 100%;
    background: var(--mmh-surface);
    border: 1px solid var(--mmh-border);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mmh-card:hover {
    transform: translateY(-4px);
    border-color: var(--mmh-violet);
    box-shadow: 0 12px 34px rgba(109, 59, 209, 0.28);
}

.mmh-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--mmh-gold-soft);
    background: rgba(155, 109, 255, 0.12);
    border: 1px solid var(--mmh-border);
    margin-bottom: 1rem;
}

.mmh-card h3 {
    font-size: 1.18rem;
    color: var(--mmh-cream);
    margin-bottom: 0.55rem;
}

.mmh-card p {
    color: var(--mmh-muted);
    margin-bottom: 0;
    font-size: 0.97rem;
}

/* -------------------- Schedule (days-only) -------------------- */
.mmh-schedule {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.mmh-schedule li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mmh-border);
}

.mmh-schedule li:last-child {
    border-bottom: none;
}

.mmh-day {
    flex: 0 0 7.5rem;
    font-family: "Cinzel", serif;
    font-weight: 600;
    color: var(--mmh-gold-soft);
    letter-spacing: 0.03em;
}

.mmh-event-block {
    display: flex;
    flex-direction: column;
}

.mmh-event {
    color: var(--mmh-cream);
    font-weight: 600;
}

.mmh-event-note {
    color: var(--mmh-muted);
    font-size: 0.92rem;
}

.mmh-tz-note {
    font-size: 0.9rem;
    color: var(--mmh-muted);
    margin-bottom: 0;
}

/* -------------------- House rules -------------------- */
.mmh-rules {
    list-style: none;
    counter-reset: mmh-rule;
    padding: 0;
    max-width: 760px;
}

.mmh-rules li {
    counter-increment: mmh-rule;
    position: relative;
    padding: 0.5rem 0 0.5rem 3rem;
    color: var(--mmh-muted);
    line-height: 1.6;
}

.mmh-rules li strong {
    color: var(--mmh-cream);
}

.mmh-rules li::before {
    content: counter(mmh-rule);
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--mmh-gold-soft);
    background: rgba(155, 109, 255, 0.12);
    border: 1px solid var(--mmh-gold-border);
}

/* -------------------- Note / aside -------------------- */
.mmh-note {
    border-left: 3px solid var(--mmh-violet);
    background: var(--mmh-surface);
    border-radius: 0 10px 10px 0;
    padding: 0.9rem 1.15rem;
    color: var(--mmh-muted);
    font-size: 0.95rem;
}

/* -------------------- Split image -------------------- */
.mmh-split-img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--mmh-border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* -------------------- CTA banner -------------------- */
.mmh-cta {
    position: relative;
    text-align: center;
    padding: 3.25rem 1.5rem;
    margin: 2.5rem 0 1.5rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--mmh-gold-border);
    background:
        linear-gradient(180deg, rgba(13, 10, 24, 0.82) 0%, rgba(13, 10, 24, 0.93) 100%),
        url("images/icon.jpg") center / cover no-repeat;
}

.mmh-cta h2 {
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    color: var(--mmh-cream);
    margin-bottom: 0.6rem;
}

.mmh-cta p {
    max-width: 560px;
    margin: 0 auto 1.6rem;
    color: var(--mmh-muted);
    position: relative;
    z-index: 1;
}

.mmh-cta h2 {
    position: relative;
    z-index: 1;
}

.mmh-cta > div {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* -------------------- Footer -------------------- */
.mmh-footer {
    border-top: 1px solid var(--mmh-border);
    margin-top: 3rem;
    padding-top: 2.25rem;
}

.mmh-footer h4 {
    font-size: 1.05rem;
    color: var(--mmh-gold-soft);
    margin-bottom: 0.85rem;
}

.mmh-footer p {
    color: var(--mmh-muted);
    font-size: 0.95rem;
}

.mmh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mmh-footer-links li {
    margin-bottom: 0.45rem;
}

.mmh-footer-links a {
    color: var(--mmh-muted);
}

.mmh-footer-links a:hover {
    color: var(--mmh-gold-soft);
}

.mmh-footer-bottom {
    border-top: 1px solid var(--mmh-border);
    margin-top: 1.5rem;
    padding: 1.1rem 0 1.5rem;
    text-align: center;
    color: var(--mmh-muted);
    font-size: 0.88rem;
}

@media (max-width: 575.98px) {
    .mmh-schedule li {
        flex-direction: column;
        gap: 0.15rem;
    }
    .mmh-day {
        flex-basis: auto;
    }
}

/* ============================================================
   Base utility rules (carried from the template - keep these
   so the Identity / Account pages stay legible on the dark theme)
   ============================================================ */

.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

.password-input-group {
    max-width: 280px;
}

.password-input-group .form-control {
    max-width: none;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.password-toggle .password-icon {
    vertical-align: -0.125em;
}

.password-caps-warning {
    max-width: 280px;
}

@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}
