* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: #15121d; /* fallback before WebGL paints / behind transparent sections */
}

/* ── Site nav (shared across pages) ──────────────────────────── */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(15, 12, 25, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-nav .brand img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(124, 77, 255, 0.45));
}

.site-nav .brand .brand-text {
    background: linear-gradient(100deg, #c2a7fc 0%, #8d94fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(124, 77, 255, 0.12);
}

.nav-links a.active {
    color: #fff;
    background: rgba(124, 77, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.35);
}

.nav-links .nav-cta {
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.nav-links .nav-cta:hover {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.55);
}

@media (max-width: 640px) {
    .site-nav { padding: 0.75rem 1rem; }
    .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.85rem; }
    .nav-links .nav-cta { display: none; }
}

/* ── Inner-page hero (smaller than landing hero) ─────────────── */

.page-hero {
    position: relative;
    z-index: 1;
    padding: 9rem 2rem 4rem;
    text-align: center;
    background: transparent;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(106, 59, 173, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(48, 217, 232, 0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

.page-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c2a7fc;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(194, 167, 252, 0.35);
    background: rgba(106, 59, 173, 0.12);
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .subtitle {
    margin: 0 auto;
}

/* ── Section variants ─────────────────────────────────────────── */

section.flush-top { padding-top: 0; }
section.transparent-bg { background: transparent; }

/* ── Dice grid (compatible dice page) ─────────────────────────── */

.dice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.dice-card {
    position: relative;
    background: linear-gradient(160deg, #1c1c21 0%, #181421 100%);
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.dice-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: radial-gradient(120% 80% at 50% -10%, rgba(124, 77, 255, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dice-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 77, 255, 0.55);
    box-shadow: 0 18px 40px rgba(124, 77, 255, 0.22);
}

.dice-card:hover::after { opacity: 1; }

.dice-thumb {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(194, 167, 252, 0.18), transparent 55%),
        radial-gradient(circle at 70% 75%, rgba(48, 217, 232, 0.12), transparent 55%),
        #0e0c14;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dice-thumb svg {
    width: 78px;
    height: 78px;
    filter: drop-shadow(0 4px 14px rgba(124, 77, 255, 0.5));
}

.dice-thumb img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(124, 77, 255, 0.5));
}

.dice-card .die-label {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.dice-card .die-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.dice-card .die-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.5;
}

.dice-card .die-chip {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    color: #30d9e8;
    background: rgba(48, 217, 232, 0.1);
    border: 1px solid rgba(48, 217, 232, 0.35);
}

/* ── Dice modal popout ────────────────────────────────────────── */

.dice-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(8, 6, 14, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.dice-modal.open {
    display: flex;
    opacity: 1;
}

.dice-modal__panel {
    width: min(960px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #1a1622 0%, #14111c 100%);
    border: 1px solid rgba(124, 77, 255, 0.25);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 77, 255, 0.08) inset;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.3s ease;
    position: relative;
}

.dice-modal.open .dice-modal__panel {
    transform: translateY(0) scale(1);
}

.dice-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 1rem;
}

.dice-modal__title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.dice-modal__title h3 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(100deg, #c2a7fc 0%, #8d94fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.dice-modal__title .sub {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
}

.dice-modal__close {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.dice-modal__close:hover {
    background: rgba(124, 77, 255, 0.2);
    border-color: rgba(124, 77, 255, 0.45);
}

.dice-modal__body {
    padding: 1.6rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.6rem;
}

@media (max-width: 720px) {
    .dice-modal__body { grid-template-columns: 1fr; }
}

.dice-photo-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.dice-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.025) 0 8px,
            rgba(255, 255, 255, 0.045) 8px 16px),
        radial-gradient(circle at 30% 30%, rgba(194, 167, 252, 0.22), transparent 55%),
        radial-gradient(circle at 70% 75%, rgba(48, 217, 232, 0.16), transparent 55%),
        #0e0b16;
    display: grid;
    place-items: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dice-photo:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 77, 255, 0.45);
}

.dice-photo .photo-label {
    position: absolute;
    bottom: 0.55rem;
    left: 0.6rem;
    right: 0.6rem;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.dice-photo svg {
    width: 56%;
    height: 56%;
    filter: drop-shadow(0 6px 18px rgba(124, 77, 255, 0.55));
}

.dice-photo.is-hero {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.dice-photo.is-hero svg {
    width: 42%;
    height: 42%;
}

.dice-photo img {
    width: 60%;
    height: auto;
    max-height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(124, 77, 255, 0.55));
}

.dice-photo.is-hero img {
    width: 48%;
    max-height: 82%;
}

.dice-info h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(194, 167, 252, 0.85);
    margin-bottom: 0.5rem;
}

.dice-info p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.dice-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    margin-bottom: 1.2rem;
}

.dice-stats .stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
}

.dice-stats .stat .k {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.18rem;
}

.dice-stats .stat .v {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.dice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dice-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.12);
    color: #c2a7fc;
    border: 1px solid rgba(124, 77, 255, 0.25);
}

/* ── About page ───────────────────────────────────────────────── */

.story {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 820px) {
    .story { grid-template-columns: 1fr; }
}

.story .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.1rem;
}

.story p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.story-art {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 25% 20%, rgba(106, 59, 173, 0.5), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(48, 217, 232, 0.3), transparent 55%),
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0 10px,
            rgba(255, 255, 255, 0.06) 10px 20px),
        #0e0b16;
    display: grid;
    place-items: center;
}

