/* Reset and Base Styles */
* {
    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, #0f1419 0%, #1a2332 50%, #2d3748 100%);
    min-height: 100vh;
}

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

/* Header Styles - Точно такие же как на главной */
.main-header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #4299e1;
    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: #4299e1;
    color: white;
}

.dropdown-menu {
    position: relative;
}

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

/* Active dropdown state - only shows when clicked */
.dropdown-menu.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

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

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #2d3748;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: rgba(66, 153, 225, 0.3);
    transform: none;
}

.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: #4299e1;
    border: 2px solid #4299e1;
}

.btn-login:hover {
    background: #4299e1;
    color: white;
}

/* Mobile Menu Toggle - Positioned on Right */
.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; /* Ensure it's last in flex order */
}

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

.mobile-menu-toggle:focus {
    outline: none;
    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: #1a2332;
    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 #4299e1;
    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(45, 55, 72, 0.5);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

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

/* Mobile dropdown - closed by default, opens on click */
.nav-menu.mobile-active .dropdown-content {
    position: static;
    display: none; /* Hidden by default on mobile too */
    box-shadow: none;
    background: rgba(45, 55, 72, 0.3);
    margin-top: 5px;
    margin-left: 20px;
    border-radius: 8px;
    opacity: 1;
    transform: none;
    transition: none;
}

/* Show mobile dropdown only when parent has active class */
.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;
}

/* Section Description */
.section-description {
    text-align: center;
    color: #cbd5e0;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sports Hero Section */
.sports-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.sports-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.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;
}

.sports-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(45, 55, 72, 0.6);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

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

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-title {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight-desc {
    color: #cbd5e0;
    font-size: 0.9rem;
}

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

.btn-bet-now {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    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(34, 197, 94, 0.3);
}

.btn-bet-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
}

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

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

.sports-showcase {
    width: 100%;
    max-width: 400px;
}

.live-match {
    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 #22c55e;
}

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

