/* CSS Variables */
:root {
    --indian-red: #CD202C;
    --deep-red: #7D121A;
    --gold: #FFD700;
    --orange: #FF6B35;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #2A2A2A;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --green: #4CAF50;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 1s;
    --border-radius: 10px;
    --max-width: 1200px;
    --gradient-primary: linear-gradient(135deg, var(--indian-red) 0%, var(--deep-red) 100%);
    --gradient-secondary: linear-gradient(45deg, var(--gold), #FFB700);
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
    height: auto;
    min-height: 100vh;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    height: auto;
    min-height: 100vh;
}

/* Banner Section */
.banner {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, var(--indian-red) 0%, var(--deep-red) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.banner-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.banner-left {
    display: flex;
    flex-direction: column;
}

.banner-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.banner-content {
    color: var(--text-light);
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Highlight Boxes */
.highlight-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
    max-width: 100%;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 15px 12px;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.highlight-box:hover::before {
    left: 100%;
}

.highlight-box:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

.highlight-box i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 1;
    transition: all var(--transition-fast);
}

.highlight-box:hover i {
    transform: scale(1.1);
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.highlight-box h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    color: var(--white);
}

.highlight-box p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* Banner Carousel Styles */
.banner-carousel {
    position: relative;
    max-width: 550px;
    width: 100%;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 16/9; /* 桌面端使用16:9比例 */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    z-index: 20;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active,
.indicator:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* Jackpot Container - now in left column */
.jackpot-container {
    background: linear-gradient(45deg, var(--gold), #FFA500);
    padding: 15px 25px;
    border-radius: 50px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    animation: jackpotShine 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    color: var(--text-dark);
    text-align: center;
}

.jackpot-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: jackpotShine 3s infinite;
}

.jackpot-text {
    position: relative;
    z-index: 1;
}

.jackpot-label {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.jackpot-amount {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

@keyframes jackpotShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* CTA Buttons - now in right column */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    max-width: 550px;
}

/* Banner area download buttons - larger size */
.banner .download-btn,
.cta-buttons .download-btn {
    flex: 1;
    max-width: 200px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.banner .download-btn:hover,
.cta-buttons .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
    background: var(--gradient-gold);
}

/* Navigation download button - smaller size */
.navbar .download-btn {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.navbar .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: var(--gradient-gold);
}

/* Primary download button variant */
.download-btn.primary-btn {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.download-btn.primary-btn:hover {
    background: var(--gradient-gold);
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    color: var(--text-dark);
}

/* Floating Elements */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.card {
    position: absolute;
    width: 60px;
    height: 90px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 70%; left: 15%; animation-delay: -2s; }
.card-3 { bottom: 20%; right: 20%; animation-delay: -4s; }
.card-4 { top: 30%; right: 10%; animation-delay: -6s; }

.card-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.suit-icon {
    font-size: 1.2rem;
    margin-top: 5px;
}

.card-2 .suit-icon,
.card-3 .suit-icon {
    color: var(--indian-red);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-25px) rotate(1deg); }
}

/* Money Elements */
.money-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-dark);
    animation: floatCoin 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.coin-1 { top: 15%; right: 20%; animation-delay: 0s; }
.coin-2 { top: 40%; right: 10%; animation-delay: -1s; }
.coin-3 { bottom: 30%; left: 5%; animation-delay: -2s; }
.coin-4 { bottom: 10%; right: 25%; animation-delay: -3s; }
.coin-5 { top: 60%; left: 8%; animation-delay: -4s; }
.coin-6 { top: 80%; right: 15%; animation-delay: -5s; }
.coin-7 { bottom: 50%; left: 12%; animation-delay: -6s; }
.coin-8 { bottom: 15%; right: 5%; animation-delay: -7s; }

@keyframes floatCoin {
    0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); }
    50% { transform: translateY(-30px) scale(1.1) rotate(180deg); }
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
    order: -1;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--indian-red);
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    margin-left: 20px;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    white-space: nowrap;
    padding: 8px 4px;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--indian-red);
}

.cta-buttons {
    flex-shrink: 0;
    margin-left: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--indian-red);
    margin: 2px 0;
    transition: all var(--transition-fast);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Features Section */
.features {
    background: var(--light-gray);
}

.features-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all var(--transition-fast);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--indian-red), var(--deep-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* FAQs Section - Modern Card Grid Layout */
.faqs {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: visible;
    padding: 80px 0 200px;
}

.faq-grid-container {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 10;
}

.faq-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
    position: relative;
    z-index: 15;
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    animation-play-state: paused;
}

