/* ===== HERO SECTION - CASINO STYLE ===== */
.hero {
    position: relative;
    padding: 7rem 5% 6rem;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(220, 20, 60, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 90%, rgba(212, 175, 55, 0.18) 0%, transparent 45%),
        linear-gradient(180deg, #050508 0%, #0d0d15 50%, #0a0a0f 100%);
}

.hero::before {
    content: '♠  ♥  ♦  ♣';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.06);
    letter-spacing: 3rem;
    pointer-events: none;
    white-space: nowrap;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), var(--secondary-red), var(--primary-gold), transparent);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFE66D 0%, #FFD700 30%, #D4AF37 70%, #8B6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
    position: relative;
    display: inline-block;
}

.hero h1::before,
.hero h1::after {
    content: '★';
    display: inline-block;
    margin: 0 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary-red);
    opacity: 0.7;
    vertical-align: middle;
    -webkit-text-fill-color: var(--secondary-red);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.9; }
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
    position: relative;
}

.hero p::first-letter {
    color: var(--text-gold);
    font-weight: 600;
}

.hero-logo {
    width: 120px;
    max-width: 400px;
    height: auto;
    margin: 0 auto 2.5rem;
    display: block;
    border-radius: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(220, 20, 60, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.05),
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.1);
    position: relative;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
    background-size: 200% 200%;
    color: var(--primary-gold);
    padding: 1rem 2.8rem;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--primary-gold-dark);
    box-shadow:
        0 4px 20px rgba(220, 20, 60, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.25), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background-position: 100% 100%;
    color: #fff;
    box-shadow:
        0 12px 40px rgba(220, 20, 60, 0.5),
        0 0 30px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 215, 0, 0.3);
    border-color: var(--primary-gold);
}

.btn-primary:hover::before {
    left: 100%;
}

/* ===== SECTION TITLE - CASINO STYLE ===== */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-title::after {
    content: '◆ ◇ ◆';
    display: block;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.8rem;
    color: var(--primary-gold-dark);
    margin-top: 1.8rem;
    padding-left: 0.8rem;
}

/* ===== GAME FEATURES GRID ===== */
.game-features {
    padding: 5.5rem 0;
    position: relative;
}

.game-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.2rem;
    position: relative;
}

.game-card {
    background: linear-gradient(180deg, #181825 0%, var(--bg-card) 100%);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold-dark), var(--primary-gold), var(--primary-gold-dark));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.6), rgba(220, 20, 60, 0.3), rgba(212, 175, 55, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(212, 175, 55, 0.12);
}

.game-card:hover::before,
.game-card:hover::after {
    opacity: 1;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
    filter: saturate(0.85) brightness(0.95);
}

.game-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(1.05);
}

.game-info {
    padding: 1.8rem;
    position: relative;
}

.game-info::before {
    content: '◆';
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    color: var(--primary-gold-dark);
    opacity: 0.25;
    font-size: 0.8rem;
}

.game-info h3 {
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.game-card:hover .game-info h3 {
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
    height: 48px;
    overflow: hidden;
    line-height: 1.65;
}

.btn-outline {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border: 1px solid var(--primary-gold-dark);
    color: var(--primary-gold);
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-gold));
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline:hover {
    color: #0a0a0f;
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.btn-outline:hover::before {
    left: 0;
}

/* ===== GALLERY SECTION FOR INDEX ===== */
.gallery-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-card {
    background: linear-gradient(180deg, #181826 0%, var(--bg-card) 100%);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(220, 20, 60, 0.25), rgba(212, 175, 55, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s;
    pointer-events: none;
    z-index: 3;
}

.gallery-card::after {
    content: 'PLAY NOW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 2px;
    z-index: 4;
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--primary-gold);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.5);
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 55, 0.1);
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s;
    filter: saturate(0.85) brightness(0.92);
    position: relative;
    z-index: 1;
}

.gallery-card:hover img {
    transform: scale(1.12);
    filter: saturate(1.15) brightness(0.75) blur(1px);
}

.gallery-info {
    padding: 1.7rem;
    position: relative;
    z-index: 2;
}

.gallery-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-card img {
        height: 170px;
    }

    .gallery-info {
        padding: 1rem;
    }

    .gallery-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 210px;
    }
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.04) 50%, transparent 100%);
    position: relative;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(20, 20, 31, 0.9), rgba(10, 10, 15, 0.9));
    border-radius: 4px;
    position: relative;
}

.about-content::before {
    content: '♛';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--primary-gold);
    background: var(--bg-dark);
    padding: 0 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.about-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 0.2px;
}