.live-indicator {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.match-time {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.1rem;
}

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

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-name {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.vs {
    color: #a0aec0;
    font-weight: 700;
    font-size: 1.2rem;
}

.match-odds {
    display: flex;
    gap: 10px;
}

.odd-option {
    flex: 1;
    background: rgba(66, 153, 225, 0.2);
    border: 1px solid #4299e1;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.odd-option:hover {
    background: #4299e1;
    transform: translateY(-2px);
}

.odd-label {
    display: block;
    color: #a0aec0;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.odd-value {
    display: block;
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.1rem;
}

.odd-option:hover .odd-label,
.odd-option:hover .odd-value {
    color: white;
}

/* Popular Sports Section */
.popular-sports-section {
    padding: 80px 0;
    background: rgba(26, 35, 50, 0.8);
}

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

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

.sport-card {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.sport-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

.sport-card.featured {
    border-color: #22c55e;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
}

.sport-card.featured::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

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

.sport-card h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

.sport-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.sport-features .feature {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sport-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 4px;
}

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

.sport-btn {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.sport-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 153, 225, 0.3);
}

/* Betting Features Section */
.betting-features-section {
    padding: 80px 0;
    background: rgba(15, 20, 25, 0.9);
}

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

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

.feature-card {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #4299e1;
    box-shadow: 0 15px 35px rgba(66, 153, 225, 0.2);
}

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

.feature-card h3 {
    color: #4299e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* Kenyan Sports Section */
.kenyan-sports-section {
    padding: 80px 0;
}

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

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

.kenyan-sport-item {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 16px;
    padding: 30px;
    border-left: 4px solid #22c55e;
    transition: all 0.3s ease;
}

.kenyan-sport-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

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

.sport-header .sport-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.kenyan-sport-item h3 {
    color: #22c55e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.kenyan-sport-item p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.popular-teams,
.popular-events {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.team,
.event {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.kenyan-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.kenyan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* Betting Markets Section */
.betting-markets-section {
    padding: 80px 0;
    background: rgba(26, 35, 50, 0.8);
}

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

.markets-tabs {
    background: rgba(45, 55, 72, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tabs-header {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    background: rgba(26, 35, 50, 0.6);
    padding: 8px;
    border-radius: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    color: #a0aec0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: fit-content;
}

.tab-button:hover {
    background: rgba(66, 153, 225, 0.2);
    color: #4299e1;
}

.tab-button.active {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    font-size: 0.95rem;
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.market-item {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.market-item:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
}

.market-item h4 {
    color: #22c55e;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.market-item p {
    color: #cbd5e0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.market-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.example-label {
    color: #a0aec0;
    font-size: 0.9rem;
}

.example-odds {
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
}

/* How to Bet Section */
.how-to-bet-section {
    padding: 80px 0;
}

.how-to-bet-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

.step-number {
    background: #4299e1;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

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

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

.step-highlight {
    background: #48bb78;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
}

/* Sports Betting Tips Section */
.betting-tips-section {
    padding: 80px 0;
    background: rgba(26, 35, 50, 0.8);
}

.betting-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: 30px;
}

.tip-card {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tip-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
}

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

.tip-card h3 {
    color: #22c55e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* Responsible Betting Section */
.responsible-betting-section {
    padding: 40px 0;
    background: rgba(239, 68, 68, 0.1);
    border-top: 3px solid #ef4444;
    border-bottom: 3px solid #ef4444;
}

.responsible-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

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

.responsible-text h3 {
    color: #ef4444;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

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

.responsible-text a {
    color: #4299e1;
    text-decoration: none;
}

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

.age-restriction {
    background: #ef4444;
    color: white;
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Footer Styles - Точно такие же как на главной */
.main-footer {
    background: #0f1419;
    padding: 50px 0 20px;
    border-top: 2px solid #4299e1;
}

.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: #4299e1;
    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: #4299e1;
}

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

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

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

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

/* Responsive Design - Точно такие же 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; /* Auth buttons come before hamburger */
    }
    
    .mobile-menu-toggle {
        order: 3; /* Hamburger is last (rightmost) */
    }
    
    .logo-section {
        order: 1;
    }
    
    .site-logo {
        max-width: 180px;
    }
    
    .btn-register, .btn-login {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .sports-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .kenyan-sports-grid {
        grid-template-columns: 1fr;
    }
    
    .markets-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@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;
    }
    
    .sports-highlights {
        gap: 15px;
    }
    
    .highlight-item {
        padding: 12px 15px;
    }
    
    .live-match {
        padding: 20px;
    }
    
    .match-odds {
        gap: 8px;
    }
    
    .odd-option {
        padding: 8px;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .kenyan-sports-grid {
        grid-template-columns: 1fr;
    }
    
    .markets-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .responsible-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .payment-icons {
        gap: 10px;
    }
    
    /* Fixed mobile centering for step items */
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center; /* Centers the step number */
    }
    
    .step-content {
        text-align: center; /* Centers the content text */
    }
    
    .tabs-header {
        justify-content: flex-start;
    }
    
    .tab-button {
        padding: 10px 12px;
        min-width: auto;
    }
    
    .tab-text {
        display: none;
    }
    
    .tab-icon {
        font-size: 1.4rem;
    }
}

@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;
    }
    
    .sports-highlights {
        gap: 10px;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .highlight-icon {
        margin-bottom: 10px;
    }
    
    .live-match {
        padding: 15px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 15px;
    }
    
    .vs {
        transform: rotate(90deg);
    }
    
    .match-odds {
        flex-direction: column;
        gap: 10px;
    }
    
    .odd-option {
        padding: 12px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 15px; /* Add space between number and content */
    }
    
    .nav-menu.mobile-active {
        padding: 15px;
    }
    
    .nav-menu.mobile-active a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .markets-tabs {
        padding: 20px;
    }
    
    .tabs-header {
        padding: 5px;
        gap: 5px;
    }
    
    .tab-button {
        padding: 8px 10px;
    }
}

@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;
    }
    
    .live-match {
        padding: 12px;
    }
    
    .team-score {
        font-size: 1.5rem;
    }
    
    .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;
    }
    
    .markets-tabs {
        padding: 15px;
    }
    
    .tab-button {
        padding: 6px 8px;
    }
    
    /* Ensure mobile centering is maintained at smallest breakpoint */
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 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;
    }
}
