/* ============================================================
   MelhorAsino — Global Styles
   ============================================================ */

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

body {
    font-family: 'Rubik', sans-serif;
    background: #F3E7D7;
    color: #FFFFFF;
    min-width: 320px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ============================================================
   HEADER  (56 px)
   ============================================================ */
.header {
    background: #090D12;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    width: 1200px;
    max-width: 100%;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
}

/* --- Desktop nav --- */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: opacity .2s;
}

.nav a:hover {
    opacity: .8;
}

/* --- Hamburger (mobile) --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: .3s;
}

/* ============================================================
   SUB-HEADER  (бордова плашка 18+)
   ============================================================ */
.sub-header {
    background: #361116;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-header-inner {
    width: 1200px;
    max-width: 100%;
    padding: 12px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sub-header-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    color: #FFFFFF;
}

.sub-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.badge-18 {
    width: 36px;
    height: 36px;
}

.badge-18 img {
    width: 100%;
    height: 100%;
}

.sub-header-right span {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   MAIN CONTENT wrapper
   ============================================================ */
.main-content {
    background: #11171C;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 42px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 546px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* mobile hero image hidden by default */
.hero-bg .hero-img-mobile {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    max-width: 831px;
}

.hero-text h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 110%;
    margin-bottom: 24px;
}

.hero-text p {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 16px;
}

/* ============================================================
   SECTIONS (загальні)
   ============================================================ */
.section {
    padding: 96px 0;
}

.section-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 42px;
}

.section h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 110%;
    margin-bottom: 24px;
    text-align: center;
}

.section h2.left {
    text-align: left;
}

.section p {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 16px;
}

.section h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    margin-bottom: 16px;
    margin-top: 32px;
}

.section ul {
    margin: 12px 0 16px 24px;
    font-size: 20px;
    line-height: 160%;
}

.section ul li {
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

/* ============================================================
   CASINO CARD  (featured — bwin)
   ============================================================ */
.casino-card {
    max-width: 926px;
    margin: 0 auto;
    background: linear-gradient(180deg, #142D66 0%, #0D121C 100%);
    border: 1px solid #465A75;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.casino-logo {
    flex-shrink: 0;
    width: 350px;
    height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.casino-rating {
    text-align: center;
    flex-shrink: 0;
}

.rating-score {
    font-weight: 700;
    font-size: 48px;
    line-height: 110%;
    color: #FFFFFF;
}

.rating-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin: 8px 0;
}

.star {
    color: #FECA1F;
    font-size: 20px;
}

.rating-votes {
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
}

.casino-offer {
    text-align: center;
    flex: 1;
}

.offer-text {
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    margin-bottom: 16px;
}

.cta-button {
    display: inline-block;
    background: #2462EC;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 12px 48px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
}

.cta-button:hover {
    opacity: .9;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    padding: 96px 0;
}

.faq-section h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 110%;
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 1116px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: linear-gradient(180deg, #142D66 0%, #0D121C 100%);
    border: 1px solid #465A75;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    min-height: 72px;
}

.faq-question h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    margin: 0;
    flex: 1;
}

.faq-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform .3s;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}

.faq-answer p {
    font-size: 20px;
    line-height: 120%;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #090D12;
    padding: 40px 0;
}

.footer-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 42px;
}

.footer-responsible {
    margin-bottom: 32px;
}

.footer-responsible h3 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-responsible p {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 12px;
}

.footer-responsible p strong {
    font-weight: 700;
}

.footer-divider {
    height: 1px;
    background: #37404D;
    margin: 24px 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-nav a:hover {
    opacity: .8;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 24px 0;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
}

.footer-badge img {
    height: 36px;
    width: auto;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 140%;
}

.footer-copyright p {
    margin-bottom: 4px;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-box {
    background: #11171C;
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    width: 100%;
}

.cookie-box h3 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 16px;
}

.cookie-box p {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .9);
}

