/* Premium LottoBoomaroo - Modern Luxury Design */

/* CSS Variables */
:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary: #F59E0B;
    --secondary-dark: #D97706;
    --accent: #10B981;
    --accent-dark: #059669;
    
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #FFFFFF;
    --gray: #F8FAFC;
    --gray-dark: #64748B;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--primary));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Particles Background */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 4s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 8s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 12s; }
.particle:nth-child(5) { top: 40%; left: 90%; animation-delay: 16s; }
.particle:nth-child(6) { top: 90%; left: 40%; animation-delay: 20s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0.3; }
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-glow, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-glow {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: var(--shadow-glow);
    border: 2px solid var(--primary);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--gray-dark);
}

.btn-outline:hover {
    background: var(--gray-dark);
    border-color: var(--light);
}

.btn-hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Header */
.main-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-glow {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.logo-glow:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

.nav-link.active {
    background: var(--primary);
    color: var(--light);
}

.nav-icon {
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.6s;
}

.countdown-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.8s;
}

.countdown-title {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.time-block {
    text-align: center;
    background: rgba(139, 92, 246, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    min-width: 100px;
    transition: var(--transition);
}

.time-block:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.time-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.time-label {
    font-size: 0.9rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-separator {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 1s;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 0.8s ease forwards 1.2s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lottery-balls {
    position: relative;
    width: 300px;
    height: 300px;
}

.ball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light);
    box-shadow: var(--shadow-lg);
    animation: floatBall 6s ease-in-out infinite;
}

.ball-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.ball-2 { top: 20%; right: 0; animation-delay: 1s; }
.ball-3 { bottom: 20%; right: 0; animation-delay: 2s; }
.ball-4 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 3s; }
.ball-5 { top: 20%; left: 0; animation-delay: 4s; }

@keyframes floatBall {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--gray);
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover .feature-glow {
    opacity: 0.05;
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    background: var(--dark);
}

.games-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--light);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.tab-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Forms */
.game-form {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.label-icon {
    font-size: 1.2rem;
}

.form-select {
    padding: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    background: rgba(15, 23, 42, 0.8);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.radio-option:hover, .checkbox-option:hover {
    color: var(--primary-light);
}

.radio-custom, .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.checkbox-custom {
    border-radius: 4px;
}

.radio-option input:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-option input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--light);
    border-radius: 50%;
}

.checkbox-option input:checked + .checkbox-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.checkbox-option input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--light);
    font-size: 12px;
    font-weight: bold;
}

.radio-option input, .checkbox-option input {
    display: none;
}

.radio-text, .checkbox-text {
    font-weight: 500;
}

.form-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.total-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.total-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-add-cart {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Number Grid */
.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.number-btn {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.1);
}

.number-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Syndicate Cards */
.syndicate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.syndicate-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.syndicate-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.syndicate-card.featured {
    border-color: var(--secondary);
    background: rgba(245, 158, 11, 0.05);
}

.syndicate-card.featured:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-badge.premium {
    background: var(--gradient-secondary);
}

.card-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.card-header p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.card-body {
    margin-bottom: 1.5rem;
}

.entry-count {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.odds {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.card-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.card-selector:hover {
    color: var(--primary-light);
}

.selector-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.card-selector input:checked + .selector-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.card-selector input:checked + .selector-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--light);
    border-radius: 50%;
}

.card-selector input {
    display: none;
}

.selector-text {
    font-weight: 500;
}

/* Results Display */
.results-display {
    text-align: center;
}

.results-header {
    margin-bottom: 3rem;
}

.results-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.winning-numbers-display {
    margin-bottom: 3rem;
}

.numbers-title, .bonus-title {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.numbers-grid, .bonus-numbers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.winning-number, .bonus-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light);
    transition: var(--transition);
}

.winning-number {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-lg);
}

.bonus-number {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
}

.winning-number:hover, .bonus-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.jackpot-info {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: inline-block;
}

