/* ============================================
   X3BET CASINO — CSS STYLES
   Color Palette: Dark Navy, Purple Gradient, Orange/Coral
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-card: #151535;
    --bg-card-hover: #1a1a45;
    --bg-section-alt: #0d0d25;
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --text-muted: #7070a0;
    --accent-purple: #7b2ff2;
    --accent-purple-light: #9b5ff5;
    --accent-orange: #ff5722;
    --accent-orange-light: #ff7849;
    --accent-coral: #ff6b4a;
    --gradient-primary: linear-gradient(135deg, #7b2ff2 0%, #5b1fd2 50%, #3b0fb2 100%);
    --gradient-cta: linear-gradient(135deg, #ff5722 0%, #ff6b4a 50%, #ff8a65 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a2e 0%, #1a1050 50%, #2a1570 100%);
    --gradient-card: linear-gradient(145deg, #1a1a45 0%, #151535 100%);
    --border-color: rgba(123, 47, 242, 0.2);
    --border-glow: rgba(123, 47, 242, 0.4);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(123, 47, 242, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-purple-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

ul {
    list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 24px;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cta);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-glow);
}

.btn-outline:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 18px 42px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* ---- Mobile Menu Toggle ---- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 26, 0.92) 0%,
        rgba(15, 15, 42, 0.85) 40%,
        rgba(26, 16, 80, 0.75) 70%,
        rgba(42, 21, 112, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(123, 47, 242, 0.2);
    border: 1px solid rgba(123, 47, 242, 0.4);
    color: var(--accent-purple-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0d0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   QUICK INFO TABLE
   ============================================ */