.cookie-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #465A75;
    transition: opacity .2s;
}

.cookie-btn:hover {
    opacity: .9;
}

.cookie-btn.primary {
    background: #2462EC;
    color: #FFFFFF;
    border-color: #2462EC;
}

.cookie-btn.secondary {
    background: transparent;
    color: #FFFFFF;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #090D12;
    z-index: 999;
    flex-direction: column;
    padding: 24px 42px;
    gap: 0;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 16px 0;
    border-bottom: 1px solid #37404D;
}

/* ============================================================
   INNER PAGES  (sobre, privacidade, termos, contacto, responsabilidade)
   ============================================================ */
.page-content {
    padding: 64px 0 96px;
}

.page-content .container {
    max-width: 1200px;
}

.page-content h1 {
    font-weight: 700;
    font-size: 42px;
    line-height: 110%;
    margin-bottom: 12px;
}

.page-content .page-subtitle {
    font-size: 20px;
    line-height: 140%;
    color: rgba(255,255,255,.8);
    margin-bottom: 48px;
}

.page-content h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 110%;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    margin-top: 28px;
    margin-bottom: 12px;
}

.page-content h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    margin-top: 20px;
    margin-bottom: 8px;
}

.page-content p {
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 14px;
}

.page-content ul {
    margin: 8px 0 16px 24px;
    font-size: 20px;
    line-height: 170%;
}

.page-content ul li {
    margin-bottom: 2px;
}

/* --- Legal / Notice box --- */
.legal-box {
    background: linear-gradient(180deg, #142D66 0%, #0D121C 100%);
    border: 1px solid #465A75;
    border-radius: 12px;
    padding: 32px;
    margin-top: 48px;
}

.legal-box h3 {
    font-weight: 700;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 16px;
}

.legal-box p {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 10px;
}

.legal-box ul {
    font-size: 18px;
    line-height: 160%;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.contact-info,
.contact-form-wrap {
    flex: 1;
    background: linear-gradient(180deg, #142D66 0%, #0D121C 100%);
    border: 1px solid #465A75;
    border-radius: 12px;
    padding: 32px;
}

.contact-info h3,
.contact-form-wrap h3 {
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 24px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(36,98,236,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-item-label {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 16px;
    color: #5B9AFF;
}

.contact-item-note {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    margin-top: 4px;
    line-height: 140%;
}

/* --- Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid #465A75;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    outline: none;
    transition: border-color .2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2462EC;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
}

/* ============================================================
   RESPONSIVE  ≤ 960 px
   ============================================================ */
@media (max-width: 960px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-inner,
    .sub-header-inner,
    .container,
    .section-inner,
    .footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-bg .hero-img-desktop {
        display: none;
    }

    .hero-bg .hero-img-mobile {
        display: block;
    }

    .hero-content {
        justify-content: flex-start;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

    /* Sections */
    .section h2 {
        font-size: 26px;
    }

    .section p,
    .section ul {
        font-size: 18px;
    }

    .section h3 {
        font-size: 22px;
    }

    /* Casino card */
    .casino-card {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
        align-items: center;
        text-align: center;
    }

    .casino-logo {
        width: 100%;
        max-width: 300px;
        height: 100px;
    }

    .offer-text {
        font-size: 20px;
    }

    .cta-button {
        width: 100%;
        padding: 14px 24px;
    }

    /* FAQ */
    .faq-question h3 {
        font-size: 20px;
    }

    .faq-answer p {
        font-size: 18px;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-badges {
        flex-direction: column;
        gap: 24px;
    }

    /* Sub-header */
    .sub-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .sub-header-text {
        font-size: 14px;
    }

    /* Cookie */
    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        text-align: center;
    }

    /* Inner pages */
    .page-content h1 {
        font-size: 30px;
    }

    .page-content h2 {
        font-size: 26px;
    }

    .page-content p,
    .page-content ul {
        font-size: 18px;
    }

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