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

:root {
    /* Jungle Matrix Brand Colors */
    --primary-color: #2d5a27;      /* Main green */
    --secondary-color: #1a472a;    /* Dark green */
    --accent-color: #ff6b35;       /* Orange accent */
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-dark: #0a0a0a;
    --bg-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #2d5a27 0%, #1a472a 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

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

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

.nav-logo .logo-img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.6)); }
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

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

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

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-light);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* White background button variant */
.btn-secondary-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary-dark:hover {
    background: var(--text-dark);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-graphic-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: var(--transition);
    filter: none;
}

.hero-graphic-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-strong);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

/* Features Section */
.features {
    padding: 100px 0;
    margin-top: 30px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-light);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

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

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* Mission Banner Section */
.mission-banner {
    padding: 120px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
    position: relative;
    overflow: hidden;
}

.mission-banner::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(-10px) translateY(-5px); }
    66% { transform: translateX(10px) translateY(5px); }
}

.mission-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: orbFloat 15s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.mission-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
}

.mission-badge i {
    font-size: 18px;
    color: #ff1744;
    animation: heartbeat 2s ease-in-out infinite;
}

.mission-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
}

.mission-title .highlight {
    color: #2d5a27;
    background: white;
    padding: 0 8px;
    border-radius: 6px;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes titleShimmer {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.mission-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jungle-highlight {
    color: #fff700;
    font-weight: 700;
    text-shadow: 
        0 0 1.41px #fff700,
        0 0 1px #fff700;
}

.mission-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    animation: statFloat 4s ease-in-out infinite;
    min-width: 120px;
}

.stat-item {
    text-align: center;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: -1.3s;
}

.stat-item:nth-child(3) {
    animation-delay: -2.6s;
}

@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); }
}

