@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {

    --bg-body: #0b0e11;
    --bg-surface: #151a23;
    --bg-surface-hover: #1e2532;


    --primary: #f5c518;
    --primary-hover: #e3b10e;
    --primary-glow: rgba(245, 197, 24, 0.4);

    --accent-green: #2ecc71;
    --accent-red: #e74c3c;


    --text-main: #ffffff;
    --text-muted: #9ca3af;


    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(245, 197, 24, 0.5);

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(245, 197, 24, 0.15);

    --radius-sm: 8px;
    --radius-md: 16px;

    --header-height: 80px;
    --container-width: 1240px;

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


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

.section {
    padding: 80px 0;
    position: relative;
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d4a00e 100%);
    color: #111;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 197, 24, 0.5);
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn--primary:hover::after {
    left: 100%;
}

.btn--outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: rgba(245, 197, 24, 0.1);
    color: #fff;
    border-color: #fff;
}

.btn--full {
    width: 100%;
}

.btn--text {
    color: var(--primary);
    font-weight: 600;
    padding: 0;
    background: none;
    text-transform: none;
}

.btn--text:hover {
    color: #fff;
    transform: translateX(5px);
}


.header {
    background: rgba(11, 14, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav__link:hover,
.nav__link.active {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}


.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger__line {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.burger.toggle .burger__line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 7px);
}

.burger.toggle .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.toggle .burger__line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
}


.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: url('../img/hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(-1 * var(--header-height));
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 14, 17, 0.7) 0%, rgba(11, 14, 17, 0.9) 80%, var(--bg-body) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 30px;
}


.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}


.service-card {
    text-align: center;
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(245, 197, 24, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: #000;
    transform: scale(1.1);
}

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


.bookmakers-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bookmaker-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 220px 1fr 240px;
    align-items: center;
    padding: 0;
    position: relative;
    transition: var(--transition);
}

.bookmaker-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}

.bookmaker-card__logo-area {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-light);
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
}

.bookmaker-logo {
    max-width: 140px;
    filter: brightness(0.9);
    transition: var(--transition);
}

.bookmaker-card:hover .bookmaker-logo {
    filter: brightness(1.1);
}

.rating {
    margin-top: 15px;
    text-align: center;
}

.rating__score {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.rating__stars {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 5px;
}

.bookmaker-card__details {
    padding: 30px;
}

.bonus-box {
    margin-bottom: 20px;
}

.bonus-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 5px;
    background: rgba(245, 197, 24, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.bonus-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.pros-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pros-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

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

.bookmaker-card__action {
    padding: 30px;
    border-left: 1px solid var(--border-light);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 197, 24, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
    }
}

.bookmaker-card__action .btn--primary {
    animation: pulse-btn 2s infinite;
}


.reviews {
    background: #0e1217;
}

.review-card {
    background: var(--bg-surface);
    border: none;
    box-shadow: none;
    border-top: 3px solid var(--primary);
}

.review-text {
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-author strong {
    color: #fff;
    display: block;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}


.accordion__item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-surface);
}

.accordion__header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    color: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

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

.accordion__header i {
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.accordion__header.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion__content {
    background: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion__content p {
    padding: 25px;
    color: var(--text-muted);
    line-height: 1.7;
}


.blog-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.blog-card__content {
    padding: 30px;
}

.blog-date {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin: 10px 0 15px;
    color: #fff;
}

.read-more {
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.read-more:hover {
    color: var(--primary);
}


.footer {
    background: #050608;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__col {
    flex: 1 1 220px;
}

.footer__col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col ul li a {
    color: var(--text-muted);
}

.footer__col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
    color: #fff;
}

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

.age-limit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.age-icon {
    background: var(--accent-red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: #666;
}


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

.step {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.step__number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: -1;
    line-height: 1;
}


.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
}

.info-item strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #0e1217;
    border: 1px solid var(--border-light);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.1);
}


@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .bookmaker-card {
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto auto;
    }

    .bookmaker-card__logo-area {
        grid-row: 1 / 3;
    }

    .bookmaker-card__action {
        grid-column: 2 / 3;
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-top: 20px;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        justify-content: space-between;
    }

    .btn--full {
        width: auto;
        min-width: 200px;
    }
}

.section-footer-note {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .burger {
        display: block;
        z-index: 1100;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 14, 17, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav__link {
        font-size: 1.5rem;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .bookmaker-card {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .bookmaker-card__logo-area {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .bookmaker-card__action {
        width: 100%;
        border-top: 1px solid var(--border-light);
        flex-direction: column;
        gap: 15px;
    }

    .btn--full {
        width: 100%;
    }

    .pros-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }
}


#recenzije {
    background: linear-gradient(to bottom, var(--bg-body), #0f131a);
    position: relative;
}

.review-card {
    background: var(--bg-surface);
    padding: 35px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);

    border-top: 3px solid var(--primary);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-card);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary-hover);
}


.review-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
    pointer-events: none;
}


.review-stars {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}


.review-text {
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
    z-index: 1;
}


.review-author {
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}


.review-author span::before {
    content: '\f3c5';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========================================
   ДОДАТКОВІ СТИЛІ (CONTACT & FORMS)
   ========================================= */


.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 60px;
}

.contact-info,
.contact-form-container {
    flex: 1 1 400px;
    width: 100%;
}


.contact-info .info-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
}

.contact-info .info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateX(5px);
}

.contact-info .info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
    min-width: 25px;
    text-align: center;
}

.contact-info strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info p,
.contact-info a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info a:hover {
    color: var(--primary);
    text-decoration: underline;
}


.working-hours-box {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-top: 30px;
    border-left: 3px solid var(--primary);
}

.working-hours-box h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.working-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-muted);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.working-hours-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.working-hours-list span.highlight {
    color: var(--primary);
    font-weight: 600;
}


.contact-form-container form {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #0e1217;
    border: 1px solid var(--border-light);
    color: #fff;
    padding: 15px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.1);
    background: #151a23;
}


.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}


.map-container {
    margin-top: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    line-height: 0;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;

    filter: invert(90%) hue-rotate(180deg) contrast(90%) grayscale(20%);
    transition: filter 0.5s ease;
}

.map-container:hover iframe {

    filter: invert(90%) hue-rotate(180deg) contrast(100%) grayscale(0%);
}


@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-container form {
        padding: 25px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* =========================================
   LEGAL PAGES STYLES (Privacy, Terms)
   ========================================= */

.legal-content {
    background: var(--bg-surface);
    padding: 50px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

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

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.legal-content ul li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.legal-content strong {
    color: #fff;
}

.legal-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-light);
    text-align: center;
    font-weight: bold;
    color: #fff;
}


@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .legal-content p {
        text-align: left;
    }
}

/* =========================================
   MODALS & COOKIE BANNER STYLES
   ========================================= */


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

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(245, 197, 24, 0.15);
    border-radius: var(--radius-md);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .modal-content {
    transform: translateY(20px);
}


.age-badge {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    font-size: 1.5rem;
    font-weight: 800;
    padding: 10px 15px;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

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

.modal-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 20px;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(21, 26, 35, 0.95);
    border-top: 1px solid var(--border-light);
    padding: 20px;
    z-index: 9990;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

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

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

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

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}


.cookie-modal {
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.modal-header h3 {
    margin: 0;
    color: #fff;
}

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

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

.cookie-options {
    padding: 30px;
}

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

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

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

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

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-light);
    background: rgba(0, 0, 0, 0.2);
}


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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

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

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


.switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.switch.disabled .slider {
    cursor: not-allowed;
}


.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


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

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

    .modal-content {
        width: 90%;
        padding: 30px 20px;
    }
}