@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;600&family=Playfair+Display:wght@700&display=swap');

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

:root {
    --primary-red: #E63946;
    --primary-red-dark: #C1121F;
    --primary-red-light: #FF6B7A;
    --accent-gold: #F4A261;
    --accent-purple: #7209B7;
    --dark-gray: #0D1B2A;
    --dark-gray-2: #1B263B;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --white: #FFFFFF;
    --black: #000000;
    --red-hover: #D62828;
    --border-color: #E0E0E0;
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #C1121F 50%, #7209B7 100%);
    --gradient-secondary: linear-gradient(135deg, #F4A261 0%, #E63946 100%);
    --gradient-text: linear-gradient(135deg, #E63946 0%, #7209B7 100%);
    --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.1);
    --shadow-md: 0 4px 16px rgba(230, 57, 70, 0.15);
    --shadow-lg: 0 8px 32px rgba(230, 57, 70, 0.2);
    --shadow-xl: 0 16px 48px rgba(230, 57, 70, 0.25);
    
    /* Fonts */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    background-attachment: fixed;
    color: var(--dark-gray);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Top Navigation Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    pointer-events: auto;
}

/* Live Wins Ticker */
.live-wins-ticker {
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, var(--dark-gray-2) 0%, var(--dark-gray) 50%, var(--dark-gray-2) 100%);
    border-bottom: 2px solid rgba(244, 162, 97, 0.45);
    overflow: hidden;
    position: relative;
    z-index: 999;
    isolation: isolate;
}

.live-wins-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    background: rgba(230, 57, 70, 0.18);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    border-right: 1px solid rgba(244, 162, 97, 0.25);
    position: relative;
    z-index: 2;
}

.live-wins-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: live-wins-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.live-wins-viewport {
    flex: 1 1 0%;
    width: 0;
    overflow: hidden;
    min-width: 0;
    position: relative;
}

.live-wins-viewport::before,
.live-wins-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
}

.live-wins-viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-gray) 0%, rgba(13, 27, 42, 0) 100%);
}

.live-wins-viewport::after {
    right: 0;
    background: linear-gradient(270deg, var(--dark-gray) 0%, rgba(13, 27, 42, 0) 100%);
}

.live-wins-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: -webkit-max-content;
    width: max-content;
    padding: 11px 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.live-wins-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    white-space: nowrap;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: auto;
    max-width: none;
}

.live-wins-slot-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(244, 162, 97, 0.45);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    display: block;
}

.live-wins-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
}

.live-wins-nickname {
    color: var(--white);
    font-weight: 600;
}

.live-wins-action {
    color: rgba(255, 255, 255, 0.65);
}

.live-wins-amount {
    color: var(--accent-gold);
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.live-wins-game {
    color: var(--primary-red-light);
    font-weight: 600;
}

.live-wins-separator {
    color: rgba(244, 162, 97, 0.45);
    margin-left: 6px;
    font-size: 10px;
    flex-shrink: 0;
}

@keyframes live-wins-pulse {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.55; -webkit-transform: scale(0.85); transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
    .live-wins-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .live-wins-dot {
        animation: none;
    }
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    border-bottom: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
    position: relative;
    z-index: 1001;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    order: 1;
    text-shadow: 0 2px 4px rgba(230, 57, 70, 0.1);
}

.brand-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-logo img {
    max-height: 45px;
    width: auto;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    order: 3;
}

.auth-btn-primary,
.auth-btn-secondary {
    padding: 12px 26px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.auth-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.auth-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.auth-btn-primary:hover::before {
    left: 100%;
}

.auth-btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
}

.auth-btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Top Navigation Menu */
.top-nav {
    border-top: 1px solid var(--border-color);
    background: var(--white);
}

.top-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.top-nav-item {
    position: relative;
}

.top-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    position: relative;
    letter-spacing: 0.02em;
}

.top-nav-link:hover {
    background: var(--light-gray);
    color: var(--primary-red);
}

.top-nav-link.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.05);
}

