/* ========== 1. GLOBAL RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #1e40af 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ========== 2. HEADER ========== */
.main-header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #3b82f6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    position: relative;
}

.logo-section {
    flex-shrink: 0;
}

.site-logo {
    max-width: 208px;
    height: auto;
    transition: all 0.3s ease;
}

.primary-navigation {
    flex: 1;
    margin: 0 30px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #3b82f6;
    color: white;
}

/* Current page styling */
.nav-menu li:not(:has(a)) {
    background: #fbbf24;
    color: #1a202c;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: default;
}

.dropdown-menu {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e3a8a;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 8px;
    display: none;
    list-style: none;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    border-bottom: 1px solid #1e40af;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: rgba(59, 130, 246, 0.3);
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

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

.btn-register, .btn-login {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-register {
    background: #48bb78;
    color: white;
}

.btn-register:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-login:hover {
    background: #3b82f6;
    color: white;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
    flex-shrink: 0;
    order: 3;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu styles */
.nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    background: #1e3a8a;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 2px solid #3b82f6;
    animation: slideDown 0.3s ease;
}

.nav-menu.mobile-active li {
    width: 100%;
    margin-bottom: 5px;
}

.nav-menu.mobile-active a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(30, 64, 175, 0.5);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-menu.mobile-active a:hover {
    background: #3b82f6;
    transform: translateX(5px);
}

.nav-menu.mobile-active .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(30, 64, 175, 0.3);
    margin-top: 5px;
    margin-left: 20px;
    border-radius: 8px;
    opacity: 1;
    transform: none;
    transition: none;
}

.nav-menu.mobile-active .dropdown-menu.active .dropdown-content {
    display: block;
}

.nav-menu.mobile-active .dropdown-content a {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ========== 3. VIRTUAL SPORTS HERO SECTION ========== */
.virtual-sports-hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #1e40af 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-sports {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sport-icon {
    position: absolute;
    font-size: 2.5rem;
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.sport-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.sport-icon:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

.sport-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.sport-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

.sport-icon:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

.virtual-sports-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    color: #cbd5e0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.virtual-sports-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #60a5fa;
    margin-bottom: 5px;
}

.stat-label {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.hero-cta {
    text-align: center;
}

.btn-play-virtual {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-play-virtual:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.virtual-note {
    color: #a0aec0;
    font-weight: 600;
    margin-top: 15px;
    font-size: 1rem;
}

/* Hero Visual - Match Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.virtual-match-preview {
    width: 100%;
    max-width: 400px;
}

.match-screen {
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid #3b82f6;
    position: relative;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-time {
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.match-title {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.teams-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-name {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.team-score {
    font-size: 2rem;
    font-weight: 900;
    color: #60a5fa;
}

.vs-separator {
    color: #a0aec0;
    font-weight: 600;
    margin: 0 15px;
}

.match-progress {
    margin-bottom: 20px;
}

.progress-bar {
    background: #374151;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    background: #60a5fa;
    height: 100%;
    width: 78%;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.match-minute {
    text-align: center;
    color: #60a5fa;
    font-weight: 600;
}

.bet-options {
    display: flex;
    gap: 8px;
}

.bet-btn {
    flex: 1;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.bet-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* ========== 4. VIRTUAL SPORTS CATEGORIES ========== */
.virtual-sports-categories {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.8);
}

.virtual-sports-categories h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 2.5rem;
}

.category-header h3 {
    color: #e2e8f0;
    font-size: 1.5rem;
}

.category-content p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-features {
    margin-bottom: 20px;
}

.feature {
    color: #60a5fa;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.betting-markets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.market-tag {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== 5. LIVE VIRTUAL MATCHES ========== */
.live-virtual-matches {
    padding: 80px 0;
    background: rgba(10, 22, 40, 0.9);
}

.live-virtual-matches h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.match-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.2);
}

