/* Custom CSS for Z4 Rummy Website */
:root {
    --primary-gold: #FFD700;
    --primary-red: #DC143C;
    --primary-cream: #F5F5DC;
    --primary-black: #000000;
    --secondary-gold: #FFA500;
    --secondary-red: #B22222;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-red: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-large: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 0; /* Removed padding since hero section handles it */
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px 0; /* Add top padding for navbar space */
    margin-top: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(220, 20, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.download-buttons .btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.download-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-buttons .btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    color: var(--primary-black);
    font-weight: bold;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-gold), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-outline-light:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-gold);
}

/* About Section */
.about-section {
    background: var(--primary-cream);
    position: relative;
    padding: 40px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red), var(--primary-gold));
}

.content-box {
    padding: 1rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-box p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-box h3, .content-box h4 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.content-box h3::after, .content-box h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
}

/* Features Section */
.features-section {
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-gold);
}

.feature-card i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover i::after {
    opacity: 1;
}

.feature-card h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
}

.feature-card h4 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}



/* Footer */
.footer {
    background: var(--gradient-hero);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo, .footer-address, .footer-email {
    flex: 1;
    min-width: 200px;
    margin: 0.5rem;
}

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

.footer-copyright {
    text-align: center;
}

.footer a {
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-gold);
}

/* Small Logo for Footer */


.footer-address p, .footer-email p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-email a {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-email a:hover {
    color: var(--secondary-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 50vh;
        padding: 70px 0 20px 0; /* Add top padding for mobile navbar */
        text-align: center;
        margin-top: 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Download Buttons Mobile */
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Content Mobile */
    .content-box {
        padding: 0.5rem 0;
    }
    
    .content-box p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Cards Mobile */
    .feature-card, .step-card, .stat-card {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .feature-card h4, .step-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p, .step-card p {
        font-size: 0.9rem;
    }
    
    /* Rules Mobile */
    .rules-list li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .rules-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    /* FAQ Mobile */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    /* Stats Mobile */
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo, .footer-address, .footer-email {
        margin: 0.5rem 0;
        min-width: auto;
    }
    
    .footer-address p, .footer-email p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        margin: 1rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        margin: 0 0.5rem;
    }
    
    /* Logo Mobile */
    .navbar-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .footer-logo-img {
        height: 25px;
        max-width: 100px;
    }
    
    /* Banner Mobile */
    .hero-banner {
        width: 100vw;
        max-width: 100vw;
        margin: 114px 0 0 0;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-banner-img {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Body Mobile */
    body {
        padding-top: 0;
    }
    
    /* Navigation Mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: 0.25rem 0;
        font-size: 0.9rem;
        padding: 0.75rem 1rem !important;
    }
    
    .navbar-toggler {
        border: 1px solid var(--primary-gold);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    }
    
    /* Section Spacing Mobile */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Container Mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Fix for accordion on mobile */
    .accordion-item {
        margin-bottom: 0.5rem;
    }
    
    /* Improve button spacing on mobile */
    .download-buttons .btn {
        margin-bottom: 1rem;
    }
    
    /* Better text readability on mobile */
    .content-box p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Testimonials Mobile */
    .testimonials-container {
        gap: 1rem;
        padding: 1rem 0;
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 1.5rem;
        scroll-snap-align: start;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-author strong {
        font-size: 1rem;
    }
    
    .testimonial-author .location {
        font-size: 0.8rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-section {
        min-height: 60vh;
        padding: 30px 0;
    }
    
    .hero-banner {
        width: 100vw;
        max-width: 100vw;
        margin: 114px 0 0 0;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-banner-img {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }
    
    .navbar-logo {
        height: 50px;
        max-width: 200px;
    }
    
    .footer-logo-img {
        height: 40px;
        max-width: 160px;
    }
    
    .download-buttons .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .hero-section {
        min-height: 40vh;
        padding: 70px 0 15px 0; /* Add top padding for small mobile navbar */
        margin-top: 0;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .download-buttons .btn {
        max-width: 250px;
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .navbar-logo {
        height: 30px;
        max-width: 100px;
    }
    
    .footer-logo-img {
        height: 20px;
        max-width: 80px;
    }
    
    .feature-card, .step-card, .stat-card {
        padding: 0.75rem;
    }
    
    .feature-card h4, .step-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p, .step-card p {
        font-size: 0.85rem;
    }
    
    .accordion-button {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .accordion-body {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .footer-address p, .footer-email p {
        font-size: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        margin: 0 0.25rem;
    }
    
    .py-5 {
        padding: 1.5rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Banner for Small Mobile */
    .hero-banner {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-banner-img {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
}

/* Large Desktop Responsive */
@media (min-width: 1200px) {
    .hero-banner {
        width: 100vw;
        max-width: 100vw;
        margin: 114px 0 0 0;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-banner-img {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Extra Large Desktop Responsive */
@media (min-width: 1400px) {
    .hero-banner-img {
        border-radius: 0;
        box-shadow: none;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    min-width: 350px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-gold);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-black);
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-author .location {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Card Suit Icons */
.card-suit {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.card-suit.hearts,
.card-suit.diamonds {
    color: var(--primary-red);
}

.card-suit.spades,
.card-suit.clubs {
    color: var(--primary-black);
}

/* Download Button Styling */
.download-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    padding: 3rem 0;
    text-align: center;
}

.download-section h2 {
    color: var(--primary-black);
    font-weight: bold;
    margin-bottom: 2rem;
}

.download-btn {
    background: var(--primary-black);
    color: var(--primary-gold);
    border: 2px solid var(--primary-black);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 1rem;
}

.download-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Z4 Rummy Logo CSS */
.navbar-logo {
    height: 160px;
    width: auto;
    max-width: 600px;
    object-fit: contain;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    max-width: 480px;
    object-fit: contain;
}

/* Hero Banner CSS */
.hero-banner {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 114px 0 0 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
}

.hero-banner-img {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}





/* How to Play Section */
.how-to-play-section {
    background: linear-gradient(135deg, var(--primary-cream) 0%, #f8f8f8 100%);
}

.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.step-card:hover .step-number::before {
    opacity: 1;
}

.step-card h4 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
}

.step-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
}

.step-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Rules Section */
.rules-section {
    background: white;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.rules-list li:before {
    content: '♠';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.1rem;
    top: 0.8rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-section h4 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.rules-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--text-light);
}

.faq-section h2 {
    color: var(--primary-gold);
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-gold) !important;
    border: none !important;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 215, 0, 0.1) !important;
    color: var(--primary-gold) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-gold);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFD700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 1.5rem;
    line-height: 1.6;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .step-card {
        margin-bottom: 1rem;
    }
    
    .rules-list li {
        padding-left: 1rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--primary-black);
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card i {
    color: var(--primary-red);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    color: var(--secondary-gold);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}



 
 