.quick-info {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-header h2 i {
    color: var(--accent-purple-light);
    margin-right: 10px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ---- Content Block ---- */
.content-block {
    max-width: 1000px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 35px 0 18px;
}

/* ---- Banner Showcase ---- */
.banner-showcase {
    margin-bottom: 35px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.banner-showcase:hover .banner-img {
    transform: scale(1.02);
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.features-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-purple-light);
}

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    margin-top: 0;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.bonus-amount {
    font-family: var(--font-heading);
    font-size: 1.3rem !important;
    font-weight: 800;
    color: var(--accent-orange) !important;
    margin-bottom: 10px !important;
}

/* ---- Info Table ---- */
.info-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: 0.9rem;
}

.info-table caption {
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
}

.info-table thead th {
    background: rgba(123, 47, 242, 0.15);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.info-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(123, 47, 242, 0.08);
    color: var(--text-secondary);
    vertical-align: middle;
}

.info-table tbody tr:hover {
    background: rgba(123, 47, 242, 0.05);
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table td i {
    color: var(--accent-purple-light);
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* ---- Check List ---- */
.check-list {
    margin: 20px 0 30px;
}

.check-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(123, 47, 242, 0.08);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li i {
    color: #4caf50;
    margin-top: 4px;
    flex-shrink: 0;
}

.check-list li i.fa-star {
    color: var(--accent-orange);
}

/* ---- Steps Grid ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-cta);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- CTA Block ---- */
.cta-block {
    text-align: center;
    margin: 40px 0 10px;
}

/* ---- Testimonials ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px !important;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-purple-light);
    font-size: 0.9rem;
}

/* ---- Rating Summary ---- */
.rating-summary {
    text-align: center;
    margin: 30px 0;
}

.rating-big {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 50px;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-orange);
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin: 5px 0;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- FAQ ---- */
.faq-list {
    margin: 30px 0;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-primary);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question i {
    color: var(--accent-purple-light);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(123, 47, 242, 0.03);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 22px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    padding: 80px 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(123, 47, 242, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 87, 34, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
    height: 36px;
    width: auto;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-purple-light);
    padding-left: 5px;
}

.footer-badges {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c62828;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
}

.badge-ssl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--accent-purple-light);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: #c62828 !important;
    font-weight: 500;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(198, 40, 40, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(198, 40, 40, 0.05);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(123, 47, 242, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(123, 47, 242, 0.6);
}

/* ============================================
   MOBILE NAV ACTIONS (hidden on desktop)
   ============================================ */
.mobile-nav-actions {
    display: none;
}

/* ============================================
   MOBILE STICKY CTA BAR (hidden on desktop)
   ============================================ */
.mobile-sticky-cta {
    display: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ---- Large Desktop (1200+) — no changes needed ---- */

/* ---- Tablet Landscape ---- */
@media (max-width: 1024px) {
    .features-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .main-nav ul {
        gap: 16px;
    }

    .main-nav a {
        font-size: 0.82rem;
    }
}

/* ---- Tablet Portrait & Small Laptops ---- */
@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-secondary);
        padding: 80px 24px 120px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li a {
        display: flex;
        align-items: center;
        padding: 16px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-color);
        min-height: 52px;
    }

    .main-nav ul li a::after {
        display: none;
    }

    /* Mobile nav CTA buttons */
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--border-glow);
    }

    .btn-mobile-nav {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        justify-content: center;
        border-radius: var(--radius-md);
        min-height: 52px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .features-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    html {
        font-size: 15px;
        scroll-padding-top: 65px;
    }

    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Container — больше padding на мобиле для воздуха */
    .container {
        padding: 0 16px;
    }

    /* Header compact */
    .header-inner {
        height: 60px;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        padding: 10px;
        margin-right: -10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle span {
        width: 24px;
        height: 2.5px;
    }

    /* Hero mobile */
    .hero-section {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 26, 0.95) 0%,
            rgba(15, 15, 42, 0.90) 50%,
            rgba(26, 16, 80, 0.85) 100%
        );
    }

    .hero-content {
        padding: 32px 0 36px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 24px;
        background: rgba(21, 21, 53, 0.6);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 16px 12px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 50px;
    }

    /* Section spacing */
    .section {
        padding: 44px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.3rem;
        line-height: 1.35;
        padding: 0 4px;
    }

    .section-header h2 i {
        display: block;
        margin-bottom: 8px;
        margin-right: 0;
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 8px;
    }

    /* Quick info compact */
    .quick-info {
        padding: 24px 0;
    }

    /* Content block mobile */
    .content-block p {
        font-size: 0.92rem;
        margin-bottom: 16px;
        line-height: 1.75;
    }

    .content-block h3 {
        font-size: 1.15rem;
        margin: 28px 0 14px;
    }

    /* Feature cards mobile — single column with compact padding */
    .features-grid,
    .features-grid.cols-3 {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
    }

    .feature-card {
        padding: 20px;
        border-radius: var(--radius-sm);
    }

    .feature-icon {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .feature-icon i {
        font-size: 1.6rem;
    }

    .feature-card h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .bonus-amount {
        font-size: 1.15rem !important;
    }

    /* Steps mobile — 2 columns */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 20px 0;
    }

    .step-card {
        padding: 20px 14px;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .step-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .step-card p {
        font-size: 0.82rem;
    }

    /* Tables mobile — responsive card-like stacking */
    .info-table-wrapper {
        margin: 20px 0;
        border-radius: var(--radius-sm);
    }

    .info-table {
        font-size: 0.8rem;
    }

    .info-table caption {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .info-table thead th {
        padding: 10px 10px;
        font-size: 0.75rem;
    }

    .info-table tbody td {
        padding: 10px 10px;
        font-size: 0.8rem;
    }

    /* Scroll hint for tables */
    .info-table-wrapper {
        position: relative;
    }

    .info-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(21, 21, 53, 0.9), transparent);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .info-table-wrapper.scrollable::after {
        opacity: 1;
    }

    /* Check list mobile */
    .check-list {
        margin: 16px 0 24px;
    }

    .check-list li {
        padding: 10px 0;
        font-size: 0.88rem;
        gap: 10px;
        line-height: 1.5;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.88rem;
    }

    .testimonial-author {
        font-size: 0.82rem;
    }

    /* Rating summary mobile */
    .rating-big {
        padding: 24px 30px;
        width: 100%;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    /* FAQ mobile — bigger touch targets */
    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.92rem;
        min-height: 52px;
    }

    .faq-answer p {
        padding: 16px;
        font-size: 0.88rem;
    }

    /* Banner mobile */
    .banner-showcase {
        margin-bottom: 24px;
        border-radius: var(--radius-sm);
    }

    .banner-showcase:hover .banner-img {
        transform: none;
    }

    /* CTA block mobile */
    .cta-block {
        margin: 28px 0 10px;
    }

    .cta-block .btn {
        width: 100%;
        min-height: 50px;
    }

    /* CTA section mobile */
    .section-cta {
        padding: 50px 0;
    }

    .cta-content h2 {
        font-size: 1.4rem;
        padding: 0 8px;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 8px;
    }

    .cta-buttons .btn {
        width: 100%;
        min-height: 52px;
    }

    /* Footer mobile */
    .site-footer {
        padding: 40px 0 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        font-size: 0.88rem;
        display: inline-block;
        padding: 4px 0;
        min-height: 36px;
        line-height: 28px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-disclaimer {
        font-size: 0.72rem !important;
        padding: 10px 12px;
    }

    /* Back to top — adjusted for sticky bar */
    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* Mobile sticky CTA bar */
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 997;
        background: rgba(10, 10, 26, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-color);
        padding: 10px 12px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        gap: 10px;
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 8px;
        border-radius: var(--radius-sm);
        font-weight: 700;
        font-size: 0.85rem;
        text-decoration: none;
        min-height: 48px;
        transition: var(--transition);
        white-space: nowrap;
    }

    .sticky-btn i {
        font-size: 0.9rem;
    }

    .sticky-btn-primary {
        background: var(--gradient-cta);
        color: #fff;
        box-shadow: 0 -2px 12px rgba(255, 87, 34, 0.25);
    }

    .sticky-btn-outline {
        background: transparent;
        color: var(--text-primary);
        border: 2px solid var(--border-glow);
    }

    .sticky-btn-primary:hover,
    .sticky-btn-primary:active {
        color: #fff;
    }

    .sticky-btn-outline:hover,
    .sticky-btn-outline:active {
        color: var(--text-primary);
    }

    /* Safe area for sticky bar — add bottom spacing to body */
    body {
        padding-bottom: 70px;
    }
}

