:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-header: #0f172ae6;
    --accent-teal: #14b8a6;
    --accent-violet: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-violet));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

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

.btn-outline:hover {
    background-color: rgba(20, 184, 166, 0.1);
}

.age-notice {
    background-color: #020617;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#main-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.main-nav a:hover {
    color: var(--text-main);
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}

.auth-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

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

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
}

.hero-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at top center, #1e293b 0%, var(--bg-dark) 70%);
}

.hero-inner h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.disclaimer-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-main);
}

.info-section,
.usage-section,
.formats-section,
.steps-section,
.faq-section,
.responsible-section,
.account-cta {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.info-card h3,
.format-card h3,
.responsible-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--accent-teal);
}

.info-card ul,
.responsible-card ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

.info-card li,
.responsible-card li {
    margin-bottom: 10px;
}

.intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.benefit-list {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-violet);
}

.benefit-list li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.benefit-list li::before {
    content: "•";
    color: var(--accent-violet);
    position: absolute;
    left: -10px;
}

.card-icon {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.subsection {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.subsection h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.subsection ul,
.subsection p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-muted);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.highlight-card {
    border-color: var(--accent-violet);
}

.emergency-box {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #fca5a5;
}

.cta-box {
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
    padding: 50px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cta-box h2 {
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.copyright {
    color: var(--border-color);
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .auth-buttons {
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        width: 100%;
        justify-content: center;
    }

    .hero-inner h1 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.mpc-footer {
    background-color: #121b2e;
    color: #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.mpc-footer.border-slate {
    border-color: #1f2937 !important;
}


.mpc-footer .container-xxl {
    max-width: 1200px;
    margin-inline: auto;
    padding-top: 48px;
    padding-bottom: 40px;
}


.mpc-footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.mpc-footer a:hover {
    color: #ffffff;
}



.mpc-footer .navbar-brand {
    padding: 0;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    color: #f9fafb;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 18px;
    font-weight: 600;
}

.mpc-footer .navbar-brand img {
    display: block;
    height: 42px;
    width: auto;
}

.mpc-footer p {
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 15px;
}


.mpc-footer a[href*="responsiblegambling.org"] {
    color: #63ac8d;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.mpc-footer>.container-xxl>.row {
    display: flex;
    flex-wrap: wrap;
}


.mpc-footer>.container-xxl>.row>.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}


.mpc-footer>.container-xxl>.row>.col-md-6 {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
}


.mpc-footer>.container-xxl>.row>.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}


.mpc-footer .nav-pages>.row {
    display: flex;
    flex-wrap: wrap;
}

.mpc-footer .nav-pages>.row>.col-6 {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
}



.mpc-footer .nav-pages {
    margin-top: 40px;
}

.mpc-footer .label-nav {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
}

.mpc-footer .nav-pages a {
    display: block;
    font-size: 14px;
    color: #e5e7eb;
    opacity: 0.86;
    margin-bottom: 6px;
}

.mpc-footer .nav-pages a:hover {
    opacity: 1;
}



.mpc-footer .logo-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 4px;
}

.mpc-footer .logo-trust .age18 {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid #f04242;
    background: #121b2e;
    color: #f04242;
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpc-footer .logo-trust img {
    display: block;
    height: 38px;
    width: auto;
}



.mpc-footer .border-top.border-secondary {
    border-color: #1f2937 !important;
}

.mpc-footer .text-center.pt-3.mt-4 {
    padding-top: 18px !important;
    margin-top: 40px !important;
}

.mpc-footer .small {
    color: #9ca3af;
    line-height: 1.5;
}

.mpc-footer .small.fw-bold {
    color: #e5e7eb;
}



@media (max-width: 991.98px) {

    .mpc-footer>.container-xxl>.row>.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mpc-footer .nav-pages {
        margin-top: 32px;
    }

    .mpc-footer .logo-trust {
        justify-content: flex-start;
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    .mpc-footer .container-xxl {
        padding-top: 36px;
        padding-bottom: 32px;
    }

    .mpc-footer .navbar-brand {
        font-size: 16px;
        letter-spacing: 0.12em;
        margin-bottom: 20px;
    }


    .mpc-footer .nav-pages>.row>.col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .mpc-footer .logo-trust {
        gap: 14px;
    }

    .mpc-footer .logo-trust .age18 {
        width: 48px;
        height: 48px;
        font-size: 17px;
    }

    .mpc-footer .logo-trust img {
        height: 30px;
    }

    .mpc-footer .small {
        font-size: 11px;
    }
}

.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input {
    width: 100%;
    padding: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 6px;
}

.auth-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.legal-page-header {
    background-color: var(--bg-card);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.legal-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: var(--accent-teal);
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.legal-section ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.contact-box p {
    margin-bottom: 0;
}

.warning-box {
    background-color: rgba(255, 50, 50, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.2);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #fca5a5;
    font-size: 0.9rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.myth-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.myth-title {
    color: #fca5a5;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.fact-title {
    color: var(--accent-teal);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

.help-resources {
    background: linear-gradient(to bottom right, #1e293b, #0f172a);
    border: 1px solid var(--accent-violet);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.help-resources h3 {
    margin-top: 0;
    color: var(--accent-violet);
}

.warning-sign {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-left: 4px solid var(--accent-teal);
    margin-bottom: 15px;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.age-overlay.active {
    opacity: 1;
    visibility: visible;
}

.age-modal {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.age-icon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.age-modal h2 {
    color: #fff;
    margin-bottom: 15px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.age-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--accent-violet);
    padding: 20px 0;
    z-index: 9000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-text a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

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

.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-overlay.active {
    display: flex;
}

.cookie-settings-box {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cookie-settings-box h3 {
    margin-bottom: 10px;
    color: #fff;
}

.cookie-settings-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.option-info {
    display: flex;
    flex-direction: column;
}

.option-info strong {
    color: #fff;
    font-size: 0.95rem;
}

.option-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cookie-actions-modal {
    margin-top: 25px;
    text-align: right;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .age-buttons {
        flex-direction: column;
    }
}