:root {
    --primary: #FF9F1C;
    --primary-hover: #e88f17;
    --secondary: #D1D5DB;
    --accent: #E76F51;
    --bg: #0F1115;
    --surface: #1A1C20;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border-color: #333;
    --font-heading: 'Space Mono', sans-serif;
    --font-body: 'Inter', sans-serif;
    --base-size: 16px;
    --line-height: 1.65
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-main);
    font-size: var(--base-size);
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease
}

a:hover {
    color: var(--text-main)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.status-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100
}

.status-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 1rem
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase
}

.primary-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem
}

.primary-nav a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--primary)
}

.auth-cluster {
    display: flex;
    gap: 1rem;
    align-items: center
}

button,
.btn-primary,
.btn-ghost {
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    border: none;
    transition: all .2s ease;
    text-align: center;
    display: inline-block
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
    font-weight: 700
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--bg)
}

.btn-primary:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary)
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--bg)
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem
}

.btn-block {
    display: block;
    width: 100%
}

.mobile-menu-toggle {
    display: none;
    background: 0 0;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all .3s
}

.hero-centered-stage {
    padding: 6rem 0;
    background: var(--bg);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden
}

.hero-jackpot {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-main);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 159, 28, .2)
}

.hero-jackpot .currency {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--primary)
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem
}

.hero-framed-media {
    max-width: 800px;
    margin: 0 auto 3rem;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    background: var(--surface)
}

.hero-framed-media img {
    width: 100%;
    border: 1px solid #000
}

.hero-support-countdown {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem
}

.countdown-label {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main)
}

.countdown-timer span {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface);
    padding: 1rem;
    border: 1px solid var(--border-color);
    min-width: 100px
}

.countdown-timer small {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem
}

.hero-cta-cluster {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap
}

.content-module {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color)
}

.surface-alt {
    background-color: var(--surface)
}

.alert-module {
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent)
}

.section-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 2rem
}

.color-accent {
    color: var(--accent)
}

.body-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem
}

.body-text-small {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.framed-media img {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    background: var(--bg)
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.card {
    background: var(--bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem
}

.data-table-wrapper {
    overflow-x: auto
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color)
}

.data-table th {
    font-family: var(--font-heading);
    color: var(--primary);
    background: var(--surface)
}

.data-table td {
    font-family: var(--font-heading);
    font-size: 0.9rem
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-transform: uppercase
}

.status-badge.success {
    color: #22c55e;
    border-color: #22c55e
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.faq-item {
    border: 1px solid var(--border-color);
    background: var(--surface)
}

.faq-trigger {
    width: 100%;
    text-align: left;
    background: 0 0;
    border: none;
    color: var(--text-main);
    padding: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.faq-trigger::after {
    content: '+';
    color: var(--primary);
    font-size: 1.5rem
}

.faq-trigger[aria-expanded="true"]::after {
    content: '-'
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

.faq-content p {
    color: var(--text-muted);
    padding-bottom: 1.5rem
}

.page-header {
    padding: 4rem 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-color)
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary)
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted)
}

.document-body .section-title {
    margin-top: 3rem
}

.toc-box {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 3rem
}

.monospace-list {
    list-style: none
}

.monospace-list li {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading)
}

.monospace-list a {
    color: var(--text-muted)
}

.monospace-list a:hover {
    color: var(--primary)
}

.ticket-interface {
    background: var(--bg)
}

.ticket-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start
}

.terminal-panel,
.receipt-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem
}

.panel-header h2 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary)
}

.tactile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem
}

.tactile-btn {
    aspect-ratio: 1;
    background: var(--bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .1s ease
}

.tactile-btn:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.tactile-btn.selected {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    transform: scale(0.95)
}

.terminal-actions {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem
}

.hash-log {
    background: var(--bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #22c55e;
    margin-bottom: 2rem
}

.log-line {
    margin-bottom: 0.5rem;
    word-wrap: break-word
}

.auth-gate {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem
}

.gate-title {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--primary)
}

.form-control {
    background: var(--bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem
}

.form-control:focus {
    outline: none;
    border-color: var(--primary)
}

.global-footer {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem
}

.footer-brand .brand-name {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.footer-meta {
    color: var(--text-muted);
    font-size: 0.9rem
}

.footer-links h4,
.footer-rg h4 {
    color: var(--primary);
    margin-bottom: 1rem
}

.footer-links ul {
    list-style: none
}

.footer-links li {
    margin-bottom: 0.5rem
}

.footer-links a {
    color: var(--text-muted)
}

.footer-links a:hover {
    color: var(--primary)
}

.footer-rg p {
    color: var(--text-muted);
    font-size: 0.85rem
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color)
}

.footer-partners img {
    max-width: 100px;
    background: orange;
    padding: 5px;
    border-radius: 10px;
    transition: all .3s ease;
}

.footer-partners a:hover img {
    filter: grayscale(0);
    opacity: 1
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 21, .9);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000
}

.modal-overlay.active {
    display: flex
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    padding: 2rem
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem
}

.modal-header h3 {
    margin: 0;
    color: var(--primary)
}

.modal-close {
    background: 0 0;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

@media(max-width:1024px) {
    .split-grid {
        gap: 2rem
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {

    .split-grid,
    .grid-cols-2,
    .grid-cols-3,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .reverse-mobile .content-col {
        grid-row: 1
    }

    .reverse-mobile .media-col {
        grid-row: 2
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem
    }

    .primary-nav.active {
        display: block
    }

    .primary-nav .nav-list {
        flex-direction: column;
        align-items: center
    }

    .auth-cluster {
        gap: 0.5rem
    }

    .auth-cluster .btn-ghost {
        display: none
    }

    .mobile-menu-toggle {
        display: flex
    }

    .ticket-layout {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .hero-jackpot {
        font-size: 2.5rem
    }

    .countdown-timer {
        font-size: 1.5rem;
        gap: 0.5rem
    }

    .countdown-timer span {
        min-width: 70px;
        padding: 0.5rem
    }

    .tactile-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr))
    }

    .terminal-actions {
        flex-direction: column
    }
}


@media(max-width:1245px) {
    .primary-nav a {
        color: var(--text-muted);
        font-family: var(--font-heading);
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    button,
    .btn-primary,
    .btn-ghost {
        cursor: pointer;
        font-family: var(--font-heading);
        font-size: 0.6rem;
    }

    .status-bar-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        flex-wrap: wrap;
    }

    .brand-name {
        font-family: var(--font-heading);
        font-size: 0.8rem;
        color: var(--text-main);
        font-weight: 700;
        text-transform: uppercase;
    }
}

@media(max-width: 600px) {
    .container {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 0.6rem;
    }

    button,
    .btn-primary,
    .btn-ghost {
        cursor: pointer;
        font-family: var(--font-heading);
        font-size: 0.6rem;
        text-transform: uppercase;
        padding: 0.5rem 0.6rem;
    }

    .hero-centered-stage {
        padding: 2rem 0;
        background: var(--bg);
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .content-module {
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
    }
}