/* Xparibet Algeria — mobile-first, bilingual (fr / ar) */

@font-face {
    font-family: "Montserrat Fallback";
    src: local("Arial");
    ascent-override: 96.42%;
    descent-override: 25%;
    line-gap-override: 0%;
    size-adjust: 107%;
}
@font-face {
    font-family: "Cairo Fallback";
    src: local("Arial");
    ascent-override: 110%;
    descent-override: 42%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

:root {
    --primary-red: #E30613;
    --red-hover: #BF0411;
    --red-deep: #8E0309;
    --accent-green: #007A3D;
    --green-soft: rgba(0, 122, 61, 0.18);
    --bg-deep: #000000;
    --bg-main: #0A0A0A;
    --bg-elev: #141414;
    --card-bg: #161616;
    --card-bg-2: #1E1E1E;
    --border-subtle: rgba(227, 6, 19, 0.22);
    --border-soft: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-muted: #9a9a9a;
    --text-soft: #d6d6d6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image:
        radial-gradient(ellipse at top, #1a0507 0%, #0A0A0A 38%, #000000 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body[dir="rtl"] { font-family: 'Cairo', 'Cairo Fallback', 'Tajawal', 'Segoe UI', sans-serif; }

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 10px;
}

.header-logo {
    order: 1;
    flex: 0 0 auto;
    margin-right: auto;
    line-height: 0;
}
body[dir="rtl"] .header-logo { margin-right: 0; margin-left: auto; }

.header-logo img {
    height: 26px;
    width: auto;
    max-width: 150px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(227, 6, 19, 0.45));
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    gap: 32px;
    z-index: 999;
}
body[dir="rtl"] .nav-menu { right: auto; left: -100%; transition: left 0.4s cubic-bezier(0.77,0.2,0.05,1.0); }
.nav-menu.active { right: 0; }
body[dir="rtl"] .nav-menu.active { right: auto; left: 0; }

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1.2px;
    transition: color 0.25s ease;
}
.nav-menu a:hover, .nav-menu a:focus { color: var(--primary-red); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: relative;
    order: 3;
    flex: 0 0 auto;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(227, 6, 19, 0.12);
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
    padding: 7px 12px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.5px;
    line-height: 1;
    min-height: 34px;
}
.lang-current::after {
    content: "▾";
    color: var(--primary-red);
    font-size: 0.85em;
    transition: transform 0.25s ease;
}
.lang-switcher.open .lang-current::after { transform: rotate(180deg); }
.lang-current:hover, .lang-current:focus { border-color: var(--primary-red); outline: none; }

.lang-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 100%;
    background: #0f0f0f;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    display: none;
    z-index: 1100;
}
body[dir="rtl"] .lang-list { right: auto; left: 0; }
.lang-switcher.open .lang-list { display: block; }

.lang-list li { list-style: none; }
.lang-list .lang-link {
    display: block;
    text-decoration: none;
    color: var(--text-white);
    padding: 8px 14px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    min-width: 56px;
    text-align: center;
    white-space: nowrap;
}
.lang-list .lang-link:hover { background: rgba(227, 6, 19, 0.15); color: var(--primary-red); }
.lang-list .lang-link.active { background: var(--primary-red); color: #fff; }

@media (min-width: 900px) {
    .lang-current { display: none; }
    .lang-list {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 4px;
        padding: 4px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border-subtle);
        border-radius: 8px;
        box-shadow: none;
    }
    .lang-list .lang-link {
        padding: 6px 10px;
        min-width: 0;
        font-size: 11px;
    }
}

.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: 0;
    z-index: 1001;
    order: 4;
    flex: 0 0 auto;
}
.mobile-nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-white);
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}
.mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--primary-red); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--primary-red); }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 100px 0 50px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px circle at 20% 25%, rgba(227,6,19,0.18), transparent 60%),
        radial-gradient(420px circle at 80% 75%, rgba(0,122,61,0.12), transparent 60%);
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 900px; }

.hero-logo { margin: 0 auto 22px; min-height: 20px; }
.hero-logo img {
    max-width: 180px;
    width: 180px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 25px rgba(227, 6, 19, 0.5));
}

