/* ===========================
   Vegas Nova — Official Platform
   Color Palette from Brand:
   - Deep Navy:    #0C0B5B
   - Indigo:      #131058 / #1B0B60
   - Panel:       #2B1C7A
   - Gold/Yellow: #FFD400 / #F7E20A
   - Orange:      #FFB000
   - White:       #FFFFFF
   - Muted text:  #B7B4E8
   =========================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #080845;
    color: #FFFFFF;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
#site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 69, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 212, 0, 0.1);
    padding: 16px 0;
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    height: 44px;
    width: auto;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

#main-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFD400;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
    min-height: 44px;
    touch-action: manipulation;
}

.btn-login {
    background: transparent;
    color: #FFD400;
    border: 1.5px solid #FFD400;
}

.btn-login:hover {
    background: rgba(255, 212, 0, 0.1);
    transform: translateY(-1px);
}

.btn-register {
    background: #FFD400;
    color: #0C0B5B;
}

.btn-register:hover {
    background: #FFEA00;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #FFD400 0%, #FFB000 100%);
    color: #0C0B5B;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFEA00 0%, #FFD400 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 212, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #FFD400;
    color: #FFD400;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* ===========================
   Hero Section
   =========================== */
#hero-section {
    padding: 80px 0 60px;
    text-align: center;
    background: 
        linear-gradient(180deg, rgba(8, 8, 69, 0.7) 0%, rgba(8, 8, 69, 0.85) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #B7B4E8;
    font-weight: 400;
    margin-bottom: 36px;
    letter-spacing: 0.03em;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Platform Info (Main Content)
   =========================== */
#platform-info {
    padding: 60px 0;
}

.content-block {
    max-width: 820px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD400;
}

.main-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #E0DEF7;
    text-align: left;
}

/* ===========================
   Trust Signals
   =========================== */
#trust-signals {
    padding: 50px 0 70px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.5) 0%, rgba(12, 11, 91, 0.8) 100%);
    border: 1px solid rgba(255, 212, 0, 0.12);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: rgba(255, 212, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 10, 80, 0.5);
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.trust-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.trust-item p {
    font-size: 0.82rem;
    color: #B7B4E8;
    line-height: 1.5;
}

/* ===========================
   Platform Facts Table
   =========================== */
#platform-facts {
    padding: 50px 0;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(255, 212, 0, 0.12);
}

.facts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.facts-table tr {
    border-bottom: 1px solid rgba(255, 212, 0, 0.08);
}

.facts-table tr:last-child {
    border-bottom: none;
}

.facts-table td {
    padding: 14px 20px;
    vertical-align: top;
}

.facts-table .fact-label {
    font-weight: 600;
    color: #FFD400;
    width: 180px;
    white-space: nowrap;
    background: rgba(43, 28, 122, 0.3);
}

.facts-table tr:hover {
    background: rgba(43, 28, 122, 0.2);
}

/* ===========================
   How to Access (Steps)
   =========================== */
#how-to-access {
    padding: 50px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.step-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.4) 0%, rgba(12, 11, 91, 0.7) 100%);
    border: 1px solid rgba(255, 212, 0, 0.1);
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFD400 0%, #FFB000 100%);
    color: #0C0B5B;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    margin-bottom: 14px;
}

.step-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.step-item p {
    font-size: 0.88rem;
    color: #B7B4E8;
    line-height: 1.65;
}

.steps-cta {
    text-align: center;
    margin-top: 12px;
}

/* ===========================
   Who It's For / Not For
   =========================== */
#who-its-for {
    padding: 50px 0;
}

.for-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.for-column {
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 212, 0, 0.1);
}

.for-yes {
    background: linear-gradient(145deg, rgba(0, 80, 40, 0.25) 0%, rgba(12, 11, 91, 0.7) 100%);
    border-color: rgba(0, 200, 100, 0.2);
}

.for-no {
    background: linear-gradient(145deg, rgba(100, 20, 20, 0.25) 0%, rgba(12, 11, 91, 0.7) 100%);
    border-color: rgba(200, 50, 50, 0.2);
}

