/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #E5E5E5;
    background-color: #0F0F0F;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #B0B0B0;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #C9A23F;
    color: #0F0F0F;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #E5B84F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 63, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #C9A23F;
    padding: 12px 24px;
    text-decoration: none;
    border: 2px solid #C9A23F;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #C9A23F;
    color: #0F0F0F;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #1A1A1A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: #E5E5E5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #C9A23F;
}

/* Desktop Auth Buttons */
.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

.nav-auth-btn {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.login-btn {
    color: #E5E5E5;
    border: 1px solid #E5E5E5;
    background: transparent;
}

.login-btn:hover {
    color: #C9A23F;
    border-color: #C9A23F;
}

.register-btn {
    background: #C9A23F;
    color: #0F0F0F;
    border: 1px solid #C9A23F;
}

.register-btn:hover {
    background: #E5B84F;
    border-color: #E5B84F;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 162, 63, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #E5E5E5;
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 1px;
}

.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 2rem 4rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

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

.nav-mobile-list li {
    margin-bottom: 2rem;
}

.nav-mobile-link {
    text-decoration: none;
    color: #E5E5E5;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile-link:hover {
    color: #C9A23F;
}

/* Mobile Auth Buttons */
.nav-mobile-auth {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.nav-mobile-auth-btn {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    flex: 1;
    max-width: 180px;
    text-align: center;
}

.nav-mobile-auth .login-btn {
    color: #E5E5E5;
    border: 2px solid #E5E5E5;
    background: transparent;
}

.nav-mobile-auth .login-btn:hover {
    color: #C9A23F;
    border-color: #C9A23F;
    background: rgba(201, 162, 63, 0.1);
}

.nav-mobile-auth .register-btn {
    background: #C9A23F;
    color: #0F0F0F;
    border: 2px solid #C9A23F;
}

.nav-mobile-auth .register-btn:hover {
    background: #E5B84F;
    border-color: #E5B84F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 63, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 8rem 0 4rem 0;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(15, 15, 15, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-cta {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-browse {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    background: transparent;
    border: 2px solid #C9A23F;
    color: #C9A23F;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-browse:hover {
    background: #C9A23F;
    color: #0F0F0F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 63, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games {
    padding: 3rem 0;
    background-color: #1A1A1A;
}

.section-header {
    margin-bottom: 4rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
}

.game-card {
    width: 100%;
    aspect-ratio: 1;
    max-width: 210px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #C9A23F;
}

.game-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.game-card:hover img {
    transform: scale(1.05);
}

/* Bonuses Section */
.bonuses {
    padding: 3rem 0;
    background-color: #0F0F0F;
}

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

.bonus-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #1A1A1A;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #C9A23F;
}

.bonus-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.bonus-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.bonus-description {
    color: #B0B0B0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* SEO Content Section */
.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-text {
    text-align: left;
}

.seo-text h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.seo-text p {
    color: #B0B0B0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.seo-text .btn-primary,
.seo-text .btn-secondary {
    margin: 1.5rem 0;
    display: inline-block;
}

/* Other Casinos Section */
.other-casinos {
    padding: 4rem 0;
    background-color: #1A1A1A;
}

.casinos-content {
    max-width: 1000px;
    margin: 0 auto;
}

.casinos-text {
    text-align: left;
}

.casinos-text h3 {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
}

.casinos-text p {
    color: #B0B0B0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.casino-item {
    background: #2A2A2A;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.casino-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #C9A23F;
}

.casino-item h4 {
    color: #C9A23F;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.casino-item p {
    color: #E5E5E5;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.casino-item strong {
    color: #C9A23F;
    font-weight: 600;
}

.casino-item a {
    color: #C9A23F;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.casino-item a:hover {
    color: #E5B84F;
    border-bottom: 1px solid #E5B84F;
    text-shadow: 0 0 5px rgba(201, 162, 63, 0.5);
}

.casinos-text .btn-secondary {
    margin-top: 2rem;
    display: inline-block;
}

/* FAQ Section */
.faq {
    padding: 3rem 0;
    background-color: #1A1A1A;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #2A2A2A;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #E5E5E5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #333;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #B0B0B0;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #0A0A0A;
    color: #E5E5E5;
    padding: 2rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-link {
    color: #E5E5E5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #C9A23F;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(229, 229, 229, 0.7);
    font-size: 0.9rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .title-main {
        font-size: 5rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 1.5rem;
    }
    
    .hero-cta {
        gap: 1.5rem;
    }
    
    .hero-features {
        gap: 3rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Hero Styles */
    .hero {
        min-height: 60vh;
        padding: 6rem 0 2rem 0;
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta,
    .hero-browse {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Casinos Section */
    .casinos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .casino-item {
        padding: 1.5rem;
    }
    
    .casino-item h4 {
        font-size: 1.2rem;
    }
    
    .casinos-text h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .game-card {
        width: 100%;
        aspect-ratio: 1;
        max-width: none;
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #C9A23F;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #0F0F0F;
    }
    
    .game-card {
        border: 2px solid #C9A23F;
    }
    
    .bonus-card {
        border: 2px solid #C9A23F;
    }
    
    .faq-item {
        border: 2px solid #C9A23F;
    }
}
