/* ========================================
   1xBet Modern Design System
   Cairo Font + Premium Dark/Light Theme
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #1a2a3a;
    --primary-light: #234661;
    --primary-dark: #0f1923;
    --accent-start: #ff6b35;
    --accent-end: #f7931e;
    --accent: #ff6b35;
    --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --surface: #ffffff;
    --surface-alt: #f4f6f9;
    --surface-dark: #0f1923;
    --surface-dark-alt: #1a2a3a;
    --text: #1a1a2e;
    --text-secondary: #4b5563;
    --text-light: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Cairo', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

strong { color: var(--primary-light); font-weight: 700; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-end); }
img { max-width: 100%; height: auto; }

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

/* === HEADER === */
.main-header {
    background: var(--primary-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform var(--transition);
}
.logo a:hover { transform: scale(1.05); }
.logo img { border-radius: 8px; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -0.5px;
}
.logo-accent { color: var(--accent); }

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}
.desktop-nav a {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition);
}
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { width: 100%; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 2000;
    transition: right 0.35s ease;
    padding: 24px;
}
.mobile-nav.active { right: 0; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}
.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 8px; }
.mobile-nav a {
    display: block;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); color: var(--accent); }

/* === HERO === */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 50%, #0f1923 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,107,53,0.08) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,107,53,0.4);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255,107,53,0); }
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(to left, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}
.hero p strong { color: var(--accent); -webkit-text-fill-color: var(--accent); }

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,107,53,0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

.btn-glow { animation: btn-glow 3s ease-in-out infinite; }
@keyframes btn-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255,107,53,0.25); }
    50% { box-shadow: 0 4px 25px rgba(255,107,53,0.45); }
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* === SECTIONS === */
.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}
.section-light { background: var(--surface); }
.section-dark { background: var(--surface-dark); color: var(--text-light); }
.section-dark strong { color: var(--accent); }
.section-accent {
    background: var(--accent-gradient);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(191, 57, 8, 0.08);
    color: #c04008;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-dark .section-badge { background: rgba(255,255,255,0.1); color: #ffa475; }

.section-light .btn-outline {
    color: #a62000;
    border-color: #a62000;
    font-weight: 700;
}
.section-light .btn-outline:hover {
    background: #a62000;
    color: #fff;
    border-color: transparent;
}

.section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.section-dark .section-header h2 { color: #fff; }

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.section-cta { text-align: center; margin-top: 40px; }

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }

.section-dark .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: rgba(255,255,255,0.7); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === LEAGUES === */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.league-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}
.league-local { border-color: var(--accent); }

.league-emoji { font-size: 1.8rem; }
.league-info strong { display: block; color: #fff; font-size: 0.95rem; }
.league-teams { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.league-badge {
    margin-right: auto;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-card { padding: 24px; }
.stat-big-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.stat-big-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

/* === CONTACT METHODS === */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.contact-method {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.method-icon { font-size: 2.5rem; margin-bottom: 12px; }
.contact-method h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-method p { color: var(--text-secondary); font-size: 0.9rem; }

/* === PAGE HERO (Contact, Privacy, etc.) === */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    text-align: center;
    padding: 80px 0 60px;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 12px;
}
.page-hero .lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}
.error-hero h1 { font-size: 5rem; color: var(--accent); }

/* === DOWNLOAD BOX === */
.download-box {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.download-box h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: 16px; }
.download-steps {
    padding-right: 24px;
    list-style: none;
    counter-reset: step;
}
.download-steps li {
    counter-increment: step;
    padding: 10px 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding-right: 36px;
}
.download-steps li::before {
    content: counter(step);
    position: absolute;
    right: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* === CONTACT PAGE === */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-form-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-form-box h2 { color: var(--primary); margin-bottom: 24px; font-size: 1.5rem; }
.contact-info-box {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.contact-info-box h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.3rem; }
.info-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 1.6rem; flex-shrink: 0; }
.info-item h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.info-item p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color var(--transition);
    background: var(--surface);
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

/* === ALERTS === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert ul { padding-right: 20px; margin: 4px 0 0; }

/* === CONTENT BOX (Privacy, etc.) === */
.content-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.content-box h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}
.content-box h2:first-child { margin-top: 0; }
.content-box p { margin-bottom: 14px; line-height: 1.8; }
.content-box ul { margin: 14px 0; padding-right: 24px; }
.content-box li { margin-bottom: 8px; line-height: 1.7; }
.content-box a { color: var(--accent); }
.last-updated {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* === FOOTER === */
.main-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 48px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { color: rgba(255,255,255,0.72); margin-top: 8px; font-size: 0.9rem; }
.footer-links h3 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-countries-section {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-countries-section h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: center;
}

.footer-countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: rgba(255,255,255,0.92);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
}
.country-chip:hover, .country-chip.active {
    background: rgba(255,107,53,0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.country-chip .flag { font-size: 1.1rem; }

/* === RESPONSIBLE GAMING BADGES === */
.footer-badges-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
}

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

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition);
}

.badge-item:hover {
    color: var(--accent);
}

.badge-item svg {
    flex-shrink: 0;
}

.badge-item.age-badge {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    gap: 6px;
}

.badge-item.age-badge svg {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .footer-badges-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-badges {
        justify-content: center;
        gap: 16px;
    }
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* === ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }

    .hero { min-height: 70vh; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.4rem; }

    .cards-grid, .cards-4, .leagues-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }

    .content-box { padding: 24px 20px; }
    .download-box { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 16px; }
    .stat-big-number { font-size: 2rem; }
    .contact-methods-grid { grid-template-columns: 1fr; }
}

/* === LTR (Left-To-Right) Overrides === */
html[dir="ltr"] {
    --font: 'Outfit', 'Inter', sans-serif;
}

html[dir="ltr"] .desktop-nav a::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .download-steps {
    padding-left: 24px;
    padding-right: 0;
}

html[dir="ltr"] .download-steps li {
    padding-left: 36px;
    padding-right: 0;
}

html[dir="ltr"] .download-steps li::before {
    left: 0;
    right: auto;
}

html[dir="ltr"] .league-badge {
    margin-right: 0;
    margin-left: auto;
}

html[dir="ltr"] .content-box ul {
    padding-left: 24px;
    padding-right: 0;
}

html[dir="ltr"] .alert ul {
    padding-left: 20px;
    padding-right: 0;
}

/* === FAQ Accordion === */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    gap: 16px;
    transition: var(--transition);
}

.faq-question {
    line-height: 1.5;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
    transition: transform var(--transition);
}

/* Horizontal line */
.faq-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.faq-content p {
    margin: 0;
}

.faq-content strong {
    color: var(--accent);
}

.faq-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* RTL / LTR specific alignments */
html[dir="ltr"] .faq-trigger {
    text-align: left;
}

html[dir="rtl"] .faq-trigger {
    text-align: right;
}