.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.jackpot-label {
    font-size: 1rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* VIP Section */
.vip-section {
    padding: 6rem 0;
    background: var(--gray);
    color: var(--dark);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.vip-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.vip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.vip-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.vip-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.vip-card:hover .vip-glow {
    opacity: 0.05;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.age-modal-content {
    background: var(--dark-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    margin-bottom: 2rem;
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.modal-body p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--dark-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
}

.cookie-content p {
    flex: 1;
    color: var(--light);
    margin: 0;
}

.btn-accept {
    background: var(--gradient-primary);
    color: var(--light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .time-block {
        min-width: 80px;
        padding: 1rem;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid, .vip-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .syndicate-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .age-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .cookie-notice {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card, .vip-card {
        padding: 2rem;
    }
    
    .game-form {
        padding: 2rem;
    }
    
    .number-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 0.4rem;
    }
    
    .number-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .winning-number, .bonus-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .lottery-balls {
        width: 250px;
        height: 250px;
    }
    
    .ball {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== LEGAL PAGES STYLES ===== */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.legal-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.legal-hero .hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.legal-hero .title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.legal-hero .title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.legal-hero .title-line.highlight {
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.4s;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Table of Contents */
.toc-section {
    padding: 3rem 0;
    background: #F8FAFC;
}

.toc-container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.toc-title {
    text-align: center;
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #0F172A;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

.toc-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.toc-text {
    font-weight: 500;
    font-size: 1rem;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
    background: #F8FAFC;
    min-height: 60vh;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.legal-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.section-header h2 {
    font-size: 1.8rem;
    color: #0F172A;
    margin: 0;
}

.section-badge {
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-content {
    line-height: 1.7;
}

.section-content p {
    color: #64748B;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.section-content h4 {
    color: #0F172A;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.section-content ul {
    color: #64748B;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

/* Info Boxes */
.highlight-box, .warning-box, .success-box, .info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid;
}

.highlight-box {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.success-box {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.info-box {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.highlight-icon, .warning-icon, .success-icon, .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h4, .warning-content h4, .success-content h4, .info-content h4 {
    color: #0F172A;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-content p, .warning-content p, .success-content p, .info-content p {
    color: #64748B;
    margin: 0;
    font-size: 0.95rem;
}

/* Data Categories */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-item {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-content h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.category-content ul {
    color: #64748B;
    margin: 0;
    padding-left: 1.2rem;
}

.category-content li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.usage-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}

.usage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usage-item h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.usage-item p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sharing Details */
.sharing-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.sharing-item {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.sharing-item h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sharing-item p {
    color: #64748B;
    margin: 0;
    font-size: 0.95rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}

.security-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-item h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.security-item p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}

.right-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.right-item h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.right-item p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cookies Categories */
.cookies-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-category {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.cookie-category h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.contact-content h4 {
    color: #0F172A;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-content p {
    color: #64748B;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-content a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
}

.contact-content a:hover {
    text-decoration: underline;
}

.contact-note {
    color: #94A3B8;
    font-size: 0.8rem;
    font-style: italic;
}

/* Liability Box */
.liability-box {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.liability-box h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.liability-box ul {
    color: #64748B;
    margin: 0;
    padding-left: 1.5rem;
}

.liability-box li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Disclaimer Box */
.disclaimer-box {
    display: flex;
    gap: 1rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.disclaimer-icon {
    font-size: 1.5rem;
    color: #F59E0B;
    flex-shrink: 0;
}

.disclaimer-content h4 {
    color: #0F172A;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.disclaimer-content p {
    color: #64748B;
    margin: 0;
    font-size: 0.95rem;
}

/* Termination Details */
.termination-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.termination-item {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.termination-item h4 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.termination-item ul {
    color: #64748B;
    margin: 0;
    padding-left: 1.2rem;
}

.termination-item li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar-header h3 {
    font-size: 1.3rem;
    color: #0F172A;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-header p {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #0F172A;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.link-icon {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-sidebar {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.sidebar-documents {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #0F172A;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.document-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.document-icon {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.document-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== BASKET PAGE STYLES ===== */

/* Basket Hero Section */
.basket-hero {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.basket-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.basket-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.basket-hero .hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.basket-hero .title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.basket-hero .title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.basket-hero .title-line.highlight {
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.basket-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    margin-bottom: 0;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.4s;
}

/* Basket Section */
.basket-section {
    padding: 4rem 0;
    background: #F8FAFC;
    min-height: 60vh;
}

.basket-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Cart Items */
.cart-items {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

/* Cart Item */
.cart-item {
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cart-item:hover::before {
    opacity: 1;
}

.cart-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.item-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.type-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.type-label {
    font-weight: 600;
    color: #0F172A;
    font-size: 1.1rem;
}

.remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.remove-icon {
    font-size: 1rem;
    color: #EF4444;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.game-info {
    flex: 1;
}

.game-numbers {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.game-numbers .number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F59E0B, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-numbers .number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.4);
}

.game-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.syndicate-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.syndicate-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.syndicate-badge.premium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.syndicate-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    color: #64748B;
    font-size: 0.9rem;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: #64748B;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #94A3B8;
    margin-bottom: 2rem;
}

/* Order Summary */
.order-summary {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: sticky;
    top: 2rem;
}

.summary-header {
    text-align: center;
    margin-bottom: 2rem;
}

.summary-header h3 {
    font-size: 1.8rem;
    color: #0F172A;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-header p {
    color: #64748B;
    font-size: 1rem;
}

.summary-items {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-label {
    color: #64748B;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #0F172A;
}

.summary-value.discount {
    color: #10B981;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 1rem 0;
}

.summary-row.total {
    border-top: 2px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.summary-row.total .summary-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
}

.summary-row.total .summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-checkout {
    width: 100%;
    justify-content: center;
    padding: 1.25rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.summary-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.2rem;
}

.benefit-text {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

/* VIP Benefits Section */
.vip-benefits {
    padding: 4rem 0;
    background: #0F172A;
    color: #FFFFFF;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.benefit-card p {
    color: #94A3B8;
    line-height: 1.6;
}

.benefit-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.benefit-card:hover .benefit-glow {
    opacity: 1;
}

/* Additional Animations */
@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes numberBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Loading States */
.cart-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.cart-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Hover Effects */
.cart-item:hover .game-numbers .number {
    animation: numberBounce 0.6s ease-out;
}

.benefit-card:hover .benefit-icon {
    animation: iconPulse 1s ease-out;
}

/* Responsive Design for Legal and Basket Pages */
@media (max-width: 1024px) {
    .content-layout, .basket-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar, .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .legal-hero .hero-title, .basket-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .legal-section, .cart-items, .order-summary {
        padding: 2rem;
    }

    
    .item-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .game-numbers {
        justify-content: center;
    }
    
    .game-meta {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .data-categories, .usage-grid, .security-grid, .rights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-hero, .basket-hero {
        padding: 6rem 0 3rem;
    }
    
    .legal-hero .hero-title, .basket-hero .hero-title {
        font-size: 2rem;
    }
    
    .legal-section, .cart-items, .order-summary {
        padding: 1.5rem;
    }
    
    .section-header h2, .summary-header h3 {
        font-size: 1.5rem;
    }
    
    .game-numbers .number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .meta-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .toc-container {
        padding: 1.5rem;
    }
    
    .toc-title {
        font-size: 1.5rem;
    }
}

/* Ultra-small screen responsive design for basket (87-170px) */
@media (max-width: 170px) {
    /* Prevent horizontal scroll on ultra-small screens */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
        width: 100%;
    }
    
    .container {
        padding: 0 0.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Force all sections to respect container width */
    .basket-hero,
    .basket-section,
    .cart-items,
    .order-summary {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Ensure grid layout doesn't exceed screen width */
    .basket-layout {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Fix particles background width */
    .particles-bg {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix main header and footer width */
    .main-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .main-footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix notification width for ultra-small screens */
    .notification {
        min-width: auto !important;
        max-width: 100% !important;
        width: calc(100% - 1rem) !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        transform: none !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .basket-hero {
        padding: 3rem 0 2rem;
    }
    
    .basket-hero .hero-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .basket-hero .title-line {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .basket-hero .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .basket-section {
        padding: 2rem 0;
    }
    
    .basket-layout {
        gap: 1.5rem;
    }
    
    .cart-items {
        padding: 1rem;
        border-radius: 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .section-header p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-clear-cart, .btn-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        width: 100%;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        word-wrap: break-word;
    }
    
    .btn-icon {
        font-size: 0.9rem;
    }
    
    .cart-item {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .item-type {
        gap: 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .type-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .type-label {
        font-size: 1rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .remove-btn {
        padding: 0.4rem;
        border-radius: 6px;
    }
    
    .item-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-info h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .game-numbers {
        justify-content: center;
        gap: 0.5rem;
        margin: 0.75rem 0;
    }
    
    .game-numbers .number {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        border-radius: 50%;
    }
    
    .game-meta {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .meta-item {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .syndicate-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .syndicate-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .syndicate-details {
        gap: 0.5rem;
        justify-content: center;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .detail-item {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .item-price {
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        margin-top: 0.75rem;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .empty-cart-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .empty-cart h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .empty-cart p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .order-summary {
        padding: 1rem;
        border-radius: 12px;
        position: static;
        order: -1;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .summary-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .summary-header p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .summary-content {
        margin-bottom: 1.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .summary-row {
        padding: 0.5rem 0;
        font-size: 0.9rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .summary-label {
        font-size: 0.9rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .summary-value {
        font-size: 0.9rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .summary-row.total {
        font-size: 1rem;
        font-weight: 700;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .summary-actions {
        margin-bottom: 1.5rem;
    }
    
    .btn-checkout {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .checkout-note {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .vip-benefits {
        margin-top: 1.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .vip-benefits h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .benefits-list {
        gap: 0.75rem;
    }
    
    .benefits-list li {
        font-size: 0.8rem;
        padding-left: 1.5rem;
        line-height: 1.4;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .benefits-list li::before {
        left: 0;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    /* Header adjustments for ultra-small screens */
    .header-container {
        padding: 0.75rem 0.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .logo-glow {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-main {
        font-size: 0.9rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .logo-sub {
        font-size: 0.7rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .main-nav {
        gap: 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.8rem;
        max-width: 100%;
        overflow-x: hidden;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .nav-icon {
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .nav-text {
        display: none;
    }
    
    .cart-counter {
        top: -4px;
        right: -4px;
        font-size: 8px;
        padding: 1px 4px;
        min-width: 14px;
    }
    
    /* Footer adjustments for ultra-small screens */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo-main {
        font-size: 0.9rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .footer-logo-sub {
        font-size: 0.7rem;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .footer-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul {
        gap: 0.5rem;
    }
    
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom p, .footer-bottom a {
        font-size: 0.7rem;
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--light);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.notification-success {
    border-left: 4px solid var(--accent);
}

.notification-info {
    border-left: 4px solid var(--secondary);
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-message {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Cart Counter */
.cart-counter {
    background: var(--accent);
    color: var(--light);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: numberBounce 0.3s ease-out;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-clear-cart {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-clear-cart:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-cart h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-cart p {
    color: var(--light);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Summary Content */
.summary-content {
    margin-bottom: 2rem;
}

.checkout-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--light);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: var(--light);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Fix notification width for ultra-small screens */
.notification {
    min-width: auto !important;
    max-width: 100% !important;
    width: calc(100% - 1rem) !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    transform: none !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Override any fixed widths that could cause overflow */
.cart-item .game-numbers .number {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
}

.cart-item .type-icon {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

.cart-item .remove-btn {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

.cart-item .syndicate-badge {
    width: auto !important;
    min-width: auto !important;
    max-width: 100% !important;
}

.cart-item .meta-item {
    width: auto !important;
    min-width: auto !important;
    max-width: 100% !important;
}

/* Ensure all flex items can shrink properly */
.cart-item * {
    flex-shrink: 1;
}

.cart-item .item-header,
.cart-item .item-details,
.cart-item .game-info,
.cart-item .game-meta,
.cart-item .syndicate-info {
    min-width: 0;
    flex-basis: auto;
}

/* Additional overrides to prevent any overflow */
.basket-section *,
.cart-items *,
.order-summary * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Force single column layout and prevent grid overflow */
.basket-layout {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    grid-auto-flow: unset !important;
}

/* Ensure cart items and order summary stack vertically */
.cart-items,
.order-summary {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
    float: none !important;
    clear: both !important;
}

/* Override any potential absolute positioning */
.order-summary {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Ensure all text elements wrap properly */
.cart-items *,
.order-summary * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* Override any potential min-width constraints */
.cart-items,
.order-summary,
.cart-item,
.summary-content,
.vip-benefits {
    min-width: 0 !important;
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.mobile-nav-toggle:hover {
    background: rgba(139, 92, 246, 0.1);
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-menu.active {
    left: 0;
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFFFFF;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #A78BFA;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.mobile-nav-link.active {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.3);
}

.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #F59E0B;
    border-radius: 50%;
    animation: activeIndicator 0.3s ease-out;
}

/* Mobile Navigation Icons and Text */
.mobile-nav-icon {
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.mobile-nav-link:hover .mobile-nav-icon {
    transform: scale(1.2) rotate(5deg);
}

.mobile-nav-text {
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
}

.mobile-nav-link:hover .mobile-nav-text {
    transform: translateX(3px);
}

/* Mobile Cart Counter */
.mobile-nav-counter {
    background: var(--accent, #10B981);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
    animation: numberBounce 0.3s ease-out;
}

/* Body State for Mobile Menu */
body.mobile-menu-open {
    overflow: hidden;
}

/* Mobile Menu Overlay */
.mobile-nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Mobile Menu Animation */
@keyframes mobileMenuSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-menu.active .mobile-nav-link {
    animation: mobileMenuSlideIn 0.4s ease-out forwards;
}

.mobile-nav-menu.active .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-menu.active .mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-menu.active .mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-menu.active .mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-menu.active .mobile-nav-link:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Mobile Navigation */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-container {
        padding: 5rem 1.5rem 2rem;
    }
    
    .mobile-nav-link {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .mobile-nav-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .mobile-nav-container {
        padding: 4rem 1rem 2rem;
        max-width: 100%;
    }
    
    .mobile-nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-nav-icon {
        font-size: 1.1rem;
    }
    
    .mobile-nav-toggle span {
        width: 22px;
        height: 2.5px;
    }
}

@media (max-width: 170px) {
    .mobile-nav-toggle {
        padding: 0.3rem !important;
    }
    
    .mobile-nav-toggle span {
        width: 18px !important;
        height: 2px !important;
    }
    
    .mobile-nav-container {
        padding: 3rem 0.5rem 1rem !important;
    }
    
    .mobile-nav-link {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .mobile-nav-icon {
        font-size: 1rem !important;
    }
    
    .mobile-nav-text {
        font-size: 0.85rem !important;
    }
    
    .mobile-nav-counter {
        font-size: 10px !important;
        padding: 2px 6px !important;
        min-width: 16px !important;
    }
}

/* ========================================
   LOGO LINK STYLES
   ======================================== */

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 0.5rem;
}

.logo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.logo-link:hover .logo {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.logo-link:hover .site-title {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.logo-link .logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link .site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light);
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for logo link */
@media (max-width: 768px) {
    .logo-link {
        gap: 0.75rem;
        padding: 0.375rem;
    }
    
    .logo-link .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-link .site-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-link {
        gap: 0.5rem;
        padding: 0.25rem;
    }
    
    .logo-link .logo {
        width: 36px;
        height: 36px;
    }
    
    .logo-link .site-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 170px) {
    .logo-link {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.125rem;
        text-align: center;
    }
    
    .logo-link .logo {
        width: 32px;
        height: 32px;
    }
    
    .logo-link .site-title {
        font-size: 1rem;
        line-height: 1.2;
    }
}