/* Basic Reset & Typography */
:root {
    --primary-color: #d946ef;
    --secondary-color: #22d3ee;
    --background-color: #0b1020;
    --card-background: #111a2b;
    --text-color: #e6eaf2;
    --text-light-color: #a7b0c3;
    --heading-color: #f8fafc;
    --border-color: #22314a;
    --success-color: #10b981;
    --error-color: #fb7185;
    --transition-speed: 0.3s;
    --section-padding: 80px 0;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: var(--heading-color);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 0.5em;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

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

.section {
    padding: var(--section-padding);
}

.section__title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.25em;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-background);
    box-shadow: 0 2px 5px rgba(3, 7, 18, 0.6);
    z-index: 1000;
    transition: transform var(--transition-speed) ease-in-out;
}

.header--hidden {
    transform: translateY(-100%);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.header__burger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--heading-color);
    padding: 5px;
}

.header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-background);
    box-shadow: 0 4px 5px rgba(3, 7, 18, 0.6);
}

.header__nav.is-open {
    display: block;
}

.header__menu {
    list-style: none;
    padding: 10px 0;
}

.header__item {
    text-align: center;
}

.header__link {
    display: block;
    padding: 15px;
    color: var(--text-color);
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.header__link:hover {
    background-color: #0e162c;
    text-decoration: none;
}

.header__link.is-active {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .header__burger {
        display: none;
    }

    .header__nav {
        display: block;
        position: static;
        box-shadow: none;
    }

    .header__menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .header__item {
        margin-left: 20px;
    }

    .header__link {
        padding: 0;
    }
}

/* Hero Section */
.section--hero {
    background-color: var(--primary-color);
    color: #0a0a0a;
    padding-top: 150px;
    padding-bottom: 0;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__title {
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.2em;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    color: #0a0a0a;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__image {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    transform: translateY(20px);
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 15px rgba(3, 7, 18, 0.5);
}

.hero__benefits {
    background-color: var(--card-background);
    padding: 3rem 0;
    box-shadow: 0 -2px 10px rgba(3, 7, 18, 0.5);
}

.benefits__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.benefit-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--heading-color);
}

@media (min-width: 768px) {
    .hero__container {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero__content {
        flex: 1;
        align-self: center;
    }
    
    .hero__image {
        flex: 1;
        margin-top: 0;
        transform: translateY(0);
    }

    .benefits__container {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }
}


/* About Section */
.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.about__text {
    max-width: 800px;
}

.about__image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(3, 7, 18, 0.5);
}

@media (min-width: 992px) {
    .about__content {
        flex-direction: row;
        gap: 5rem;
    }

    .about__text {
        flex: 2;
    }

    .about__image {
        flex: 1;
    }
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(3, 7, 18, 0.4);
    text-align: center;
    transition: transform var(--transition-speed);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card__title {
    font-size: 1.25rem;
}


/* How It Works Section */
.section--how-it-works {
    background-color: var(--card-background);
}

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

.step-card {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    padding-top: 60px;
    background: #0f1a31;
}

.step-card__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: #03121b;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(3, 7, 18, 0.5);
}

.step-card__title {
    font-size: 1.2rem;
    margin-top: 0;
}

/* Top Casinos Section */
.top-casinos-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.casino-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(3, 7, 18, 0.4);
}

.casino-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.casino-card__header img {
    width: 80px;
    height: auto;
    border-radius: 8px;
}

.casino-card__header h3 {
    margin: 0;
}

.casino-card__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 1.5rem;
}

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

.info-label {
    font-weight: 600;
    color: var(--text-light-color);
}

.info-value {
    font-weight: 700;
}

.info-value i {
    color: var(--secondary-color);
}

.casino-card__disclaimer {
    font-style: italic;
    font-size: 0.9em;
    color: var(--text-light-color);
}

.payment-list {
    list-style: none;
    padding: 0;
    margin-top: 5px;
}

.payment-list li {
    font-size: 0.95rem;
    color: var(--text-color);
}

.btn--cta {
    background-color: var(--primary-color);
    color: #0a0a0a;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: background-color var(--transition-speed);
}

.btn--cta:hover {
    background-color: #c026d3;
    text-decoration: none;
}

.casino-card__note {
    font-size: 0.8em;
    color: var(--text-light-color);
    font-style: italic;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .top-casinos-grid {
        flex-direction: row;
    }
    
    .casino-card {
        flex: 1;
    }

    .casino-card__info {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .casino-card__info {
        grid-template-columns: repeat(4, 1fr);
    }
    .info-item--payments {
        grid-column: span 2;
    }
}

/* Reviews Section */
.section--reviews {
    background-color: #0f1a31;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(3, 7, 18, 0.4);
}

.review-card__header {
    margin-bottom: 1em;
}

.review-card__author {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card__author i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.review-card__text {
    color: var(--text-color);
    font-style: italic;
}


/* Contact Section */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(3, 7, 18, 0.4);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: #0b162c;
    color: var(--text-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #0f1f3b;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group--checkbox {
    display: flex;
    align-items: center;
}

.form-group--checkbox input {
    width: auto;
    margin-right: 10px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-block i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.info-block h4 {
    margin: 0;
    font-size: 1.2rem;
}

.info-block p {
    margin: 0;
}

.contact__map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(3, 7, 18, 0.4);
}

#form-status {
    margin-top: 15px;
    font-weight: 600;
}

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

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

/* Footer */
.footer {
    background-color: #070b17;
    color: #dbeafe;
    padding: 50px 0;
    font-size: 0.9rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.footer__column--brand {
    text-align: center;
}

.footer__logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffffff;
    display: block;
    margin-bottom: 1rem;
}

.footer__socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer__socials a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.footer__socials a:hover {
    color: var(--secondary-color);
}

.footer__copyright {
    color: #94a3b8;
}

.footer__column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer__menu li {
    margin-bottom: 8px;
}

.footer__menu a {
    color: #dbeafe;
    transition: color var(--transition-speed);
}

.footer__menu a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer__disclaimer {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: #93c5fd;
    margin-top: 2rem;
    text-align: center;
}

/* General Buttons and UI */
.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

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

.btn--primary:hover {
    background-color: #c026d3;
}

.btn--secondary {
    background-color: transparent;
    color: #0a0a0a;
    border: 2px solid #0a0a0a;
}
.modal-actions .btn--secondary {
     color: var(--primary-color);
     border: 2px solid var(--primary-color);
}
.btn--secondary:hover {
    background-color: #0a0a0a;
    color: var(--primary-color);
}

.btn--link {
    background: none;
    border: none;
    color: var(--secondary-color);
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 7, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed);
    z-index: 2000;
}

.modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(3, 7, 18, 0.6);
    transform: translateY(-20px);
    transition: transform var(--transition-speed);
}

.modal.is-visible .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Cookies Banner */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #070b17;
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    z-index: 1500;
}

.cookies-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookies-banner__text p {
    margin: 0;
    text-align: center;
}

.cookies-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cookies-banner .btn {
    border: 1px solid #fff;
    font-size: 0.8rem;
    padding: 8px 15px;
}

.cookies-banner .btn--primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #03121b;
}

.cookies-banner .btn--secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.cookies-banner .btn--link {
    color: #ffffff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .cookies-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 40px;
    }

    .cookies-banner__text p {
        text-align: left;
    }
}

.footer-img-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
}

.section--page {
    padding: 100px 0;
    background: #0f1a31;
}

.footer-img-block img {
    height: 40px;
    margin: 10px;
}
.section--page h1 {
    font-size: 28px;
}

.section--page h2 {
    font-size: 22px;
}

.section--page ul {
    list-style-type: none;
}