.for-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.for-column ul {
    list-style: none;
    padding: 0;
}

.for-column ul li {
    font-size: 0.9rem;
    color: #E0DEF7;
    line-height: 1.6;
    padding: 8px 0;
    padding-left: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.for-column ul li:last-child {
    border-bottom: none;
}

.for-column ul li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    color: #FFD400;
    font-weight: 700;
}

/* ===========================
   FAQ Section
   =========================== */
#faq {
    padding: 50px 0 70px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.35) 0%, rgba(12, 11, 91, 0.6) 100%);
    border: 1px solid rgba(255, 212, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(255, 212, 0, 0.3);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
    min-height: 48px;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: #FFD400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item summary:hover {
    color: #FFD400;
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 0.92rem;
    color: #B7B4E8;
    line-height: 1.75;
}

/* ===========================
   Popular Games Banner
   =========================== */
#popular-games {
    padding: 50px 0;
}

.games-banner-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 12px;
}

.games-banner-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 212, 0, 0.15);
}

.games-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.games-caption {
    font-size: 0.88rem;
    color: #B7B4E8;
    text-align: center;
}

/* ===========================
   Navigation Button (text links in header)
   =========================== */
.btn-nav {
    background: transparent;
    color: #B7B4E8;
    border: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.btn-nav:hover {
    color: #FFD400;
    transform: translateY(-1px);
}

/* ===========================
   Footer
   =========================== */
#site-footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 212, 0, 0.08);
    background: rgba(6, 6, 50, 0.6);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    color: #FFD400;
    margin-bottom: 12px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #B7B4E8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-nav a:hover {
    color: #FFD400;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #8C88C7;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 12px;
}

.footer-disclaimer a {
    color: #FFD400;
    text-decoration: underline;
    text-decoration-color: rgba(255, 212, 0, 0.3);
}

.footer-disclaimer a:hover {
    text-decoration-color: #FFD400;
}

.footer-copy {
    font-size: 0.75rem;
    color: #6561A0;
}

/* ===========================
   Status Card (Mirrors page)
   =========================== */
.status-card {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.3) 0%, rgba(12, 11, 91, 0.6) 100%);
    border: 1px solid rgba(255, 212, 0, 0.15);
    border-radius: 16px;
    padding: 32px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-active .status-dot {
    background: #00c853;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00c853;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-green {
    background: rgba(0, 200, 83, 0.15);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

/* ===========================
   Reasons Grid (Mirrors page)
   =========================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.reason-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.35) 0%, rgba(12, 11, 91, 0.6) 100%);
    border: 1px solid rgba(255, 212, 0, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.reason-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.reason-item p {
    font-size: 0.88rem;
    color: #B7B4E8;
    line-height: 1.65;
}

/* ===========================
   Troubleshooting (Login page)
   =========================== */
.trouble-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.trouble-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.3) 0%, rgba(12, 11, 91, 0.5) 100%);
    border: 1px solid rgba(255, 212, 0, 0.08);
    border-radius: 12px;
    padding: 22px 24px;
}

.trouble-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.trouble-item p {
    font-size: 0.9rem;
    color: #B7B4E8;
    line-height: 1.65;
    margin-bottom: 6px;
}

.trouble-item p:last-child {
    margin-bottom: 0;
}

.trouble-item strong {
    color: #FFD400;
}

/* ===========================
   Support Grid (Responsible Gambling page)
   =========================== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.support-item {
    background: linear-gradient(145deg, rgba(43, 28, 122, 0.35) 0%, rgba(12, 11, 91, 0.6) 100%);
    border: 1px solid rgba(255, 212, 0, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.support-item p {
    font-size: 0.88rem;
    color: #B7B4E8;
    line-height: 1.6;
    flex-grow: 1;
}

.support-item .btn {
    align-self: flex-start;
    font-size: 0.8rem;
    padding: 8px 18px;
}

/* ===========================
   Terms Page
   =========================== */
.terms-article h2 {
    margin-top: 32px;
}

.terms-article h2:first-child {
    margin-top: 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px;
}

