:root {
    --bg: #0b0b0d;
    --panel: #141419;
    --panel-alt: #1b1b22;
    --text: #f2f2f2;
    --muted: #b3b3bf;
    --accent: #8b0000;
    --accent-light: #b31217;
    --border: #2b2b35;
    --max-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 11, 13, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--text);
}

/* HERO */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
        url('/images/hero.png') center/cover no-repeat;
    min-height: 72vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 700px;
    padding: 6rem 0 5rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #d7a5a5;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 56ch;
}

.contact-hero {
    background-image: url('/images/contact-hero.png');
}

.subpage-hero {
    position: relative;
    min-height: 400px; /* was probably ~400 */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

/* BUTTONS */
.button-row {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    border: 1px solid #5d5d6e;
}

/* GENERAL SECTIONS */
section {
    padding: 4.5rem 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

/* CTA SECTION */
.cta-box {
    text-align: center;
    background: linear-gradient(180deg, #1a0d0d, #120d14);
    border: 1px solid #3a2020;
    border-radius: 24px;
    padding: 3rem 1.5rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 65ch;
    margin: 0 auto 1.5rem;
    color: var(--muted);
}

.cta-box .button-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* CARDS */
.events-grid,
.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.events-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: linear-gradient(180deg, var(--panel), var(--panel-alt));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
}

.event-meta {
    color: #d4a7a7;
    margin-bottom: 0.75rem;
}

/* CRYPT 3 PANEL */
.split-section {
    background: #101015;
}

.three-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 1.5rem;
}

.panel-image {
    min-height: 420px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.panel-image-left {
    background-image: url('/images/gaming-panel.jpg');
}

.panel-image-right {
    background-image: url('/images/the-crypt.jpg');
}

.panel-copy-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* INSIDE THE CRYPT SHOWCASE PAGE */
.crypt-intro-strip {
    padding: 1.5rem 0 0;
}

.crypt-intro-strip p {
    max-width: 800px;
    color: var(--muted);
    font-size: 1.05rem;
}

.showcase-section {
    padding: 4rem 0;
}

.showcase-alt {
    background: #101015;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.showcase-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.showcase-grid.reverse .showcase-image {
    order: 2;
}

.showcase-grid.reverse .showcase-copy {
    order: 1;
}

.showcase-image img {
    width: 100%;
    display: block;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.showcase-copy {
    max-width: 520px;
}

.showcase-label {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #d7a5a5;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.showcase-copy h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.showcase-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .showcase-grid,
    .showcase-grid.reverse {
        grid-template-columns: 1fr;
    }

    .showcase-grid.reverse .showcase-image,
    .showcase-grid.reverse .showcase-copy {
        order: unset;
    }

    .showcase-copy {
        max-width: none;
    }
}

@media (max-width: 980px) {
    .crypt-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .crypt-overview-grid,
    .crypt-highlight-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .crypt-feature-grid {
        grid-template-columns: 1fr;
    }
}


/* CONTACT PAGE */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.contact-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.contact-copy p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-form-card {
    background: linear-gradient(180deg, var(--panel), var(--panel-alt));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.4rem;
}

.form-row label {
    font-weight: 700;
}

.form-row input,
.form-row textarea {
    width: 100%;
    background: #0f0f14;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font: inherit;
}

.form-row textarea {
    resize: vertical;
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}

.form-success {
    background: rgba(21, 211, 92, 0.12);
    border: 1px solid rgba(21, 211, 92, 0.35);
    color: #bdf3cf;
}

.form-error {
    background: rgba(179, 18, 23, 0.12);
    border: 1px solid rgba(179, 18, 23, 0.35);
    color: #f2b3b6;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MEMBERSHIP PAGE
========================= */

.membership-page-width {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- INTRO ---------- */

.membership-intro-section {
    padding: 2rem 0;
}

.membership-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 2rem;
    align-items: start;
}

.membership-intro-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.membership-intro-copy p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.membership-intro-image img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ---------- PLANS ---------- */

.membership-plans-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.membership-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.membership-plan-card {
    position: relative;
    background: #050506;
    border: 2px solid #d8d8d8;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.membership-plan-card:first-child {
    border-right: 1px solid #d8d8d8;
}

.membership-plan-card:last-child {
    border-left: 1px solid #d8d8d8;
}

.membership-plan-topline {
    height: 3px;
    background: #15d35c;
    width: 100%;
    margin-bottom: 1rem;
}

.membership-plan-card h2 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.membership-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.membership-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    margin-left: 0.15rem;
}

.membership-feature-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.membership-feature-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

.membership-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #15d35c;
    font-weight: 700;
}

.membership-plan-button {
    display: block;
    width: 100%;
    text-align: center;
    background: #15d35c;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.9rem 1rem;
    border-radius: 4px;
    margin-top: auto;
}

.membership-plan-button:hover {
    background: #11bc51;
}

/* ---------- TABLE ---------- */

.membership-hero-image {
    width: 100%;
    height: 420px;

    background-image: url('/images/membership-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom: 1px solid var(--border);
}

.membership-compare-section {
    padding-top: 1rem;
}

.membership-table-wrap {
    border: 2px solid #d8d8d8;
    overflow-x: auto;
}

.membership-table {
    width: 100%;
    border-collapse: collapse;
    background: #050506;
}

.membership-table th,
.membership-table td {
    border: 1px solid #4a4a4a;
    padding: 0.95rem 0.85rem;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95rem;
}

.membership-table th {
    background: #2e2e2e;
    color: #fff;
    font-weight: 700;
}

.membership-table td:first-child,
.membership-table th:first-child {
    text-align: left;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {
    .membership-intro-grid,
    .membership-plan-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .membership-plan-card:first-child,
    .membership-plan-card:last-child {
        border: 2px solid #d8d8d8;
    }

    .membership-intro-image {
        max-width: 320px;
    }
}
/* ABOUT PAGE */
.about-banner-image {
    height: 220px;
    border-radius: 20px;
    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url('/images/BATTLE-1.png') center/cover no-repeat;
}

.about-intro-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
}

.about-main-copy h2 {
    font-size: 2rem;
}

.about-main-copy h3 {
    margin-top: 1.5rem;
}

.about-main-copy p {
    color: var(--muted);
}

.about-side-image img {
    border-radius: 20px;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.footer-inner > div:last-child {
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .three-panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-inner,
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-intro-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-inner > div:last-child {
        white-space: normal;
    }
    .contact-form-card {
    border: 5px solid lime !important;
    background: red !important;
}
}