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

/* Image Constraints */
img {
    max-width: 100%;
    height: auto;
}

/* Image Constraints - Apply to all images in sections except logos and testimonials */
section img:not(.logo-img):not(.casino-logo):not(.testimonial-photo):not(.gallery-item img) {
    max-width: 800px;
    max-height: 700px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    section img:not(.logo-img):not(.casino-logo):not(.testimonial-photo):not(.gallery-item img) {
        max-width: 100%;
        max-height: 500px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e1e5e9;
    background: #0b0b0c;
    background-image: linear-gradient(135deg, #0b0b0c 0%, #1a1a1d 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 12, 0.98);
    border-bottom: 1px solid rgba(225, 229, 233, 0.1);
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e1e5e9;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #43ab7b, #dccb96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: #e1e5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #43ab7b;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-play {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #43ab7b, #dccb96);
    color: #0b0b0c;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 171, 123, 0.3);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: rgba(11, 11, 12, 0.5);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #43ab7b, #dccb96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #b8c1cc;
    line-height: 1.7;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #8b949e;
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #43ab7b;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #43ab7b, #dccb96);
    color: #0b0b0c;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(67, 171, 123, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(225, 229, 233, 0.1);
    color: #e1e5e9;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(67, 171, 123, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(67, 171, 123, 0.1);
    border-color: #43ab7b;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #43ab7b, #dccb96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    font-size: 1.25rem;
    color: #8b949e;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(225, 229, 233, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(225, 229, 233, 0.1);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(225, 229, 233, 0.08);
    border-color: rgba(67, 171, 123, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e1e5e9;
}

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

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

.casino-card {
    background: rgba(225, 229, 233, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(225, 229, 233, 0.1);
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 171, 123, 0.3);
}

.casino-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(225, 229, 233, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(225, 229, 233, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: #e1e5e9;
    display: block;
}

.testimonial-location {
    font-size: 0.875rem;
    color: #8b949e;
}

.testimonial-text {
    color: #b8c1cc;
    line-height: 1.6;
    font-style: italic;
}

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

.faq-item {
    background: rgba(225, 229, 233, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(225, 229, 233, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #e1e5e9;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(225, 229, 233, 0.08);
}

.faq-toggle {
    font-size: 1.5rem;
    color: #43ab7b;
    transition: transform 0.2s ease;
    will-change: transform;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #8b949e;
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(225, 229, 233, 0.05);
    border: 1px solid rgba(225, 229, 233, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    aspect-ratio: 16 / 9;
    will-change: transform;
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: rgba(67, 171, 123, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.2s ease;
    will-change: transform;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: rgba(11, 11, 12, 0.95);
    border-top: 1px solid rgba(225, 229, 233, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #e1e5e9;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #43ab7b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(225, 229, 233, 0.1);
    color: #8b949e;
    font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: rgba(11, 11, 12, 0.5);
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item {
    color: #8b949e;
}

.breadcrumb-item a {
    color: #43ab7b;
    text-decoration: none;
}

.breadcrumb-item::after {
    content: '/';
    margin: 0 0.5rem;
    color: #8b949e;
}

.breadcrumb-item:last-child::after {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 11, 12, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(225, 229, 233, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .game-stats {
        justify-content: center;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-play {
        width: 100%;
        text-align: center;
    }
}