h1 {
    font-size: clamp(1.7rem, 7vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 2.3vw, 1.2rem);
    color: var(--text-soft);
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.accent { color: var(--primary-red); }
.accent-g { color: #15a25c; }

/* --- CROSSLINK BAR --- */
.page-crosslink {
    margin: 22px auto 0;
    max-width: 640px;
    padding: 10px 14px;
    background: rgba(227, 6, 19, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.page-crosslink a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 800;
    margin-left: 4px;
}
.page-crosslink a:hover { text-decoration: underline; }

/* --- BRAND NOTE (alt-spellings aside) --- */
.brand-note {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-left: 3px solid var(--primary-red);
    background: rgba(227, 6, 19, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}
body[dir="rtl"] .brand-note { border-left: 0; border-right: 3px solid var(--primary-red); }
.brand-note em { font-style: normal; }
.brand-note strong { color: var(--primary-red); font-weight: 700; }

/* --- TRUST STRIP --- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 26px auto 0;
    max-width: 640px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.trust-strip .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.trust-strip .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 8px rgba(227,6,19,0.7);
}
.trust-strip .dot.g { background: #15a25c; box-shadow: 0 0 8px rgba(21,162,92,0.7); }

/* --- BUTTONS --- */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.btn {
    padding: 16px 22px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    border: 0;
    cursor: pointer;
    min-height: 52px;
    white-space: normal;
    word-break: break-word;
}

.btn-primary {
    background: linear-gradient(180deg, #FF1F2E 0%, var(--primary-red) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(227, 6, 19, 0.38);
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--red-hover) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 6, 19, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-red);
}
.btn-outline:hover, .btn-outline:focus {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-3px);
}

.btn-green {
    background: linear-gradient(180deg, #15a25c 0%, var(--accent-green) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 122, 61, 0.35);
}
.btn-green:hover, .btn-green:focus {
    background: linear-gradient(180deg, var(--accent-green) 0%, #005c2d 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 122, 61, 0.5);
}

/* --- PROMO STRIP --- */
.promo-strip {
    margin: 28px auto 0;
    max-width: 520px;
    border: 2px dashed var(--primary-red);
    border-radius: 14px;
    padding: 18px 16px;
    background: rgba(227, 6, 19, 0.06);
    text-align: center;
}
.promo-strip .promo-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.promo-strip .promo-code {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: 0.15em;
    text-shadow: 0 0 18px rgba(227,6,19,0.5);
    padding: 4px 12px;
}
.promo-code-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.promo-copy-btn {
    background: var(--primary-red);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 9px 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.promo-copy-btn:hover,
.promo-copy-btn:focus-visible { background: var(--red-hover); transform: translateY(-1px); outline: none; }
.promo-copy-btn.copied { background: var(--accent-green); }
.promo-copy-feedback {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 700;
    min-height: 1.1em;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.promo-copy-feedback.show { opacity: 1; }

/* --- NAV HIGHLIGHT (App & Partner) --- */
.nav-menu a.nav-highlight {
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--red-hover) 100%);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(227,6,19,0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a.nav-highlight:hover,
.nav-menu a.nav-highlight:focus { color: #fff; background: linear-gradient(180deg, var(--red-hover) 0%, var(--red-deep) 100%); }
.nav-menu a.nav-highlight::before {
    content: "★";
    color: #FFD84D;
    font-size: 0.95em;
    line-height: 1;
}

/* --- PLAIN INLINE LINK (non-blue default) --- */
a.plain-link {
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(227,6,19,0.55);
}
a.plain-link:hover,
a.plain-link:focus { color: var(--primary-red); }

/* --- SECTIONS --- */
.section-padding { padding: 46px 0; }

.info-card {
    background: var(--card-bg);
    padding: 24px 18px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.title-red {
    margin-bottom: 18px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(1.3rem, 4.5vw, 1.9rem);
    color: var(--primary-red);
    line-height: 1.25;
    letter-spacing: 0.01em;
}

p { color: var(--text-soft); font-size: 1rem; }
.info-card p { margin-bottom: 14px; }
.info-card p:last-child { margin-bottom: 0; }

strong, b { color: var(--text-white); font-weight: 700; }
.info-card strong, .info-card b { color: var(--primary-red); }

h2 { font-size: clamp(1.3rem, 4.5vw, 1.9rem); }
h3 {
    margin: 26px 0 14px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: 0.03em;
}
h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-red);
}

.custom-ul { list-style: none; margin: 10px 0 14px; }
.custom-ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--text-soft);
    font-size: 0.98rem;
}
body[dir="rtl"] .custom-ul li { padding-left: 0; padding-right: 26px; }
.custom-ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(227,6,19,0.6);
}
body[dir="rtl"] .custom-ul li::before { left: auto; right: 0; }

ol.step-ol { padding-left: 22px; margin: 10px 0; }
body[dir="rtl"] ol.step-ol { padding-left: 0; padding-right: 22px; }
ol.step-ol li { margin-bottom: 10px; color: var(--text-soft); padding-left: 6px; font-size: 0.98rem; }
ol.step-ol li::marker { color: var(--primary-red); font-weight: 900; }

/* --- TABLES --- */
.table-box {
    background: var(--bg-deep);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    margin: 14px 0 8px;
}
table { width: 100%; border-collapse: collapse; }
th, td {
    padding: 14px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(227,6,19,0.12);
}
body[dir="rtl"] th, body[dir="rtl"] td { text-align: right; }
th {
    color: var(--primary-red);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    background: rgba(227,6,19,0.08);
}
td { color: var(--text-soft); font-size: 0.9rem; }
tr:last-child td { border-bottom: 0; }

@media (max-width: 720px) {
    .table-box thead { display: none; }
    .table-box table, .table-box tbody, .table-box tr, .table-box td { display: block; width: 100%; }
    .table-box tr { margin-bottom: 10px; border-bottom: 2px solid var(--primary-red); }
    .table-box td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(227,6,19,0.1);
        min-height: 42px;
        text-align: right;
        word-break: break-word;
    }
    body[dir="rtl"] .table-box td { text-align: left; }
    .table-box td::before {
        content: attr(data-label);
        flex-shrink: 0;
        max-width: 50%;
        text-align: left;
        font-weight: 800;
        color: var(--primary-red);
        text-transform: uppercase;
        font-size: 0.68rem;
        line-height: 1.3;
        letter-spacing: 0.04em;
    }
    body[dir="rtl"] .table-box td::before { text-align: right; }
}

/* --- CTA BLOCK --- */
.cta-block {
    background: linear-gradient(145deg, #1F0507 0%, #0A0A0A 100%);
    border: 1px solid var(--primary-red);
    border-radius: 16px;
    padding: 28px 18px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 14px 32px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(227,6,19,0.12);
}
.cta-block p { margin-bottom: 20px; font-size: 1.02rem; color: var(--text-soft); }
.cta-block-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-block-buttons .btn { width: 100%; max-width: 320px; margin: 0 auto; }

/* --- FEATURE GRID --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 8px;
}
.feature-item {
    background: rgba(227,6,19,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
}
.feature-item .f-title {
    color: var(--primary-red);
    font-weight: 900;
    font-size: 0.9rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.feature-item .f-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- IMAGE BLOCK --- */
.image-block {
    margin: 22px auto 10px;
    text-align: center;
    max-width: 100%;
}
.image-block img {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.5), 0 0 0 1px var(--border-subtle);
    margin: 0 auto;
    background: #000;
}
.image-caption {
    margin-top: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

/* --- PROVIDER CHIPS --- */
.providers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px;
}
.provider-chip {
    background: rgba(227,6,19,0.1);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--text-white);
    font-weight: 700;
}

/* --- RELATED PAGES (internal linking hub) --- */
.related-pages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
}
.related-pages .related-card {
    display: block;
    background: var(--card-bg-2);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.related-pages .related-card:hover,
.related-pages .related-card:focus {
    transform: translateY(-2px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 24px rgba(227,6,19,0.25);
    color: var(--text-white);
    outline: none;
}
.related-pages .related-kicker {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-red);
    font-weight: 800;
    margin-bottom: 6px;
}
.related-pages .related-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
}
.related-pages .related-desc {
    display: block;
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.55;
}
@media (min-width: 720px) {
    .related-pages { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* --- FAQ --- */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}
body[dir="rtl"] .faq-item { border-left: 1px solid var(--border-soft); border-right: 4px solid transparent; }
.faq-item.active { border-left-color: var(--primary-red); box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
body[dir="rtl"] .faq-item.active { border-left-color: transparent; border-right-color: var(--primary-red); }
.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 18px;
    font-size: 0.97rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.25s ease;
}
body[dir="rtl"] .faq-question { text-align: right; }
.faq-question:hover { color: var(--primary-red); }
.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-red);
    transition: transform 0.35s ease;
    line-height: 1;
    flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.35s ease;
    padding: 0 18px;
}
.faq-item.active .faq-answer { padding-bottom: 18px; max-height: 800px; }
.faq-answer p { font-size: 0.95rem; color: var(--text-soft); }