.nav-icon-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    order: 2;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Sidebar Menu */
.mobile-sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
    pointer-events: auto;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(220, 38, 38, 0.2);
    touch-action: manipulation;
    min-height: 44px;
    width: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--light-gray);
    color: var(--primary-red);
}

/* Main Content Area */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--medium-gray);
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-red);
}

.breadcrumb-link:hover::after {
    width: 100%;
}

.breadcrumb-divider {
    color: var(--medium-gray);
}

/* Banner Section - Single Banner */
.hero-banner {
    margin-bottom: 40px;
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-banner-title {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(230, 57, 70, 0.3);
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.hero-banner-subtitle {
    font-size: 22px;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 35px;
    opacity: 0.98;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.hero-banner-button {
    background: var(--white);
    color: var(--primary-red);
    border: none;
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 30px rgba(230, 57, 70, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero-banner-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.hero-banner-button:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 40px rgba(230, 57, 70, 0.4);
}

.hero-banner-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Slots Section */
.games-section {
    margin-bottom: 50px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-heading-title {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-controls {
    display: none;
    gap: 10px;
}

.scroll-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.game-card {
    background: var(--white);
    border-radius: 18px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 2px solid var(--border-color);
    pointer-events: auto;
    touch-action: pan-y;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.game-card:hover::after {
    opacity: 1;
}

.game-card:hover .game-actions,
.game-card.touch-active .game-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Always show buttons on mobile for better UX */
@media (max-width: 992px) {
    .game-actions {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.game-image-wrapper {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-title {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark-gray-2);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.game-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    display: flex;
    gap: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 15;
    pointer-events: auto;
}

.game-btn {
    flex: 1;
    padding: 13px 18px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.3);
    user-select: none;
    min-height: 44px;
}

.game-btn-demo {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.game-btn-demo:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.game-btn-play {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.game-btn-play:hover {
    background: var(--gradient-secondary);
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

/* Text Content */
.text-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

.text-content-wrapper h1 {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-content-wrapper h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.text-content-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-gray);
    margin: 45px 0 25px;
    padding-bottom: 18px;
    border-bottom: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: relative;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.text-content-wrapper h2::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.text-content-wrapper h3 {
    font-size: 26px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark-gray);
    margin: 35px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: relative;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.text-content-wrapper h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.text-content-wrapper p {
    font-size: 17px;
    font-family: var(--font-body);
    color: var(--dark-gray-2);
    margin-bottom: 22px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Image Styles */
.text-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 35px 0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-content-wrapper img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.2);
}

/* Table Styles */
.table-wrapper {
    margin: 35px 0;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Horizontal scroll for tables on mobile */
@media (max-width: 992px) {
    .table-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        position: relative;
    }
    
    .table-wrapper::before,
    .table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        pointer-events: none;
        z-index: 10;
        transition: opacity 0.3s ease;
    }
    
    .table-wrapper::before {
        left: 0;
        background: linear-gradient(to right, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.5), transparent);
    }
    
    .table-wrapper::after {
        right: 0;
        background: linear-gradient(to left, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.5), transparent);
    }
    
    /* Hide fade when scrolled to edges */
    .table-wrapper.scrolled-left::before {
        opacity: 0;
    }
    
    .table-wrapper.scrolled-right::after {
        opacity: 0;
    }
    
    /* Show fade when not at edges */
    .table-wrapper:not(.scrolled-left)::before {
        opacity: 1;
    }
    
    .table-wrapper:not(.scrolled-right)::after {
        opacity: 1;
    }
}

.text-content-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-md);
}

/* On mobile, tables should maintain minimum width and be scrollable */
@media (max-width: 992px) {
    .text-content-wrapper table {
        min-width: 600px;
        width: max-content;
    }
    
    .text-content-wrapper table th,
    .text-content-wrapper table td {
        white-space: nowrap;
        min-width: 120px;
    }
    
    /* Allow text wrapping in specific cells if needed */
    .text-content-wrapper table td.allow-wrap {
        white-space: normal;
        min-width: 150px;
        max-width: 200px;
    }
}

.text-content-wrapper table caption {
    caption-side: top;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 5px;
    letter-spacing: -0.01em;
}

.text-content-wrapper thead {
    background: var(--gradient-primary);
    position: relative;
}

.text-content-wrapper thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.text-content-wrapper th {
    padding: 22px 26px;
    text-align: left;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.text-content-wrapper th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.text-content-wrapper tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 38, 38, 0.08);
}

.text-content-wrapper tbody tr:hover {
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.08) 0%, rgba(114, 9, 183, 0.03) 100%);
    transform: translateX(4px);
    box-shadow: inset 5px 0 0;
    box-shadow: inset 5px 0 0 var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-content-wrapper tbody tr:last-child {
    border-bottom: none;
}

.text-content-wrapper td {
    padding: 20px 26px;
    text-align: left;
    border: none;
    color: var(--dark-gray-2);
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    vertical-align: middle;
    letter-spacing: 0.01em;
}

.text-content-wrapper tbody tr:nth-child(even) {
    background: rgba(243, 244, 246, 0.3);
}

.text-content-wrapper tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.04) 100%);
}