.about-text::first-line {
    color: var(--text-gold);
    font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.06), transparent);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.2rem;
}

.feature-card {
    background: linear-gradient(180deg, #171723 0%, var(--bg-card) 100%);
    padding: 2.8rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transition: left 0.6s;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold-dark), var(--primary-gold), var(--primary-gold-dark));
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover::after {
    width: 70%;
}

.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2010 0%, #1a1508 100%);
    border: 2px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold-dark), transparent, var(--primary-gold-dark));
    opacity: 0;
    transition: opacity 0.45s;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    border-color: var(--primary-gold);
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.5;
}

.feature-icon img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 5.5rem 0;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2.5rem 1.8rem;
    background: linear-gradient(180deg, rgba(20, 20, 31, 0.5), transparent);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 4px;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    border-color: rgba(212, 175, 55, 0.28);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
    transform: translateY(-5px);
}

.step-number {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #8B6914 0%, #FFD700 50%, #D4AF37 100%);
    background-size: 200% 200%;
    color: #0a0a0f;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    animation: rotateDashed 12s linear infinite;
}

@keyframes rotateDashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5.5rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.03), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2.2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #191927 0%, #14141f 100%);
    padding: 2.8rem 2.2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.2rem;
    font-size: 4.5rem;
    color: var(--primary-gold-dark);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card::after {
    content: '★★★★★';
    display: block;
    margin-top: 1.5rem;
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 4px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold-dark);
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-red), var(--primary-gold));
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
    transition: all 0.45s;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE STYLES - NEW SECTIONS ===== */
@media (max-width: 768px) {
    /* Hide oversized poker suit decoration on hero to avoid overflow */
    .hero::before {
        font-size: 7rem;
        letter-spacing: 1.5rem;
        opacity: 0.03;
    }

    .about-section,
    .features-section,
    .how-it-works-section,
    .testimonials-section {
        padding: 3.5rem 0;
    }

    .about-content {
        padding: 2.2rem 1.3rem;
    }

    .about-content::before {
        font-size: 2rem;
        top: -18px;
    }

    .about-text {
        font-size: 0.98rem;
        line-height: 1.85;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .hero {
        padding: 4rem 5% 3.5rem;
    }

    .hero-logo {
        width: 90px;
        padding: 8px;
        margin-bottom: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1::before,
    .hero h1::after {
        font-size: 1rem;
        margin: 0 0.8rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
        display: block;
        left: 0;
        transform: none;
    }

    .section-title::after {
        letter-spacing: 0.5rem;
        padding-left: 0.5rem;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 5.5rem 0;
    position: relative;
}

.faq-grid {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: linear-gradient(90deg, #161623 0%, #13131e 100%);
    padding: 2rem 2.2rem;
    border-radius: 4px;
    border-left: 3px solid var(--primary-gold-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-gold), var(--primary-gold-dark));
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: linear-gradient(90deg, #1a1a2b 0%, #161624 100%);
    transform: translateX(5px);
    border-left-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.faq-item:hover::before {
    height: 100%;
}

.faq-question {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding-left: 1.8rem;
    position: relative;
}

.faq-question::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-gold));
    color: #0a0a0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 1.8rem;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.04), transparent);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card {
    background: linear-gradient(180deg, #171724 0%, #12121d 100%);
    padding: 2.2rem 1.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 215, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card img {
    max-width: 100%;
    height: 55px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}

/* ===== RESPONSIVE - FAQ AND PARTNERS ===== */
@media (max-width: 768px) {
    .faq-section,
    .partners-section {
        padding: 3.5rem 0;
    }

    .faq-item {
        padding: 1.5rem 1.2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding-left: 1.6rem;
    }

    .faq-answer {
        padding-left: 1.6rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .partner-card img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    padding: 4.5rem 0;
    background:
        linear-gradient(180deg, rgba(139, 0, 0, 0.12) 0%, transparent 100%),
        linear-gradient(0deg, rgba(212, 175, 55, 0.06) 0%, transparent 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    position: relative;
}

.stat-item {
    padding: 2.2rem 1.5rem;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: linear-gradient(180deg, rgba(20, 20, 31, 0.6) 0%, transparent 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transition: width 0.4s;
}

.stat-item:hover {
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
}

.stat-item:hover::before {
    width: 60px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(180deg, #FFD700 0%, #D4AF37 50%, #8B6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
    line-height: 1;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== PROMOTIONS SECTION ===== */
.promotions-section {
    padding: 5.5rem 0;
    position: relative;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.2rem;
    position: relative;
}

.promotion-card {
    background: linear-gradient(180deg, #1a1a28 0%, #151520 100%);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 20, 60, 0.18);
    position: relative;
}

.promotion-card::before {
    content: 'HOT';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: var(--primary-gold);
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 2px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.promotion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0) 0%, rgba(255, 215, 0, 0.04) 50%, rgba(220, 20, 60, 0) 100%);
    opacity: 0;
    transition: opacity 0.45s;
    pointer-events: none;
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(220, 20, 60, 0.1);
    border-color: rgba(255, 215, 0, 0.35);
}

.promotion-card:hover::after {
    opacity: 1;
}

.promotion-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
    filter: saturate(0.9) contrast(1.05);
}

.promotion-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.1);
}

.promotion-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.promotion-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.promotion-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.7rem;
}

/* ===== DOWNLOAD APP CTA SECTION ===== */
.download-cta-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(220, 20, 60, 0.15), transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.12), transparent 50%),
        linear-gradient(180deg, #0a0a0f, #07070c);
    text-align: center;
    position: relative;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary-gold-dark), var(--primary-gold), var(--primary-gold-dark), transparent) 1;
    overflow: hidden;
}

