@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;500&display=swap');

:root {
    --primary-color: #002B49;
    --primary-dark: #001f35;
    --accent-color: #D4AF37;
    --accent-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --danger: #dc3545;
    --success: #28a745;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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


header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.logo a {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--white);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
}

.btn-nav:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4);
}

.btn-nav::after {
    display: none;
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}


.hero {
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.95) 0%, rgba(0, 31, 53, 0.9) 100%), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

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

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', sans-serif;
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}


.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}


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

.feature-list li {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.feature-list i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(212, 175, 55, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-list li:hover i {
    background-color: var(--accent-color);
    color: var(--white);
}


.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 600px;
}

.data-table th,
.data-table td {
    padding: 20px 25px;
    text-align: left;
}

.data-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.data-table tr:hover {
    background-color: #f1f1f1;
}


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

.result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.result-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.result-card .date {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.numbers span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


.text-block p,
.content-block p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.warning-section {
    background-color: #e9ecef;
    border-left: 6px solid var(--primary-color);
}

.responsible-box {
    background-color: var(--white);
    border-top: 4px solid var(--success);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: 40px;
}

.icon-list-horizontal li {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.icon-list-horizontal i {
    color: var(--success);
}


.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(0, 43, 73, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}


.form-container,
.auth-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.error-msg {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600;
}

.form-group.error input {
    border-color: var(--danger);
    background-color: #fff8f8;
}

.success-box {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

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


footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 5px solid var(--accent-color);
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d0d0d0;
}

.footer-contact i {
    color: var(--accent-color);
}

.age-warning {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.badge-18 {
    background-color: var(--danger);
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #a0a0a0;
}

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

.legal-text {
    text-align: center;
}

.legal-img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legal-img img {
    height: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

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

    .nav-links li {
        opacity: 0;
        animation: navFade 0.5s ease forwards 0.3s;
    }

    @keyframes navFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .hero {
        padding: 80px 0;
    }

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

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

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

.text-content {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.highlight-box {
    background-color: #f0f7ff;
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.helpline-box {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
}

.helpline-number {
    font-size: 2.5rem;
    color: #2e7d32;
    font-weight: 700;
    display: block;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.rules-list {
    list-style: none;
    counter-reset: rules-counter;
}

.rules-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

.rules-list li::before {
    counter-increment: rules-counter;
    content: counter(rules-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
}

.probability-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.probability-table th,
.probability-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-size: 0.9rem;
}

.probability-table th {
    background-color: #f1f1f1;
}

.legal-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    counter-reset: section-counter;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content h3::before {
    counter-increment: section-counter;
    content: counter(section-counter) ". ";
    color: var(--accent-color);
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
    color: #555;
}

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

.legal-content li {
    margin-bottom: 8px;
}

.last-update {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 30px;
    display: block;
}

.contact-dpo {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    font-weight: 500;
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    background-color: #f9f9f9;
    padding: 20px;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 53, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.age-verification {
    border-top: 5px solid var(--accent-color);
}

.modal-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.warning-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--danger);
    margin-bottom: 15px;
}

.legal-note {
    font-weight: 600;
    margin: 20px 0;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

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

.btn-secondary {
    background-color: transparent;
    color: #777;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.logos-footer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0.6;
    font-size: 0.8rem;
    font-weight: bold;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9000;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content {
    flex: 1 1 600px;
}

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

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

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

.btn-solid {
    background-color: var(--success);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-solid:hover {
    background-color: #218838;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: #f0f0f0;
}


.cookie-settings {
    text-align: left;
    max-width: 600px;
}

.close-modal {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: #000;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.option-info strong {
    display: block;
    color: var(--primary-color);
}

.option-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}


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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    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(--success);
}

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

.slider.disabled {
    background-color: var(--primary-color);
    opacity: 0.5;
    cursor: not-allowed;
}

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

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