/* Project: LusoBet Compass
    Theme: Dark Navy, Gold, Teal
    Fonts: Inter, Poppins
*/

:root {
    --bg-dark: #0a192f;
    --bg-darker: #020c1b;
    --bg-card: #112240;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --primary-gold: #d4af37;
    --accent-teal: #64ffda;
    --white: #ffffff;
    --error: #ff6b6b;
    --success: #64ffda;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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


.section-padding {
    padding: 80px 0;
}

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

.text-gold {
    color: var(--primary-gold);
}

.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.img-placeholder img {
    width: 100%;
}


.top-bar {
    background-color: var(--bg-darker);
    border-bottom: 1px solid #233554;
    font-size: 0.8rem;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #233554;
}

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

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

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.btn-nav {
    border: 1px solid var(--accent-teal);
    padding: 5px 15px;
    border-radius: 4px;
    color: var(--accent-teal) !important;
}

.btn-nav:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--accent-teal);
    margin: 5px;
    transition: var(--transition);
}


.hero-section {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.hero-placeholder img {
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.step-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-teal);
}

.step-icon {
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}


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

.bm-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bm-header {
    background-color: var(--bg-dark);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo-placeholder {
    width: 140px;
    height: 60px;
}

.screen-placeholder {
    width: 100%;
    height: 180px;
    border: none;
    border-bottom: 1px solid #233554;
    border-top: 1px solid #233554;
}

.bm-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bm-body h3 {
    text-align: center;
    color: var(--primary-gold);
}

.bm-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.bm-pros {
    margin-bottom: 1.5rem;
    flex: 1;
}

.bm-pros li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bm-pros i {
    color: var(--accent-teal);
    margin-right: 8px;
}

.full-width {
    width: 100%;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    display: block;
    margin-top: 0.5rem;
}


.table-responsive {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #233554;
}

.compare-table th {
    background-color: #233554;
    color: var(--white);
    font-weight: 600;
}

.compare-table tr:hover td {
    background-color: rgba(100, 255, 218, 0.05);
}

.table-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}


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

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #233554;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--bg-card);
}

.accordion-header {
    width: 100%;
    padding: 1.2rem;
    background-color: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #172a4d;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-header.active {
    color: var(--primary-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-dark);
}

.accordion-content p {
    padding: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}


.responsible-box {
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.responsible-content {
    max-width: 700px;
    margin: 0 auto;
}

.responsible-list {
    text-align: left;
    margin: 2rem 0;
    display: inline-block;
}

.responsible-list li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.help-box {
    background-color: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}


.contact-container {
    max-width: 600px;
}

.email-text {
    color: var(--primary-gold);
    margin-top: 0.5rem;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid #233554;
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
}

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

.form-message {
    margin-top: 1rem;
    font-weight: 500;
}

.form-success {
    color: var(--success);
}

.form-error {
    color: var(--error);
}


footer {
    background-color: #02060b;
    padding: 4rem 0 0 0;
    border-top: 1px solid #233554;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
}

.footer-warning {
    margin-top: 1rem;
    color: var(--white);
    border-left: 3px solid var(--primary-gold);
    padding-left: 10px;
}

.footer-placeholders {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.footer-logo {
    width: 100%;
    height: 50px;
    font-size: 0.7rem;
}

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
}


.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}


@media screen and (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--bg-card);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 2rem;
        border-top: 1px solid #233554;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger-menu {
        display: block;
    }

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

.policy-content h2 {
    color: var(--primary-gold);
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.policy-content h3 {
    color: var(--white);
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.policy-content p,
.policy-content li {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.last-updated {
    font-style: italic;
    color: var(--accent-teal);
    margin-bottom: 2rem;
    display: block;
}

.policy-content strong {
    color: var(--text-main);
}

.policy-content h2 {
    color: var(--primary-gold);
    margin-top: 2.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #233554;
    padding-bottom: 10px;
}

.policy-content h3 {
    color: var(--white);
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.policy-content p,
.policy-content li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.last-updated {
    font-style: italic;
    color: var(--accent-teal);
    margin-bottom: 2rem;
    display: block;
}

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

.cookie-table th,
.cookie-table td {
    border: 1px solid #233554;
    padding: 10px;
    text-align: left;
}

.cookie-table th {
    background-color: #112240;
    color: var(--white);
}

.policy-content h2 {
    color: var(--primary-gold);
    margin-top: 2.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #233554;
    padding-bottom: 10px;
}

.policy-content h3 {
    color: var(--white);
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.policy-content p,
.policy-content li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    position: relative;
    padding-left: 1.5rem;
}

.policy-content ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-teal);
    position: absolute;
    left: 0;
    top: 2px;
}

.help-resource-box {
    background-color: rgba(100, 255, 218, 0.05);
    border: 1px solid var(--accent-teal);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.help-resource-box h3 {
    margin-top: 0;
    color: var(--accent-teal);
}

.emergency-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin: 10px 0;
}

.last-updated {
    font-style: italic;
    color: var(--accent-teal);
    margin-bottom: 2rem;
    display: block;
}

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 12, 27, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Hidden by default in CSS, shown by JS if needed, 
       but for safety we show it and hide with JS if verified */
    display: flex;
}

.age-gate-box {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--primary-gold);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
}

.age-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* =========================================
   COOKIE BANNER STYLES
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--accent-teal);
    padding: 1.5rem;
    z-index: 9998;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* =========================================
   COOKIE SETTINGS MODAL
   ========================================= */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

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

.cookie-modal-box {
    background-color: var(--bg-card);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #233554;
}

.modal-header {
    background-color: var(--bg-darker);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #233554;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

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

.cookie-option:last-child {
    border: none;
    margin-bottom: 0;
}

.option-info strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.option-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}


.option-toggle input {
    display: none;
}

.slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #233554;
    border-radius: 34px;
    cursor: pointer;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-teal);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.locked {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--accent-teal);
}

.slider.locked:before {
    transform: translateX(24px);
}

.modal-footer {
    padding: 1.5rem;
    background-color: var(--bg-darker);
    border-top: 1px solid #233554;
}


@media screen and (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}