/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, rgb(2, 46, 3) 0%, rgb(4, 88, 4) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: rgb(2, 46, 3);
    padding: 0.5rem 1rem;
}

.header-nav {
    background-color: rgb(4, 88, 4);
    padding: 0.75rem 1rem;
    overflow: hidden;
}

.header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav .header-container {
    width: 100% !important;
    height: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.header-nav .header-container::-webkit-scrollbar {
    height: 4px;
}

.header-nav .header-container::-webkit-scrollbar-track {
    background: transparent;
}

.header-nav .header-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.header-nav .header-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Smooth scrolling for nav menu */
.nav-menu {
    scroll-behavior: smooth;
}

.logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: none;
    flex: 1;
    justify-content: center;
    gap: 2rem;
    margin: 0 2rem;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    width: max-content;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-login,
.btn-join {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
}

.btn-login:hover {
    background-color: #fff;
    color: rgb(2, 46, 3);
    transform: translateY(-2px);
}

.btn-join {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.mobile-toggle {
    display: block;
    background: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgb(2, 46, 3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    padding: 1rem;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    color: #fff;
    padding: 0.75rem;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(2, 46, 3, 0.8), rgba(4, 88, 4, 0.8));
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 3;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: rgb(2, 46, 3);
    transform: translateY(-3px);
}

/* Main Content */
.main-content {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: rgb(2, 46, 3);
    text-align: center;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: rgb(2, 46, 3);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-link {
    color: rgb(4, 88, 4);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: rgb(2, 46, 3);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: rgb(2, 46, 3);
    color: #fff;
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(4, 88, 4, 0.05);
}

/* FAQ Section */
.faq-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: rgb(2, 46, 3);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: rgb(2, 46, 3);
    color: #fff;
    padding: 2rem 1rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.payment-icon {
    font-size: 2rem;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.header-nav {
    display: none;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header-top {
        padding: 0.75rem 2rem;
    }

    .header-nav {
        display: block;
    }
    
    .header-nav {
        padding: 1rem 2rem;
    }
    
    .logo {
        height: 45px;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .header-buttons {
        gap: 1rem;
    }
    
    .btn-login,
    .btn-join {
        padding: 0.75rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        gap: 1.5rem;
    }
    
    .main-content {
        padding: 3rem 2rem;
    }
    
    .content-section h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

/* Laptop Styles */
@media (min-width: 1024px) {
    .logo {
        height: 50px;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .main-content {
        padding: 4rem 2rem;
    }
    
    .content-section h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1790px) {
    .header-nav .header-container {
     overflow: visible !important;
    }
}

/* Desktop Styles */
@media (min-width: 1280px) {
    
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .main-content {
        padding: 5rem 0;
    }
    
    .features-grid {
        gap: 3rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-video,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .main-content {
        padding: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .feature-card {
        border: 2px solid #000;
    }
}

/* Special styles for specific pages */
.page-promotions .feature-card {
    border-left: 4px solid #FFD700;
}

.page-games .feature-card {
    border-left: 4px solid rgb(4, 88, 4);
}

.page-sports .feature-card {
    border-left: 4px solid #FF6B35;
}

.page-vip .feature-card {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.page-vip .feature-card h3 {
    color: #000;
}

/* Mobile icon styles for header buttons */
@media (max-width: 460px) {
    .btn-login .btn-text,
    .btn-join .btn-text {
        display: none;
    }
    
    .btn-login,
    .btn-join {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        padding: 0;
    }
} 

.features-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-flex .feature-card img {
    height: unset !important;
}