.terms-list li {
    font-size: 0.95rem;
    color: #E0DEF7;
    line-height: 1.7;
    padding: 6px 0 6px 18px;
    position: relative;
}

.terms-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #FFD400;
    font-weight: 700;
}

/* ===========================
   RESPONSIVE — Tablet (max-width: 768px)
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    #site-header {
        padding: 12px 0;
    }

    #hero-section {
        padding: 50px 0 40px;
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .for-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

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

    .btn-lg {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
    }

    .logo {
        height: 36px;
    }

    /* Mobile menu: show hamburger, hide nav links by default */
    .mobile-menu-toggle {
        display: flex;
    }

    #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 8, 69, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 212, 0, 0.15);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    #main-nav.active {
        display: flex;
    }

    #main-nav .btn-nav {
        display: flex;
        font-size: 1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        justify-content: flex-start;
    }

    #main-nav .btn-login,
    #main-nav .btn-register {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 14px 24px;
    }

    .facts-table .fact-label {
        width: auto;
        white-space: normal;
    }

    .facts-table td {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .status-card {
        padding: 20px 16px;
    }

    .footer-nav {
        gap: 12px;
    }

    .footer-nav a {
        font-size: 0.82rem;
    }

    #platform-info,
    #platform-facts,
    #how-to-access,
    #who-its-for,
    #popular-games,
    #faq,
    #trust-signals,
    #mirror-status,
    #why-mirrors,
    #real-vs-fake,
    #domain-down,
    #login-guide,
    #login-troubleshooting,
    #password-recovery,
    #security-tips,
    #commitment,
    #protection-tools,
    #warning-signs,
    #au-support,
    #underage,
    #terms-content {
        padding: 36px 0;
    }

    .content-block {
        max-width: 100%;
    }

    .content-block h2 {
        font-size: 1.2rem;
    }

    .main-text {
        font-size: 0.95rem;
    }
}

/* ===========================
   RESPONSIVE — Mobile (max-width: 480px)
   =========================== */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    #site-header {
        padding: 10px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .content-block h2 {
        font-size: 1.1rem;
    }

    .main-text {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .faq-item summary {
        font-size: 0.88rem;
        padding: 14px 16px;
        gap: 8px;
    }

    .faq-item p {
        padding: 0 16px 14px;
        font-size: 0.84rem;
    }

    .step-item {
        padding: 20px 16px;
    }

    .for-column {
        padding: 20px 16px;
    }

    .for-column ul li {
        font-size: 0.85rem;
    }

    .trouble-item {
        padding: 16px;
    }

    .trouble-item h3 {
        font-size: 0.92rem;
    }

    .trouble-item p {
        font-size: 0.84rem;
    }

    .reason-item {
        padding: 18px 16px;
    }

    .trust-item {
        padding: 20px 16px;
    }

    .facts-table td {
        padding: 10px 12px;
        font-size: 0.84rem;
        display: block;
    }

    .facts-table tr {
        display: flex;
        flex-direction: column;
    }

    .facts-table .fact-label {
        padding-bottom: 4px;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .footer-disclaimer {
        font-size: 0.72rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0;
    }

    .footer-nav a {
        padding: 8px 0;
        font-size: 0.85rem;
    }

    .games-caption {
        font-size: 0.8rem;
    }

    #site-footer {
        padding: 30px 0;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 14px 20px;
    }

    .support-item {
        padding: 18px 16px;
    }

    .support-item h3 {
        font-size: 0.92rem;
    }

    .status-text {
        font-size: 0.95rem;
    }

    .games-banner-link {
        border-radius: 10px;
    }

    .games-banner {
        border-radius: 10px;
    }
}

/* ===========================
   Focus Visible (Accessibility)
   =========================== */
:focus-visible {
    outline: 2px solid #FFD400;
    outline-offset: 3px;
}

/* ===========================
   Active States for Touch
   =========================== */
@media (hover: none) {
    .btn:active {
        transform: scale(0.97);
    }

    .trust-item:hover,
    .games-banner-link:hover {
        transform: none;
        box-shadow: none;
    }

    .trust-item:active {
        transform: scale(0.98);
    }
}