.faq-card:active {
    transform: translateY(-2px) scale(0.98);
}

.faq-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.faq-card.flipped .faq-card-inner {
    transform: rotateY(180deg);
}

.faq-card-front,
.faq-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 25px;
    box-sizing: border-box;
}

.faq-card-front {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 2px solid rgba(205, 32, 44, 0.1);
    transition: all var(--transition-fast);
}

.faq-card:hover .faq-card-front {
    border-color: rgba(205, 32, 44, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.faq-card-back {
    background: linear-gradient(135deg, var(--indian-red) 0%, var(--deep-red) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    position: relative;
    overflow: hidden;
}

.faq-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.faq-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--indian-red) 0%, var(--deep-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.faq-card:hover .faq-icon::before {
    transform: translateX(100%);
}

.faq-icon i {
    font-size: 2rem;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.faq-card-front h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.faq-hint {
    font-size: 0.9rem;
    color: var(--indian-red);
    font-weight: 500;
    opacity: 0.8;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.faq-hint::after {
    content: '→';
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.faq-card:hover .faq-hint::after {
    transform: translateX(5px);
}

.faq-answer-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 50px 50px 45px 25px;
    height: 100%;
    overflow: hidden;
}

.faq-answer-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.faq-answer-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
    text-align: left;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Scrollbar styling */
.faq-answer-content p::-webkit-scrollbar {
    width: 4px;
}

.faq-answer-content p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.faq-answer-content p::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.6);
    border-radius: 2px;
}

.faq-answer-content p::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}

.faq-back-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 3;
}

.faq-back-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.faq-back-icon i {
    font-size: 1rem;
    color: var(--gold);
}

/* Animation effects - Temporarily disabled to test layout */
@keyframes faqCardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(0px); /* Temporarily disable floating effect */
    }
}

.faq-card:nth-child(odd) {
    /* animation: faqCardFloat 6s ease-in-out infinite; */
    animation: none; /* Temporarily disable animation */
    animation-delay: 0s;
}

.faq-card:nth-child(even) {
    /* animation: faqCardFloat 6s ease-in-out infinite; */
    animation: none; /* Temporarily disable animation */
    animation-delay: -3s;
}

/* Hover effects */
.faq-card:hover {
    animation-play-state: paused;
}

