:root {
    --primary: #0B1021;
    --secondary: #151E3D;
    --accent: #FF6B6B;
    --background: #050814;
    --surface: #1A2244;
    --text-primary: #F8F9FA;
    --text-secondary: #A0ABC0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(26, 34, 68, 0.6);
    --glass-border: rgba(255, 107, 107, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-primary { background-color: var(--primary); }
.bg-surface { background-color: var(--surface); }

section {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.text-dense p { margin-bottom: 1.5rem; text-align: justify; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.highlight { color: var(--accent); }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.1);
}

.btn-cta, .btn-outline, .btn-auth {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn-cta {
    background-color: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.btn-cta:hover {
    background-color: #ff4d4d;
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.btn-auth {
    background-color: transparent;
    color: var(--text-primary);
    border: none;
}

.btn-auth:hover {
    color: var(--accent);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.full-width {
    width: 100%;
}

.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.asymmetric-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Header */
.site-header {
    background: rgba(11, 16, 33, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.accent-text {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--accent);
}

.nav-highlight {
    color: var(--accent) !important;
}

.auth-controls {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.duotone-stage {
    background: linear-gradient(135deg, var(--background) 0%, var(--primary) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.trust-signal {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.secure-badge, .au-badge {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: tight;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.live-ticker {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}

.ticker-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.countdown {
    color: var(--accent);
    font-family: monospace;
    font-size: 1.2rem;
}

.proof-cards-row {
    display: flex;
    gap: 1rem;
}

.proof-card {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.proof-metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

.proof-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.kinetic-data-stream {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.floating-node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.6;
    filter: blur(10px);
    animation: float 8s infinite alternate;
}

.node-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.node-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 30%;
    animation-delay: 2s;
}

.node-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

.matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 107, 107, 0.05) 25%, rgba(255, 107, 107, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 107, 107, 0.05) 75%, rgba(255, 107, 107, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* FAQ Section */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Info Dense Section */
.neon-box {
    position: relative;
    padding: 3rem;
    border: 1px solid var(--accent);
    box-shadow: inset 0 0 20px rgba(255, 107, 107, 0.1), 0 0 20px rgba(255, 107, 107, 0.1);
    border-radius: var(--border-radius);
    background: rgba(5, 8, 20, 0.8);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.data-list {
    list-style: none;
    margin-top: 1.5rem;
}

.data-list li {
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
    font-family: monospace;
    color: var(--text-secondary);
}

.data-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Global Draws */
.draw-node {
    text-align: center;
}

.draw-name {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.draw-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.draw-stat .label {
    color: var(--text-secondary);
}

.draw-node .btn-outline {
    margin-top: 1rem;
    width: 100%;
}

/* Syndicate Section */
.syndicate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    background: rgba(255, 107, 107, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar-container {
    margin-top: 1.5rem;
}

.progress-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--text-secondary);
}

.progress.accent-bg {
    background: var(--accent);
}

/* Engagement section */
.myth-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.myth-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.myth {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.fact {
    display: block;
    color: var(--text-secondary);
}

/* UX Walkthrough */
.stepper-visual {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    text-align: center;
    position: relative;
}

.step {
    flex: 1;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 107, 107, 0.3);
    margin-top: 30px;
    z-index: 1;
}

/* Regulatory Bar */
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Legal & Text Pages */
.page-hero {
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.editorial-block {
    margin-bottom: 3rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-body);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-methods, .kb-links {
    list-style: none;
}

.contact-methods li, .kb-links li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Stepper Gateway */
.gateway-layout {
    padding: 4rem 0;
}

.stepper-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.step-indicator {
    flex: 1;
    text-align: center;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.step-indicator.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

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

.lottery-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lottery-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    margin-top: 1.5rem;
}

.grid-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.grid-number:hover {
    background: rgba(255, 107, 107, 0.2);
}

.grid-number.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: bold;
}

.addon-option {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.total-row {
    border-bottom: none;
    font-size: 1.25rem;
}

.text-small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 20, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal-content {
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.active .auth-modal-content {
    transform: translateY(0);
}

.auth-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 10px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
}

.auth-tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--surface);
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent);
}

.legal-entity-details {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
}

.rg-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.partner-badges img {
    height: 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.partner-badges a:hover img {
    filter: grayscale(0%) opacity(1);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1280px) {
    .container { padding: 0 40px; }
}

@media (max-width: 992px) {
    .asymmetric-split, .hero-grid, .syndicate-grid, .grid-wrapper, .checkout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stepper-visual {
        flex-direction: column;
        align-items: center;
    }
    .step-line {
        width: 2px;
        height: 40px;
        margin: 10px 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--surface);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        align-items: flex-start;
    }
    .main-nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    .auth-controls {
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .trust-row {
        grid-template-columns: 1fr;
    }
    .proof-cards-row {
        flex-direction: column;
    }
    .number-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .number-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .partner-badges img {
        height: 30px;
    }
}