.story-art .placeholder-label {
    position: absolute;
    bottom: 0.9rem;
    left: 0.9rem;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-art svg {
    width: 50%;
    height: 50%;
    filter: drop-shadow(0 12px 30px rgba(124, 77, 255, 0.55));
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.stat-row .stat-card {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-row .stat-card .big {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(100deg, #c2a7fc 0%, #8d94fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-row .stat-card .lbl {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: #1c1c21;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.18);
}

.value-card .num {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.8rem;
    color: #30d9e8;
    letter-spacing: 0.18em;
    margin-bottom: 0.6rem;
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Team grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.team-card {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.18);
}

.team-photo {
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 30% 30%, rgba(194, 167, 252, 0.35), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(48, 217, 232, 0.22), transparent 55%),
        #0e0b16;
    display: grid;
    place-items: center;
    position: relative;
    color: rgba(255, 255, 255, 0.18);
    font-size: 3.4rem;
    font-weight: 800;
}

.team-photo .photo-label {
    position: absolute;
    bottom: 0.6rem;
    left: 0.7rem;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-info {
    padding: 1.1rem 1.2rem 1.4rem;
}

.team-info .name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.team-info .role {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.74rem;
    color: #c2a7fc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.team-info .bio {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

/* ── FAQ ──────────────────────────────────────────────────────── */

.faq-list {
    max-width: 820px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item[open] {
    border-color: rgba(124, 77, 255, 0.45);
    background: linear-gradient(180deg, #1d182a 0%, #181421 100%);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .q-num {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: #30d9e8;
    letter-spacing: 0.12em;
    margin-right: 0.9rem;
}

.faq-item .chev {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: rgba(255, 255, 255, 0.55);
}

.faq-item[open] .chev { transform: rotate(180deg); color: #c2a7fc; }

.faq-item .answer {
    padding: 0 1.4rem 1.3rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.faq-item .answer p + p { margin-top: 0.7rem; }

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.faq-categories button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.faq-categories button:hover {
    background: rgba(124, 77, 255, 0.12);
    color: #fff;
}

.faq-categories button.active {
    background: rgba(124, 77, 255, 0.18);
    border-color: rgba(124, 77, 255, 0.5);
    color: #fff;
}

/* ── Setup / steps ───────────────────────────────────────────── */

.setup-timeline {
    max-width: 940px;
    margin: 3rem auto 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setup-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(124, 77, 255, 0.5) 0%,
        rgba(48, 217, 232, 0.35) 100%);
}

.setup-step {
    position: relative;
    padding-left: 70px;
}

.setup-step .marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6a3bad 0%, #8d94fd 100%);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    box-shadow: 0 8px 22px rgba(124, 77, 255, 0.35);
}

.setup-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.45rem;
}

.setup-step p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 0.6rem;
}

.setup-step .step-card {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    transition: all 0.25s ease;
}

.setup-step .step-card:hover {
    border-color: rgba(124, 77, 255, 0.45);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.15);
}

.setup-step .tip {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: #30d9e8;
    background: rgba(48, 217, 232, 0.07);
    border: 1px solid rgba(48, 217, 232, 0.25);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    margin-top: 0.6rem;
}

.setup-aux {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .setup-aux { grid-template-columns: 1fr; }
}

.setup-aux .mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.setup-aux .mini .lbl {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.2rem;
}

.setup-aux .mini .val {
    color: #fff;
    font-weight: 600;
}

/* ── Reusable: section eyebrow ───────────────────────────────── */

.section-eyebrow {
    text-align: center;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #30d9e8;
    margin-bottom: 0.75rem;
}

/* ── Footer alignment on inner pages ─────────────────────────── */

.inner-footer { background: #0a0a0a; }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
    background: transparent; /* let the fixed gradient-canvas show through */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1; /* sit above the fixed canvas */
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

/* WebGL fluid canvas container — fixed full-viewport, sits behind every section */
.gradient-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-canvas canvas {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

/* ── Animations ───────────────────────────────────────────────── */

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%       { transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* ── Typography ───────────────────────────────────────────────── */

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

.subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.heading {
    background: linear-gradient(100deg, #6a3bad 0%, #c2a7fc 50%, #8d94fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ── Icons ────────────────────────────────────────────────────── */

.dice-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    line-height: 1;
}

.icon2, .icon3 {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    display: inline-flex;
    align-items: center;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.btn-social {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
}

.btn-social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow: 0 4px 14px rgba(124, 77, 255, 0.25);
}

/* ── Sections ─────────────────────────────────────────────────── */

section {
    padding: 5rem 2rem;
    background: #121216;
    position: relative;
    z-index: 1; /* sit above the fixed gradient-canvas */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Cards ────────────────────────────────────────────────────── */

.features-grid, .benefits-grid, .platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card, .benefit-card, .platform-card {
    background: #1c1c21;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover, .benefit-card:hover, .platform-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.2);
}

.feature-card svg,
.benefit-card svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.step-number {
    color: #ffffff;
    font-weight: 700;
}

/* ── Named sections ───────────────────────────────────────────── */

.benefits {
    background: #0f0f0f;
}

.platforms {
    background: #1a1a1a;
}

.platform-card {
    background: #252525;
}

.cta-section {
    background: transparent; /* reveal the same fixed fluid canvas */
    text-align: center;
}

/* ── Footer ───────────────────────────────────────────────────── */

footer {
    background: #0a0a0a;
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1; /* sit above the fixed gradient-canvas */
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h1.coming-soon {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}