.match-type {
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team, .draw {
    text-align: center;
    flex: 1;
}

.team-name, .draw-label {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.team-odds, .draw-odds {
    background: #60a5fa;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.race-info {
    margin-bottom: 20px;
}

.race-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.race-name {
    color: #e2e8f0;
    font-weight: 600;
}

.race-distance {
    color: #a0aec0;
    font-size: 0.9rem;
}

.favorites {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horse, .dog, .driver {
    display: flex;
    justify-content: space-between;
    color: #cbd5e0;
    font-size: 0.9rem;
}

.odds {
    background: #60a5fa;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.spread {
    text-align: center;
    flex: 1;
}

.spread-label {
    color: #e2e8f0;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.spread-value {
    background: #60a5fa;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-match {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.9rem;
}

.bet-now-btn {
    background: #22c55e;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.bet-now-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.driver {
    display: flex;
    justify-content: space-between;
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* ========== 6. HOW VIRTUAL WORKS ========== */
.how-virtual-works-section {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.8);
}

.how-virtual-works-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.virtual-mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mechanic-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mechanic-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.mechanic-content h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.mechanic-content p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* ========== 7. VIRTUAL SPORTS TIPS ========== */
.virtual-sports-tips-section {
    padding: 80px 0;
    background: rgba(10, 22, 40, 0.9);
}

.virtual-sports-tips-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tip-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-left: 4px solid #60a5fa;
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.2);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tip-card h4 {
    color: #60a5fa;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.tip-card p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* ========== 8. VIRTUAL ADVANTAGES ========== */
.virtual-advantages-section {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.8);
}

.virtual-advantages-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 15px 35px rgba(96, 165, 250, 0.2);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-card h3 {
    color: #60a5fa;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.advantage-card p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* ========== 9. PROMO CODE SECTION ========== */
.promo-code-section {
    padding: 80px 0;
    background: rgba(10, 22, 40, 0.9);
}

.promo-code-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.promo-code-container {
    max-width: 800px;
    margin: 0 auto;
}

.promo-code-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px solid #60a5fa;
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
}

.promo-code-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.promo-code-header h3 {
    color: #e2e8f0;
    font-size: 1.5rem;
}

.promo-code-text {
    background: #60a5fa;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-family: monospace;
}

.copy-btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.promo-benefits {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #60a5fa;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.benefit-content p {
    color: #cbd5e0;
    line-height: 1.6;
}

.btn-claim-promo {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.btn-claim-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
}

/* ========== 10. RESPONSIBLE GAMING NOTICE ========== */
.responsible-gaming-notice {
    padding: 40px 0;
    background: rgba(239, 68, 68, 0.1);
    border-top: 3px solid #ef4444;
    border-bottom: 3px solid #ef4444;
}

.notice-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.notice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notice-text {
    color: #cbd5e0;
    line-height: 1.6;
}

.notice-text a {
    color: #3b82f6;
    text-decoration: none;
}

.notice-text a:hover {
    text-decoration: underline;
}

.age-restriction {
    background: #ef4444;
    color: white;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== 11. FOOTER ========== */
.main-footer {
    background: #0a1628;
    padding: 50px 0 20px;
    border-top: 2px solid #3b82f6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.payment-methods {
    text-align: center;
    margin-bottom: 40px;
}

.payment-methods h3 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-icons img {
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.payment-icons img:hover {
    filter: grayscale(0);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #3b82f6;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e40af;
    color: #718096;
}

.active-link {color: yellow}

/* ========== 12. ANIMATIONS ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 13. RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1080px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .primary-navigation {
        position: relative;
        margin: 0;
        order: 2;
    }
    
    .auth-buttons {
        flex-direction: row;
        gap: 8px;
        order: 2;
    }
    
    .mobile-menu-toggle {
        order: 3;
    }
    
    .logo-section {
        order: 1;
    }
    
    .site-logo {
        max-width: 180px;
    }
    
    .btn-register, .btn-login {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .virtual-sports-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .virtual-mechanics {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
    
    .btn-register, .btn-login {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .auth-buttons {
        gap: 6px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .virtual-sports-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .match-screen {
        padding: 20px;
    }
    
    .multiplier-value {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .virtual-mechanics {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .payment-icons {
        gap: 10px;
    }
    
    .mechanic-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-code-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .race-details {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
    }
    
    .site-logo {
        max-width: 120px;
    }
    
    .btn-register, .btn-login {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .auth-buttons {
        gap: 4px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.5rem;
        padding: 6px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .virtual-sports-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .match-screen {
        padding: 15px;
    }
    
    .bet-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-menu.mobile-active {
        padding: 15px;
    }
    
    .nav-menu.mobile-active a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .site-logo {
        max-width: 100px;
    }
    
    .btn-register, .btn-login {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .match-screen {
        padding: 12px;
    }
    
    .multiplier-value {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
        padding: 5px;
    }
    
    .nav-menu.mobile-active {
        padding: 10px;
    }
    
    .nav-menu.mobile-active a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Menu Animation */
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.nav-menu.mobile-closing {
    animation: slideUp 0.3s ease forwards;
}

/* Smooth transitions for responsive elements */
@media (prefers-reduced-motion: no-preference) {
    .site-logo,
    .btn-register,
    .btn-login,
    .auth-buttons {
        transition: all 0.3s ease;
    }
}