/* ---- Small Mobile ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-card h3 {
        margin-bottom: 3px;
    }

    .btn-xl {
        padding: 14px 20px;
        font-size: 0.95rem;
        width: 100%;
    }

    .btn-lg {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .rating-big {
        padding: 20px;
    }

    .rating-number {
        font-size: 2.2rem;
    }

    /* Even more compact tables for small screens */
    .info-table thead th {
        padding: 8px 8px;
        font-size: 0.72rem;
    }

    .info-table tbody td {
        padding: 8px 8px;
        font-size: 0.75rem;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 14px 12px;
    }

    .faq-answer p {
        padding: 14px 12px;
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.25rem;
    }
}

/* ---- Very Small Mobile (iPhone SE, etc.) ---- */
@media (max-width: 370px) {
    .container {
        padding: 0 12px;
    }

    .hero-text h1 {
        font-size: 1.15rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .sticky-btn {
        font-size: 0.78rem;
        padding: 10px 6px;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 16px;
    }
}

/* ---- Disable Hover Effects on Touch Devices ---- */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .step-card:hover {
        transform: none;
        box-shadow: none;
    }

    .testimonial-card:hover {
        box-shadow: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .banner-showcase:hover .banner-img {
        transform: none;
    }

    .faq-question:hover {
        background: var(--bg-card);
    }

    /* Active states for touch instead of hover */
    .feature-card:active {
        border-color: var(--border-glow);
        background: var(--bg-card-hover);
    }

    .btn-primary:active {
        opacity: 0.85;
        transform: scale(0.98);
    }

    .btn-outline:active {
        background: rgba(123, 47, 242, 0.15);
    }

    .sticky-btn:active {
        opacity: 0.85;
        transform: scale(0.98);
    }

    .faq-question:active {
        background: var(--bg-card-hover);
    }
}

/* ---- Landscape Phone ---- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-stats {
        display: flex;
        gap: 20px;
    }

    .mobile-sticky-cta {
        padding: 6px 12px;
    }

    .sticky-btn {
        min-height: 40px;
        padding: 8px;
    }
}

/* ---- Prefer Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .section-cta::before {
        animation: none;
    }
}

/* ---- Dark Mode Support (already dark but let's ensure) ---- */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   UTILITIES
   ============================================ */
::selection {
    background: rgba(123, 47, 242, 0.3);
    color: #fff;
}

/* Tap highlight removal for mobile */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}

/* Active nav link style */
.main-nav a.active {
    color: var(--accent-orange);
}