/* Responsive design for FAQ cards */
@media screen and (max-width: 768px) {
    .banner {
        padding: 80px 0 40px;
    }
    
    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .banner-left {
        order: 2;
    }
    
    .banner-right {
        order: 1;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-container {
        max-width: 350px;
    }
    
    .highlight-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-buttons {
        max-width: 300px;
        gap: 15px;
    }
    
    .download-btn {
        max-width: none;
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Improved navigation for tablets */
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .cta-buttons .download-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
        width: auto;
    }
    
    .menu-toggle {
        display: none; /* Keep navigation visible on tablets */
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .jackpot-container {
        margin: 20px 0;
        padding: 12px 20px;
    }
    
    .jackpot-amount {
        font-size: 1.3rem;
    }
    
    /* FAQ section responsive adjustments */
    .faqs {
        padding: 60px 0 150px; /* Tablet: significantly increase bottom spacing */
    }
    
    .faq-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .faq-card {
        height: 280px;
    }
    
    .faq-card-front,
    .faq-card-back {
        padding: 20px;
    }
    
    .faq-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .faq-icon i {
        font-size: 1.6rem;
    }
    
    .faq-card-front h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .faq-answer-content {
        padding: 40px 40px 35px 20px;
    }
    
    .faq-answer-content h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .faq-answer-content p {
        font-size: 0.85rem;
        max-height: 150px;
    }
    
    .faq-back-icon {
        top: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
    }
    
    .faq-back-icon i {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 640px) {
    /* Navigation becomes mobile-friendly at 640px */
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-container {
        min-height: 60px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        margin-left: 10px;
    }
    
    .cta-buttons .download-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 576px) {
    .banner {
        padding: 80px 0 40px;
    }
    
    .banner-right {
        gap: 20px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .carousel-container {
        max-width: 320px;
    }
    
    .cta-buttons {
        max-width: 280px;
        gap: 10px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .highlight-box {
        padding: 12px;
    }
    
    .highlight-box h3 {
        font-size: 0.9rem;
    }
    
    .highlight-box p {
        font-size: 0.8rem;
    }
    
    /* Mobile navigation adjustments */
    .nav-container {
        padding: 0 15px;
        min-height: 55px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .cta-buttons .download-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .download-btn .btn-text {
        display: none; /* Hide text on very small screens, show only icon */
    }
    
    /* FAQ section mobile adjustments */
    .faqs {
        padding: 50px 0 120px; /* Mobile: significantly increase bottom spacing */
    }
    
    .faq-grid-container {
        grid-template-columns: 1fr;
    }
    
    .faq-card {
        height: 260px;
    }
    
    .faq-card-front h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 35px 35px 30px 15px;
    }
    
    .faq-answer-content h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .faq-answer-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        max-height: 130px;
    }
    
    .faq-back-icon {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }
    
    .faq-back-icon i {
        font-size: 0.8rem;
    }
}

/* Loading Screen */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--indian-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading.fade-out {
        opacity: 0;
    pointer-events: none;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--indian-red);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
    z-index: 10000;
}

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

/* Additional Carousel and Animation Styles */

/* Fade-in animation for scroll effects */
.fade-element {
        opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    }

.fade-element.fade-in {
        opacity: 1;
    transform: translateY(0);
}

/* Ripple effect for buttons */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Parallax background for banner */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* Suits pattern background animation */
.suits-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.suit-line {
    position: absolute;
    width: 120%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    animation: suitLineMove 20s linear infinite;
}

.suit-line-1 {
    top: 5%;
    animation-delay: 0s;
}

.suit-line-2 {
    top: 25%;
    animation-delay: -10s;
}

.suit-line-3 {
    top: 45%;
    animation-delay: -5s;
}

.suit-line-4 {
    top: 65%;
    animation-delay: -15s;
}

.suit-line-5 {
    top: 85%;
    animation-delay: -20s;
}

.suit-item {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: suitFloat 6s ease-in-out infinite;
}

.suit-item:nth-child(odd) {
    color: rgba(255, 215, 0, 0.1);
}

@keyframes suitLineMove {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(100px);
    }
}

@keyframes suitFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Enhanced button hover effects */
.download-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;
}

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

/* Navigation dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    border: 1px solid rgba(205, 32, 44, 0.1);
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    border-radius: 0;
}

.dropdown-content a:hover,
.dropdown-content a.active {
    background-color: var(--light-gray);
    color: var(--indian-red);
}

.dropdown-content a:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Dropdown divider and section title styles */
.dropdown-divider {
    height: 1px;
    background-color: var(--light-gray);
    margin: 8px 0;
}

.dropdown-section-title {
    padding: 8px 20px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--indian-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(205, 32, 44, 0.2);
    margin-bottom: 4px;
}

/* Features and FAQs parallax backgrounds */
.features-parallax-bg,
.faqs-parallax-bg,
.why-play-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(178, 34, 34, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(218, 165, 32, 0.02) 50%, rgba(0, 0, 0, 0.03) 100%);
    opacity: 0.6;
    z-index: 1;
    overflow: hidden;
    animation: circuitPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.features-parallax-bg::before,
.faqs-parallax-bg::before,
.why-play-parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 48px,
            rgba(218, 165, 32, 0.05) 50px,
            rgba(218, 165, 32, 0.05) 52px,
            transparent 54px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 48px,
            rgba(218, 165, 32, 0.05) 50px,
            rgba(218, 165, 32, 0.05) 52px,
            transparent 54px
        );
    animation: gridMove 12s linear infinite;
}

@keyframes circuitPulse {
    0% {
        opacity: 0.4;
        transform: translateZ(0) scale(1);
        filter: brightness(1);
    }
    50% {
        opacity: 0.7;
        transform: translateZ(0) scale(1.02);
        filter: brightness(1.1);
    }
    100% {
        opacity: 0.5;
        transform: translateZ(0) scale(1);
        filter: brightness(0.95);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0px 0px, 0px 0px;
        opacity: 0.3;
    }
    25% {
        background-position: 25px 0px, 0px 25px;
        opacity: 0.5;
    }
    50% {
        background-position: 50px 25px, 25px 50px;
        opacity: 0.4;
    }
    75% {
        background-position: 25px 50px, 50px 25px;
        opacity: 0.6;
    }
    100% {
        background-position: 0px 50px, 50px 0px;
        opacity: 0.3;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --white: #1a1a1a;
        --light-gray: #2a2a2a;
    }
}

/* Add extra bottom spacing for the last row of cards */
.faq-card:nth-last-child(-n+3) {
    margin-bottom: 50px; /* Add bottom spacing for the last three cards */
}

/* Why Play Section */
.why-play {
    background: var(--light-gray);
}

.why-play-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.why-play-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.why-play-content h3 {
    color: var(--indian-red);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.why-play-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.app-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.age-restriction {
    background: var(--indian-red);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
} 