.download-cta-section::before {
    content: '♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣';
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 1.2rem;
    color: rgba(212, 175, 55, 0.18);
    white-space: nowrap;
}

.download-cta-section::after {
    content: '♣ ♦ ♥ ♠ ♣ ♦ ♥ ♠ ♣ ♦ ♥ ♠';
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 1.2rem;
    color: rgba(212, 175, 55, 0.18);
    white-space: nowrap;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-gold);
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
}

/* CTA buttons already have platform emoji in HTML (🍎 🤖) so no duplicate prefix here */
.cta-buttons .btn-primary span::before {
    content: '';
}

/* ===== SECURITY/TRUST SECTION ===== */
.security-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 200, 83, 0.04) 50%, transparent 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.2rem;
}

.security-item {
    background: linear-gradient(180deg, #171725 0%, #12121c 100%);
    padding: 2.8rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 200, 83, 0.1);
    position: relative;
}

.security-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-green), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 200, 83, 0.3);
}

.security-item:hover::before {
    opacity: 1;
}

.security-icon {
    font-size: 3.4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 200, 83, 0.2));
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-item:hover .security-icon {
    transform: scale(1.15) rotate(-5deg);
}

.security-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-green);
    font-weight: 700;
}

.security-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== RESPONSIVE STYLES - ALL SECTIONS - Tablet ===== */
@media (max-width: 768px) {
    .stats-section,
    .promotions-section,
    .download-cta-section,
    .security-section {
        padding: 3.5rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .stat-label {
        font-size: 0.82rem;
        letter-spacing: 0.7px;
    }

    .stat-item {
        padding: 1.8rem 1rem;
    }

    .promotions-grid,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .promotion-content {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    .game-features {
        padding: 4rem 0;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .game-info {
        padding: 1.2rem;
    }

    .game-info h3 {
        font-size: 1.05rem;
    }

    .game-info p {
        height: auto;
        margin-bottom: 1.2rem;
        font-size: 0.88rem;
    }

    .game-card img {
        height: 160px;
    }

    .btn-primary {
        padding: 0.9rem 2.2rem;
        font-size: 0.88rem;
        letter-spacing: 1.2px;
    }

    .btn-outline {
        padding: 0.55rem 1.2rem;
        font-size: 0.78rem;
    }

    .download-cta-section::before,
    .download-cta-section::after {
        letter-spacing: 0.6rem;
    }

    .promotion-card::before {
        font-size: 0.62rem;
        padding: 0.25rem 0.7rem;
        letter-spacing: 1px;
    }

    .promotion-content h3 {
        font-size: 1.2rem;
    }

    .security-item h3 {
        font-size: 1.12rem;
    }

    .security-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }

    .step-card h3 {
        font-size: 1.12rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }
}

/* ===== RESPONSIVE STYLES - Small Phone ===== */
@media (max-width: 480px) {
    /* Further reduce hero poker decoration on very small screens */
    .hero::before {
        font-size: 4.5rem;
        letter-spacing: 1rem;
        opacity: 0.02;
    }

    .hero {
        padding: 3.2rem 4% 2.8rem;
    }

    .hero-logo {
        width: 76px;
        margin-bottom: 1.5rem;
        padding: 7px;
    }

    .hero-actions {
        max-width: 280px;
        gap: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 1.5rem 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .game-card img {
        height: 200px;
    }

    .game-info {
        padding: 1.3rem;
    }

    .game-info h3 {
        font-size: 1.12rem;
    }

    .game-info p {
        font-size: 0.9rem;
    }

    .promotion-card img {
        height: 170px;
    }

    .promotion-content {
        padding: 1.4rem;
    }

    .promotion-content h3 {
        font-size: 1.15rem;
    }

    .security-item {
        padding: 1.8rem 1.3rem;
    }

    .security-item h3 {
        font-size: 1.08rem;
    }

    .security-icon {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero h1::before,
    .hero h1::after {
        display: none;
    }

    .hero p {
        font-size: 0.96rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.65rem;
        margin-bottom: 2.5rem;
    }

    .section-title::after {
        letter-spacing: 0.4rem;
        font-size: 0.75rem;
        margin-top: 1.4rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.3rem;
    }

    .testimonial-text {
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .testimonial-avatar {
        width: 74px;
        height: 74px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 0.96rem;
        margin-bottom: 2rem;
    }

    .step-card {
        padding: 1.8rem 1.2rem;
    }

    .step-number {
        width: 58px;
        height: 58px;
        font-size: 1.35rem;
    }

    .step-card h3 {
        font-size: 1.08rem;
    }

    .feature-card {
        padding: 1.8rem 1.3rem;
    }

    .feature-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1.5rem;
    }

    .feature-icon img {
        width: 44px;
        height: 44px;
    }

    .feature-card h3 {
        font-size: 1.06rem;
    }

    .faq-item {
        padding: 1.3rem 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-question,
    .faq-answer {
        padding-left: 1.4rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-card {
        padding: 1.3rem 1rem;
        min-height: 85px;
    }

    .partner-card img {
        height: 42px;
    }

    .gallery-section {
        padding: 3.5rem 0;
    }

    .btn-primary {
        padding: 0.85rem 1.8rem;
        font-size: 0.84rem;
        letter-spacing: 1px;
    }

    .btn-outline {
        padding: 0.55rem 1.1rem;
        font-size: 0.76rem;
    }
}

/* ===== RESPONSIVE STYLES - Ultra-small Phone (iPhone SE / 375px and below) ===== */
@media (max-width: 380px) {
    .hero {
        padding: 2.8rem 4% 2.5rem;
    }

    .hero-logo {
        width: 68px;
        padding: 6px;
        margin-bottom: 1.3rem;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero p {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
    }

    .hero-actions {
        max-width: 100%;
        gap: 0.8rem;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stat-item {
        padding: 1.3rem 0.6rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.74rem;
        letter-spacing: 0.4px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2.2rem;
    }

    .section-title::after {
        letter-spacing: 0.3rem;
        font-size: 0.68rem;
        margin-top: 1.2rem;
    }

    .game-features,
    .promotions-section,
    .about-section,
    .features-section,
    .how-it-works-section,
    .security-section,
    .testimonials-section,
    .download-cta-section,
    .faq-section,
    .partners-section {
        padding: 3rem 0;
    }

    .game-info,
    .promotion-content {
        padding: 1.1rem;
    }

    .about-content {
        padding: 1.8rem 1.1rem;
    }

    .about-content::before {
        font-size: 1.8rem;
        top: -16px;
    }

    .about-text {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .feature-card,
    .step-card,
    .security-item,
    .testimonial-card {
        padding: 1.6rem 1.1rem;
    }

    .faq-item {
        padding: 1.1rem 0.9rem;
    }

    .faq-question,
    .faq-answer {
        padding-left: 1.3rem;
    }

    .faq-question::before {
        width: 22px;
        height: 22px;
        font-size: 0.72rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 1.45rem;
    }

    .cta-content p {
        font-size: 0.92rem;
        margin-bottom: 1.8rem;
    }

    .cta-buttons .btn-primary {
        max-width: 100%;
    }

    .btn-primary {
        padding: 0.8rem 1.6rem;
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.74rem;
        letter-spacing: 1px;
    }

    .partners-grid {
        gap: 0.8rem;
    }

    .partner-card {
        padding: 1.1rem 0.8rem;
        min-height: 76px;
    }

    .partner-card img {
        height: 36px;
    }

    .gallery-info {
        padding: 0.9rem;
    }

    .gallery-info h3 {
        font-size: 0.98rem;
    }

    .gallery-info p {
        font-size: 0.85rem;
    }

    .promotion-card::before {
        font-size: 0.58rem;
        padding: 0.22rem 0.6rem;
        letter-spacing: 0.8px;
    }

    .ad-container {
        margin: 2rem auto;
    }
}