/* --- FOOTER --- */
.main-footer {
    background-color: #000;
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0 26px;
    margin-top: 30px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.footer-logo img {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
}
.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--primary-red); }

.footer-info { max-width: 640px; margin: 0 auto; }
.footer-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-info .copyright {
    color: #5a5a5a;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 14px;
}
.responsible-gambling {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.responsible-gambling a {
    color: var(--text-white);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.responsible-gambling a:hover { color: var(--primary-red); }
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 26px;
    padding: 0 6px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    color: var(--primary-red);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
}

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

/* --- DESKTOP --- */
@media (min-width: 720px) {
    .container { padding: 0 24px; }
    .info-card { padding: 36px 32px; }
    .section-padding { padding: 56px 0; }
    .cta-container { flex-direction: row; max-width: 560px; justify-content: center; }
    .cta-container .btn { flex: 1; }
    .cta-block { padding: 38px 28px; }
    .cta-block-buttons { flex-direction: row; }
    .cta-block-buttons .btn { width: auto; min-width: 220px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero { padding: 120px 0 60px; }
    .hero-logo img { max-width: 220px; width: 220px; }
    .header-logo img { height: 30px; max-width: 170px; }
    .image-block img { max-width: 420px; }
}

@media (min-width: 900px) {
    .nav-menu {
        position: static;
        flex-direction: row;
        height: auto;
        background: transparent;
        gap: 24px;
        width: auto;
        order: 2;
        flex: 0 1 auto;
    }
    .nav-menu a { font-size: 13px; letter-spacing: 1px; font-weight: 700; }
    .nav-menu a.nav-highlight { padding: 7px 14px; font-size: 12px; box-shadow: 0 3px 10px rgba(227,6,19,0.35); }
    .mobile-nav-toggle { display: none; }
    body[dir="rtl"] .nav-menu { position: static; }
    .lang-switcher { margin-left: auto; }
    body[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
