:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #06b6d4;
    --primary-hover: #0891b2;
    --secondary: #8b5cf6;
    --secondary-hover: #7c3aed;
    --accent: #f59e0b;
    --danger: #ef4444;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}


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

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

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

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

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

.bg-warning {
    background-color: #2c2c2c;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-accent {
    background-color: var(--secondary);
    color: #fff;
}

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

.full-width {
    display: block;
    width: 100%;
}


.header {
    background-color: rgba(2, 6, 23, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
}

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

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

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

.nav-link:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-cta-desktop {
    display: block;
}


.hero {
    height: 90vh;
    min-height: 600px;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}


.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-content p {
    margin-bottom: 15px;
}


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

.service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #fff;
}


.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.step-card {
    flex: 1 1 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}


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

.bookmaker-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #334155;
}

.bookmaker-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.bookmaker-logo {
    max-width: 140px;
    height: auto;
    max-height: 60px;
    display: block;
    margin: 0 auto 10px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}


.card-header {
    background-color: #0f172a;
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--accent);
    color: #000;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

.card-header {
    background-color: #0f172a;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #334155;
}

.logo-placeholder {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    background: #333;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.rating {
    color: var(--accent);
    font-weight: bold;
}

.card-body {
    padding: 20px;
}

.features-list {
    margin: 15px 0;
}

.features-list li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.features-list i {
    color: var(--primary);
    margin-right: 5px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
    justify-content: center;
}

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


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

.sec-item {
    text-align: center;
}

.sec-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}


.faq-item {
    background-color: var(--bg-card);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


.warning-box {
    display: flex;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 3rem;
    color: var(--danger);
}

.help-links {
    margin-top: 20px;
    text-align: center;
}

.help-links a {
    color: var(--text-main);
    margin: 0 10px;
    text-decoration: underline;
}


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-card);
    border: 1px solid #334155;
    border-radius: 5px;
    color: #fff;
}

.site-footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 1px solid #1e293b;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}


.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: #1e293b;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}


.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}


.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.age-restriction {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.age-badge {
    background-color: #ef4444;
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.age-text {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
}


.footer-divider {
    border: 0;
    border-top: 1px solid #1e293b;
    margin: 30px 0;
}

.footer-disclaimer-text {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0.7;
}

.copyright-row {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}


@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .social-links,
    .contact-list li,
    .age-restriction {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

@media (max-width: 992px) {

    .security-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        padding: 20px;
        flex-direction: column;
        border-bottom: 1px solid var(--primary);
    }

    .navbar.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .header-cta-desktop {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .bookmaker-card.featured {
        transform: scale(1);
    }
}

.legal-header {
    background-color: var(--bg-darker);
    padding: 20px 0;
    border-bottom: 1px solid #334155;
}

.legal-main {
    padding: 120px 0 60px 0;
    background-color: var(--bg-dark);
    color: #cbd5e1;
}

.legal-content h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    display: block;
    font-style: italic;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #fff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1e293b;
    border-radius: 5px;
    overflow: hidden;
}

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

.cookie-table th {
    background-color: #0f172a;
    color: var(--primary);
    font-weight: bold;
}

.cookie-table td {
    color: #cbd5e1;
}

@media (max-width: 600px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

.warning-alert {
    background-color: rgba(239, 68, 68, 0.15);
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.warning-alert strong {
    color: #ef4444;
}

.self-test-box {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid #334155;
}

.question-list {
    list-style: none;
    padding: 0;
}

.question-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-list li:before {
    content: "\f059";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
}

.help-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.resource-card {
    background-color: #1e293b;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    background-color: #27354d;
}

.resource-card a {
    color: var(--primary);
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #334155;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hidden {
    display: none !important;
}


.age-badge-large {
    background-color: #ef4444;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.age-question {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.age-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
}

.age-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    border-top: 1px solid var(--primary);
    padding: 20px 0;
    z-index: 9990;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

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

.cookie-text h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

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

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

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

.btn-outline {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}


.settings-box {
    text-align: left;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #334155;
    padding-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.option-info strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
}

.option-info small {
    color: #94a3b8;
    font-size: 0.8rem;
}


.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #475569;
    transition: .4s;
    border-radius: 34px;
}

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

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

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

.toggle-switch.disabled input:checked+.slider {
    background-color: #0d9488;
    opacity: 0.5;
    cursor: not-allowed;
}


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

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-sm {
        width: 100%;
    }

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