.cta-text {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-mission {
    background: linear-gradient(135deg, #fff700 0%, #ff1744 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-mission:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.mission-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: cardFloat 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 20%;
    right: 15%;
    animation-delay: -1.5s;
}

.floating-card.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: -3s;
}

.floating-card.card-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: -4.5s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.mission-graphic {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.graphic-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: graphicPulse 4s ease-in-out infinite;
}

@keyframes graphicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mission-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: iconSpin 8s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* Responsive Design for Mission Banner */
@media (max-width: 768px) {
    .mission-banner {
        padding: 80px 0;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .mission-title {
        font-size: 2.5rem;
    }
    
    .mission-description {
        font-size: 1.1rem;
    }
    
    .mission-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-visual {
        height: 300px;
    }
    
    .floating-card {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .mission-graphic {
        width: 150px;
        height: 150px;
    }
    
    .mission-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .floating-card {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Game Cards Section */
.game-cards {
    padding: 100px 0;
    background: var(--gradient-primary);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Green background sections */
.green-bg .section-title {
    color: var(--text-light);
}

/* White background sections */
.white-bg {
    background: var(--bg-light) !important;
}

.white-bg .section-title {
    color: var(--text-dark);
}

/* Game Cards Section - Fixed hover behavior */
.cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    /* Add padding to accommodate hover scale effects */
    padding: 20px 10px;
}

.card-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 8px;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    /* Fix the positioning to prevent layout shifts */
    flex-shrink: 0;
    /* Add slight margin to prevent overlapping on hover */
    margin: 0 5px;
}

.card-item img {
    display: block;
    max-width: 240px;
    min-width: 240px;
    height: auto;
    border-radius: 6px;
    transition: var(--transition);
}

/* Hide all text and extra info in card-item */
.card-item h3,
.card-item p,
.card-power {
    display: none !important;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.card-item:hover::before {
    opacity: 0.1;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
    z-index: 10;
}

.card-item:hover img {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

/* Fast-Paced Action Section */
.fast-paced {
    padding: 100px 0;
    background: var(--bg-light);
}

.fast-paced-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fast-paced-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.fast-paced-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.fast-paced-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.fast-paced-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.fast-paced-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.fast-paced-feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.fast-paced-feature span {
    font-weight: 500;
    color: var(--text-dark);
}

/* Instructions Section - GREEN BG */
.instructions {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.instructions .section-title {
    color: var(--text-light);
}

.instructions-content {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.instruction-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-strong);
}

.step-number {
    background: var(--gradient-accent);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.step-content p {
    color: var(--text-dark);
    line-height: 1.6;
    opacity: 0.8;
}

.rules-download {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

.rules-download h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

/* Buy Section - WHITE BG - Improved */
.buy {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    margin-top: 50px;
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    transition: var(--transition);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.product-image:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

.product-details {
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(45, 90, 39, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.product-details h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.price {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features {
    list-style: none;
    margin-bottom: 35px;
    padding: 0;
}

.feature {
    padding: 8px 0;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 15px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.feature:hover {
    background: rgba(45, 90, 39, 0.05);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

.feature:last-child {
    margin-bottom: 0;
}

.feature i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.feature span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
}

.buy-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.buy-buttons .btn {
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.buy-buttons .btn-primary {
    background: var(--gradient-accent);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.buy-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

/* Variants Section - GREEN BG */
.variants {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.variants .section-title {
    color: var(--text-light);
}

.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.variant-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.variant-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.variant-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 24px;
}

.variant-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.variant-card p {
    color: var(--text-dark);
    margin-bottom: 15px;
    opacity: 0.8;
}

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

.variant-card ul li {
    color: var(--text-dark);
    padding: 5px 0;
    opacity: 0.7;
}

.variant-card ul li::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 10px;
}

/* Meet the Team Section - WHITE BG */
.about {
    padding: 100px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Specific positioning for Arjun's image */
.member-image img[src*="arjun.jpg"] {
    object-position: center 20%;
    transform: scale(1.2);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

/* Fix hover for Arjun's image to maintain his custom zoom */
.team-member:hover .member-image img[src*="arjun.jpg"] {
    transform: scale(1.35);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.member-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-status {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

/* Contact Section - GREEN BG */
.contact-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    padding: 30px;
    max-width: 800px;
    width: 100%;
}

.contact-info h3 {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item p {
    color: var(--text-dark);
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

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

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-soft);
}

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

.footer-bottom i {
    color: #ff4757;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-item img {
        max-width: 220px;
        min-width: 220px;
    }
    .cards-grid {
        gap: 18px;
        padding: 18px 8px;
    }
}

@media (max-width: 900px) {
    .card-item img {
        max-width: 180px;
        min-width: 180px;
    }
    .cards-grid {
        gap: 15px;
        padding: 15px 6px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1001;
        width: 35px;
        height: 35px;
        position: relative;
        padding: 5px;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-light);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        position: relative;
        border-radius: 1px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav-logo .logo-img {
        height: 70px;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 20px 15px;
    }
    
    .title-line {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .title-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(45, 90, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active .nav-link {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 50%;
        margin: 0;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 50%;
        margin: 0;
    }
    
    .fast-paced-content,
    .product-showcase,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid,
    .variants-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .buy-buttons {
        justify-content: center;
    }
    
    .fast-paced-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .fast-paced-feature {
        width: 100%;
        max-width: 300px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .game-cards {
        padding: 80px 0;
        overflow-x: visible;
    }
    
    .cards-grid {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
        overflow-x: auto;
        overflow-y: visible;
        padding: 20px 15px 30px 15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .card-item {
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 5px;
        min-width: 180px;
    }
    
    .card-item img {
        max-width: 180px;
        min-width: 180px;
        width: 180px;
        height: auto;
    }
    
    .contact-content {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info {
        padding: 20px 0;
        text-align: left;
    }
    
    .contact-info h3 {
        text-align: left;
        margin-bottom: 25px;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .contact-item i {
        margin-right: 15px;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .contact-item div {
        text-align: left;
        flex: 1;
    }
    
    .contact-item h4 {
        margin-bottom: 5px;
        text-align: left;
    }
    
    .contact-item p {
        text-align: left;
        margin: 0;
    }
    
    .features,
    .game-cards,
    .fast-paced,
    .instructions,
    .buy,
    .variants,
    .about,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .product-details {
        padding: 30px;
    }
    
    .product-details h3 {
        font-size: 24px;
    }
    
    .price {
        font-size: 36px;
    }
    
    .buy-buttons {
        justify-content: center;
    }
    
    .product-image img {
        max-width: 350px;
    }
    
    .features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 0 0 25px 0;
    }
    
    .feature {
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: none;
        transform: none;
    }
    
    .feature i {
        margin-right: 10px;
        flex-shrink: 0;
        font-size: 16px;
    }
    
    .feature span {
        text-align: center;
        font-size: 14px;
    }
    
    .feature:hover {
        background: transparent;
        border-left: none;
        transform: none;
    }
    
    body {
        overflow-x: hidden;
    }
    
    html {
        scroll-padding-top: 70px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .card-item img {
        max-width: 150px;
        min-width: 150px;
    }
    .cards-grid {
        gap: 12px;
        padding: 12px 10px;
    }
    .card-item {
        padding: 6px;
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 55px;
        padding: 0 12px;
    }
    
    .nav-logo .logo-img {
        height: 60px;
    }
    
    .hero {
        padding-top: 65px;
    }
    
    .hero-container {
        padding: 15px 12px;
        gap: 30px;
    }
    
    .title-line {
        font-size: 2.2rem;
    }
    
    .title-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .hero-graphic-img {
        max-width: 280px;
        min-width: 250px;
    }
    
    .cards-grid {
        padding: 15px 10px 25px 10px;
        gap: 12px;
    }
    
    .card-item {
        min-width: 150px;
    }
    
    .card-item img {
        max-width: 150px;
        min-width: 150px;
        width: 150px;
    }
    
    .contact-info {
        padding: 15px 0;
    }
    
    .contact-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .product-details {
        padding: 25px;
    }
    
    .feature {
        padding: 10px 12px;
    }
    
    .product-image img {
        max-width: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-section {
        padding: 0 5px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Custom Scrollbar */
@media (min-width: 1024px) {
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg-light);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #ff8c42;
    }

    html {
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) var(--bg-light);
    }
}

@media (max-width: 1023px) {
    ::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }
    
    html {
        scrollbar-width: none;
    }
}

/* Cards section scrollbar */
.cards-grid::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.cards-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.cards-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.cards-grid::-webkit-scrollbar-thumb:hover {
    background: #ff8c42;
}

.cards-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

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

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

/* Rules Download Section - Updated */
.rules-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-video {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: var(--text-light);
    border: none;
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 68, 68, 0.4);
    background: linear-gradient(135deg, #ff5555 0%, #dd1111 100%);
}

.btn-video i {
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive design for rules buttons */
@media (max-width: 768px) {
    .rules-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .rules-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .rules-buttons .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}