/* List Styles */
.text-content-wrapper ul,
.text-content-wrapper ol {
    margin: 28px 0;
    padding-left: 0;
    list-style: none;
}

.text-content-wrapper ul li {
    margin-bottom: 18px;
    padding-left: 45px;
    position: relative;
    line-height: 1.85;
    color: var(--dark-gray-2);
    font-size: 17px;
    font-family: var(--font-body);
    font-weight: 400;
}

.text-content-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.text-content-wrapper ul li:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.2);
}

.text-content-wrapper ol {
    counter-reset: list-counter;
}

.text-content-wrapper ol li {
    margin-bottom: 18px;
    padding-left: 55px;
    position: relative;
    line-height: 1.85;
    color: var(--dark-gray-2);
    font-size: 17px;
    font-family: var(--font-body);
    font-weight: 400;
    counter-increment: list-counter;
}

.text-content-wrapper ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    top: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.text-content-wrapper ol li:hover::before {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.list-container {
    margin: 32px 0;
    padding: 28px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 18px;
    border-left: 5px solid transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.list-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

/* Blockquote Styles */
.text-content-wrapper blockquote {
    border-left: 6px solid transparent;
    border-image: var(--gradient-primary) 1;
    padding: 32px 38px;
    margin: 40px 0;
    font-style: italic;
    font-family: var(--font-accent);
    color: var(--dark-gray-2);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, rgba(114, 9, 183, 0.03) 100%);
    border-radius: 0 18px 18px 0;
    position: relative;
    font-size: 19px;
    line-height: 1.9;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.01em;
}

.text-content-wrapper blockquote::before {
    content: '"';
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 72px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    font-family: var(--font-accent);
    line-height: 1;
    font-weight: 700;
}

.text-content-wrapper blockquote::after {
    content: '"';
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-size: 72px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    font-family: var(--font-accent);
    line-height: 1;
    font-weight: 700;
}

/* HowTo Styles */
.howto-wrapper {
    margin: 35px 0;
    padding: 28px;
    background: var(--light-gray);
    border-radius: 14px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.howto-steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: 0;
}

.howto-step-item {
    counter-increment: step-counter;
    margin-bottom: 28px;
    padding: 28px 28px 28px 90px;
    background: var(--white);
    border-radius: 14px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.howto-step-item:hover {
    border-color: transparent;
    border-image: var(--gradient-primary) 1;
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.howto-step-item:hover::before {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.howto-step-item:last-child {
    margin-bottom: 0;
}

.howto-step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 22px;
    top: 28px;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.howto-step-item strong {
    display: block;
    font-size: 20px;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.howto-step-item p {
    margin: 0;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* FAQ Styles */
.faq-wrapper {
    margin: 35px 0;
}

.faq-item-block {
    margin-bottom: 22px;
    padding: 28px;
    background: var(--white);
    border-radius: 14px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.faq-item-block:hover {
    border-color: transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.faq-item-block:last-child {
    margin-bottom: 0;
}

.faq-question-block {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-gray);
    margin-bottom: 18px;
    position: relative;
    padding-left: 40px;
    letter-spacing: -0.01em;
}

.faq-question-block::before {
    content: '?';
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
}

.faq-answer-block {
    font-size: 17px;
    font-family: var(--font-body);
    color: var(--dark-gray-2);
    line-height: 1.85;
    padding-left: 40px;
    font-weight: 400;
}

/* Links in content */
.text-content-wrapper a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-content-wrapper a:hover {
    border-bottom-color: transparent;
    border-image: var(--gradient-primary) 1;
    -webkit-text-fill-color: var(--primary-red-dark);
    background: none;
}

/* Payment Methods Section */
.payment-methods-section {
    margin-bottom: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.payment-methods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.payment-methods-title {
    font-size: 34px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
}

.payment-methods-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.payment-method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.payment-method-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.payment-method-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.payment-method-item:hover::before {
    opacity: 1;
}

.payment-method-item:hover::after {
    opacity: 1;
}

.payment-method-item:hover .payment-method-name {
    color: var(--white);
    transform: scale(1.1);
}

.payment-method-item:hover img {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(1.2);
}

.payment-method-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: grayscale(0.2);
}

.payment-method-name {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-gray);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--dark-gray) 0%, var(--dark-gray-2) 50%, #0A1628 100%);
    color: var(--white);
    padding: 80px 20px 35px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px rgba(230, 57, 70, 0.4);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section-block {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-secondary);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 400;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links-list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-red);
}

.footer-links-list a:hover {
    color: var(--white);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links-list a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-nav-link.active {
    color: var(--primary-red);
    font-weight: 600;
}

.footer-nav-link.active::before {
    opacity: 1;
    left: 0;
}

.footer-buttons-wrapper {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-buttons-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-button {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.footer-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.footer-button:hover::before {
    width: 300px;
    height: 300px;
}

.footer-button span {
    position: relative;
    z-index: 1;
}

.footer-button-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.footer-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.footer-button-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer-button-accent {
    background: var(--white);
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
}

.footer-button-accent:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom-section {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.footer-bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gradient-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-banner {
        min-height: 350px;
    }

    .hero-banner-title {
        font-size: 36px;
    }

    .hero-banner-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .top-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }

    .mobile-sidebar {
        display: block;
    }
    
    .mobile-sidebar-overlay {
        display: block;
    }
    
    .mobile-sidebar-overlay:not(.active) {
        pointer-events: none !important;
    }

    .header-top {
        padding: 12px 0;
        position: relative;
    }

    /* Hide logo on mobile */
    .brand-logo {
        display: none;
    }

    /* Reorder elements: burger left, buttons right */
    .header-top {
        justify-content: space-between;
    }

    .auth-buttons {
        gap: 8px;
        order: 3;
        flex-shrink: 0;
    }

    .auth-btn-primary,
    .auth-btn-secondary {
        padding: 10px 18px;
        font-size: 13px;
        position: relative;
        z-index: 10;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(220, 38, 38, 0.2);
    }

    /* Ensure mobile menu toggle is clickable */
    .mobile-menu-toggle {
        position: relative;
        z-index: 1002;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(31, 41, 55, 0.3);
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
        min-width: 44px;
        min-height: 44px;
    }

    /* Ensure all links are clickable */
    .auth-buttons {
        position: relative;
        z-index: 1003;
    }
    
    .auth-buttons a {
        position: relative;
        z-index: 1003;
        pointer-events: auto !important;
        touch-action: manipulation;
        min-height: 44px;
        min-width: 100px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(230, 57, 70, 0.3);
        user-select: none;
        cursor: pointer;
    }
    
    /* Ensure header doesn't block clicks */
    .header-top {
        z-index: 1001;
        position: relative;
    }
    
    .site-header {
        z-index: 1000;
    }
    
    /* Make sure nothing blocks header elements */
    .header-wrapper {
        position: relative;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px 15px;
    }

    .live-wins-label {
        padding: 0 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .live-wins-slot-img {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .live-wins-text {
        font-size: 12px;
    }

    .live-wins-item {
        padding: 0 14px;
        gap: 8px;
    }

    .live-wins-track {
        padding: 9px 0;
    }

    .live-wins-viewport {
        flex: 1 1 0%;
        width: 0;
    }

    .live-wins-viewport::before,
    .live-wins-viewport::after {
        width: 16px;
    }

    .hero-banner {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .hero-banner-content {
        padding: 40px 25px;
    }

    .hero-banner-title {
        font-size: 28px;
    }

    .hero-banner-subtitle {
        font-size: 16px;
    }

    .hero-banner-button {
        padding: 14px 32px;
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 18px;
    }

    .game-actions {
        padding: 14px;
        gap: 8px;
    }

    .game-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .site-footer {
        padding: 50px 20px 25px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 30px;
        margin-bottom: 35px;
    }
    
    .footer-section-title {
        font-size: 16px;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .footer-links-list li {
        margin-bottom: 10px;
    }
    
    .footer-links-list a {
        font-size: 14px;
    }

    .footer-buttons-wrapper {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        padding-top: 30px;
    }

    .footer-button {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .footer-bottom-section {
        padding-top: 30px;
        font-size: 12px;
    }

    .payment-methods-section {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .payment-methods-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 16px;
    }
    
    .payment-method-item {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .payment-method-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .payment-method-name {
        font-size: 12px;
    }

    /* Mobile header adjustments */
    .header-top {
        padding: 10px 0;
    }

    .auth-buttons {
        gap: 6px;
    }

    .auth-btn-primary,
    .auth-btn-secondary {
        padding: 9px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    /* Table adjustments for small mobile */
    .table-wrapper {
        margin: 25px -15px;
        border-radius: 0;
    }
    
    .text-content-wrapper table {
        min-width: 500px;
        border-radius: 0;
    }
    
    .text-content-wrapper table th,
    .text-content-wrapper table td {
        padding: 14px 16px;
        font-size: 14px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 250px;
    }

    .hero-banner-title {
        font-size: 24px;
    }

    .hero-banner-subtitle {
        font-size: 14px;
    }

    .hero-banner-button {
        padding: 12px 28px;
        font-size: 13px;
    }

    .section-heading-title {
        font-size: 24px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    /* Footer mobile adjustments */
    .site-footer {
        padding: 40px 15px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-section-title {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .footer-links-list a {
        font-size: 13px;
    }
    
    .footer-buttons-wrapper {
        padding-top: 25px;
    }
    
    .footer-button {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .footer-bottom-section {
        padding-top: 25px;
        font-size: 11px;
    }

    /* Extra small mobile header */
    .auth-btn-primary,
    .auth-btn-secondary {
        padding: 8px 12px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* 404 Error Page Styles */
.error-404-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-404-number {
    font-size: 180px;
    font-weight: 900;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 10px 40px rgba(230, 57, 70, 0.2);
    letter-spacing: -0.05em;
    animation: error404Pulse 3s ease-in-out infinite;
}

@keyframes error404Pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

.error-404-title {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-gray);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.error-404-description {
    font-size: 18px;
    font-family: var(--font-body);
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-404-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.error-404-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.error-404-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.error-404-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile styles for 404 page */
@media (max-width: 768px) {
    .error-404-wrapper {
        min-height: calc(100vh - 150px);
        padding: 40px 20px;
    }
    
    .error-404-number {
        font-size: 120px;
        margin-bottom: 16px;
    }
    
    .error-404-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .error-404-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .error-404-button {
        padding: 14px 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        font-size: 100px;
    }
    
    .error-404-title {
        font-size: 20px;
    }
    
    .error-404-description {
        font-size: 15px;
    }
    
    .error-404-button {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }
}

/* App Info Table with Icons */
.app-info-table-wrapper {
    margin: 40px 0;
}

.app-info-table-container {
    max-width: 900px;
    margin: 0 auto;
}

.app-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-md);
}

.app-info-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 38, 38, 0.08);
}

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

.app-info-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.08) 0%, rgba(114, 9, 183, 0.03) 100%);
    transform: translateX(4px);
    box-shadow: inset 5px 0 0 var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-info-table tbody tr:nth-child(even) {
    background: rgba(243, 244, 246, 0.3);
}

.app-info-table tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.08) 0%, rgba(114, 9, 183, 0.03) 100%);
}

.app-info-label-cell {
    width: 80px;
    padding: 20px 16px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(114, 9, 183, 0.05) 100%);
    border-right: 2px solid rgba(230, 57, 70, 0.15);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.app-info-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
    transition: all 0.3s ease;
}

.app-info-table tbody tr:hover .app-info-label-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.app-info-value-cell {
    padding: 20px 26px;
    text-align: left;
    color: var(--dark-gray-2);
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    vertical-align: middle;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    line-height: 1.6;
}

.app-info-value-cell:has(.app-download-link) {
    vertical-align: middle;
}

.app-name-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.app-name-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.app-name-text {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark-gray);
}

.app-download-link {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .app-info-table-container {
        margin: 0 10px;
    }
    
    .app-info-label-cell {
        width: 60px;
        padding: 16px 12px;
    }
    
    .app-info-label-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .app-info-icon {
        width: 20px;
        height: 20px;
    }
    
    .app-info-value-cell {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .app-download-link {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .app-name-logo {
        width: 32px;
        height: 32px;
    }
    
    .app-name-with-logo {
        gap: 10px;
    }
}

/* Wheel of Fortune */
body.wof-open {
    overflow: hidden;
    width: 100%;
}

html.wof-open {
    overflow: hidden;
    height: 100%;
}

.wof-widget {
    --wof-z: 1050;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: var(--wof-z);
    overflow: visible;
    pointer-events: none;
}

.wof-trigger {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: calc(12px + env(safe-area-inset-left, 0px));
    z-index: var(--wof-z);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-heading);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wofPulse 2.5s ease-in-out infinite;
    max-width: calc(100vw - 32px);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    margin: 0;
}

.wof-trigger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.35);
}

.wof-trigger-won {
    animation: none;
    background: linear-gradient(135deg, #F4A261 0%, #E63946 100%);
}

.wof-trigger-wheel {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    animation: wofTriggerSpin 8s linear infinite;
}

.wof-trigger-won .wof-trigger-wheel {
    animation: wofTriggerSpin 3s linear infinite;
}

.wof-trigger-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wof-trigger-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.wof-trigger-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.9;
}

.wof-trigger-bonus {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.wof-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    z-index: calc(var(--wof-z) + 10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(13, 27, 42, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow: hidden;
}

.wof-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wof-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(165deg, #1B263B 0%, #0D1B2A 55%, #1a1030 100%);
    border-radius: 24px;
    border: 2px solid rgba(244, 162, 97, 0.35);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 57, 70, 0.2);
    -webkit-transform: scale(0.88) translateY(20px);
    transform: scale(0.88) translateY(20px);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    flex-shrink: 0;
}

.wof-overlay.active .wof-modal {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.wof-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wof-close:hover {
    background: rgba(230, 57, 70, 0.6);
    transform: rotate(90deg);
}

.wof-modal-inner {
    padding: 28px 24px 32px;
}

.wof-header {
    text-align: center;
    margin-bottom: 24px;
}

.wof-badge {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 12px;
    border-radius: 50px;
    background: rgba(244, 162, 97, 0.15);
    border: 1px solid rgba(244, 162, 97, 0.4);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wof-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wof-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.wof-wheel-area {
    position: relative;
    width: 280px;
    height: 280px;
    max-width: 78vw;
    max-height: 78vw;
    margin: 0 auto 24px;
    flex-shrink: 0;
}

.wof-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -14px;
    z-index: 4;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.wof-wheel-ring {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    padding: 8px;
    background: conic-gradient(from 0deg, #F4A261, #E63946, #7209B7, #F4A261);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: wofRingGlow 3s ease-in-out infinite;
    overflow: hidden;
}

.wof-wheel-spinner {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 50%;
    overflow: hidden;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: -webkit-transform 5.2s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transition: transform 5.2s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    will-change: transform;
}

.wof-wheel-spinner.is-spinning {
    -webkit-transition: -webkit-transform 5.2s cubic-bezier(0.15, 0.85, 0.25, 1);
    transition: transform 5.2s cubic-bezier(0.15, 0.85, 0.25, 1);
}

.wof-wheel-svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wof-wheel-center-cap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    margin-left: -28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.wof-wheel-center-cap span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.wof-segment-label {
    fill: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.wof-segment-jackpot-label {
    fill: #FFE066;
    font-size: 9px;
}

.wof-center-label {
    display: none;
}

.wof-wheel-ring.wof-wheel-won {
    animation: wofJackpotGlow 0.8s ease-in-out infinite alternate;
}

.wof-wheel-ring.wof-wheel-won .wof-segment-jackpot-path {
    filter: drop-shadow(0 0 8px rgba(255, 224, 102, 0.9));
}

.wof-win-flash {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 27, 42, 0.72);
    animation: wofWinFlashIn 0.45s ease;
    pointer-events: none;
}

.wof-win-flash-inner {
    text-align: center;
    padding: 16px;
    animation: wofWinPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wof-win-flash-badge {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.wof-win-flash-prize {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    color: #FFE066;
    text-shadow: 0 0 20px rgba(255, 224, 102, 0.45);
}

.wof-is-hidden,
[hidden].wof-win-flash,
[hidden].wof-result,
[hidden].wof-stage {
    display: none !important;
}

.wof-spin-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    -webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.wof-spin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: wofShimmer 2.5s infinite;
}

.wof-spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.wof-spin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wof-spin-btn.spinning .wof-spin-btn-text {
    opacity: 0.6;
}

.wof-result {
    text-align: center;
    position: relative;
    opacity: 0;
    -webkit-transform: translateY(20px) scale(0.96);
    transform: translateY(20px) scale(0.96);
}

.wof-result.wof-result-visible {
    animation: wofFadeUp 0.55s ease forwards;
}

.wof-result-label {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.wof-result-prize {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    color: #FFE066;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 0 24px rgba(255, 224, 102, 0.35);
}

.wof-result-icon {
    font-size: 56px;
    margin-bottom: 12px;
    animation: wofBounce 0.6s ease;
}

.wof-result-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.wof-result-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.wof-claim-btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    background: var(--gradient-secondary);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(244, 162, 97, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: wofClaimPulse 1.5s ease-in-out infinite;
}

.wof-claim-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(244, 162, 97, 0.55);
}

.wof-confetti {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    pointer-events: none;
    background-image:
        radial-gradient(circle, #F4A261 2px, transparent 2px),
        radial-gradient(circle, #E63946 2px, transparent 2px),
        radial-gradient(circle, #7209B7 2px, transparent 2px),
        radial-gradient(circle, #FFE066 2px, transparent 2px);
    background-size: 80px 80px, 60px 60px, 70px 70px, 90px 90px;
    background-position: 0 0, 20px 20px, 40px 10px, 10px 40px;
    opacity: 0.3;
    animation: wofConfetti 4s linear infinite;
}

@keyframes wofPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(230, 57, 70, 0.3); }
    50% { box-shadow: 0 8px 40px rgba(114, 9, 183, 0.45); }
}

@keyframes wofTriggerSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wofRingGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 45px rgba(244, 162, 97, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3); }
}

@keyframes wofShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes wofJackpotGlow {
    from { box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.3); }
    to { box-shadow: 0 0 55px rgba(255, 224, 102, 0.65), inset 0 0 20px rgba(0, 0, 0, 0.3); }
}

@keyframes wofWinFlashIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes wofWinPop {
    from { opacity: 0; -webkit-transform: scale(0.7); transform: scale(0.7); }
    to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes wofFadeUp {
    from { opacity: 0; -webkit-transform: translateY(20px) scale(0.96); transform: translateY(20px) scale(0.96); }
    to { opacity: 1; -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); }
}

@keyframes wofBounce {
    0% { transform: scale(0.3); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes wofClaimPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(244, 162, 97, 0.4); }
    50% { box-shadow: 0 8px 48px rgba(230, 57, 70, 0.5); }
}

@keyframes wofConfetti {
    from { background-position: 0 0, 20px 20px, 40px 10px, 10px 40px; }
    to { background-position: 0 80px, 20px 100px, 40px 90px, 10px 120px; }
}

@media (max-width: 768px) {
    .wof-trigger {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: calc(10px + env(safe-area-inset-left, 0px));
        padding: 8px 12px 8px 8px;
    }

    .wof-trigger-wheel {
        width: 40px;
        height: 40px;
    }

    .wof-trigger-bonus {
        font-size: 12px;
    }

    .wof-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    .wof-modal {
        max-width: none;
        max-height: none;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        border-radius: 0;
        border: none;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    .wof-overlay.active .wof-modal {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    .wof-modal-inner {
        padding: calc(48px + env(safe-area-inset-top, 0px)) 20px calc(32px + env(safe-area-inset-bottom, 0px));
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .wof-wheel-area {
        width: min(280px, 78vw);
        height: min(280px, 78vw);
    }

    .wof-title {
        font-size: 24px;
    }

    .wof-result-prize {
        font-size: 20px;
    }

    .wof-claim-btn {
        width: 100%;
        padding: 16px 24px;
    }
}

@media (min-width: 769px) {
    .wof-trigger {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        left: calc(24px + env(safe-area-inset-left, 0px));
    }
}

/* Live Chat Widget */
.live-chat-widget {
    --chat-z: 1055;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    z-index: var(--chat-z);
    font-family: var(--font-body);
    pointer-events: none;
}

.live-chat-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px 12px 14px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--dark-gray-2) 0%, var(--dark-gray) 100%);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.live-chat-trigger:hover {
    -webkit-transform: translate3d(0, -3px, 0);
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 16px 40px rgba(13, 27, 42, 0.35);
}

.live-chat-widget--open .live-chat-trigger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.live-chat-trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.live-chat-trigger-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--dark-gray);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    animation: live-wins-pulse 1.5s ease-in-out infinite;
}

.live-chat-panel {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    width: 380px;
    max-width: calc(100vw - 24px);
    height: 520px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(230, 57, 70, 0.15);
    box-shadow: 0 20px 60px rgba(13, 27, 42, 0.25), 0 0 0 1px rgba(244, 162, 97, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translate3d(0, 16px, 0) scale(0.96);
    transform: translate3d(0, 16px, 0) scale(0.96);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    z-index: calc(var(--chat-z) + 2);
}

.live-chat-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
}

.live-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--dark-gray-2) 0%, var(--dark-gray) 100%);
    color: var(--white);
    flex-shrink: 0;
}

.live-chat-manager {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.live-chat-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

.live-chat-manager-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.live-chat-manager-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.live-chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}

.live-chat-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.live-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.live-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 16px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.live-chat-message {
    max-width: 85%;
    animation: liveChatFadeIn 0.35s ease;
}

.live-chat-message p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.live-chat-message--manager {
    align-self: flex-start;
}

.live-chat-message--manager p {
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.live-chat-message--user {
    align-self: flex-end;
}

.live-chat-message--user p {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.live-chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.live-chat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--medium-gray);
    animation: liveChatTyping 1.2s ease-in-out infinite;
}

.live-chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.live-chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.live-chat-form {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.live-chat-input-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.live-chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-chat-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--dark-gray);
    background: var(--light-gray);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.live-chat-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
    background: var(--white);
}

.live-chat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.live-chat-send:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

@keyframes liveChatFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 8px, 0);
        transform: translate3d(0, 8px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes liveChatTyping {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .live-chat-widget {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: calc(10px + env(safe-area-inset-right, 0px));
    }

    .live-chat-trigger {
        padding: 10px 14px 10px 10px;
        font-size: 13px;
    }

    .live-chat-trigger-icon {
        width: 32px;
        height: 32px;
    }

    .live-chat-panel {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: min(85vh, 620px);
        height: min(85dvh, 620px);
        max-height: 85vh;
        max-height: 85dvh;
        border-radius: 20px 20px 0 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    .live-chat-panel.open {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .live-chat-message p {
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .live-chat-widget {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        right: calc(24px + env(safe-area-inset-right, 0px));
    }

    .live-chat-panel {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        right: calc(24px + env(safe-area-inset-right, 0px));
    }
}

