/* Global Styles */
:root {
    --indian-red: #be3636;
    --deep-indian-red: #b83b3b;
    --indian-red-light: #d14141;
    --golden-yellow: #ffd700;
    --light-golden: #ffe766;
    --golden-dark: #e6c200;
    --white: #ffffff;
    --dark: #333333;
    --light-gray: #f5f5f5;
    --transition-speed: 0.4s;
}

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

html {
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    scroll-behavior: auto;
    overflow-x: hidden;
    height: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f5f5, #f0f0f0);
    color: #333;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-y: auto;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--indian-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-indian-red);
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--golden-yellow), var(--light-golden), var(--golden-yellow));
    background-size: 200% 200%;
    animation: subtleGradient 5s ease infinite;
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes subtleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

section:last-of-type {
    padding-bottom: 12rem;
}

.download-section {
    background: linear-gradient(135deg, #c43535, #e04444, #be3636);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    z-index: 100;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--deep-indian-red);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--indian-red), var(--golden-yellow));
    border-radius: 2px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
}

.logo a {
    color: var(--golden-yellow);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--indian-red), var(--deep-indian-red));
    color: white;
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-logo img {
    height: 40px;
    width: auto;
}

.mobile-nav-logo span {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--golden-yellow);
}

.mobile-nav-close {
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: var(--golden-yellow);
}

.mobile-nav-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-nav-close i {
    font-size: 1.5rem;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background-color: rgba(190, 54, 54, 0.1);
    color: var(--indian-red);
    padding-left: 2rem;
}

.mobile-nav-link.active {
    background-color: var(--indian-red);
    color: white;
}

.mobile-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--golden-yellow);
}

.mobile-nav-download {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.mobile-download-btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--indian-red), var(--deep-indian-red));
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.mobile-download-btn:hover {
    background: linear-gradient(135deg, var(--deep-indian-red), var(--indian-red));
    transform: translateY(-2px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-speed);
    text-transform: uppercase;
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-transform: none;
    font-weight: normal;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Banner Section */
.banner-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 8rem;
    background: linear-gradient(135deg, #c43535, #e04444, #be3636);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    transform: none !important;
}

.banner-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    animation: none;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-content {
    flex: 1;
    max-width: 50%;
    padding: 2rem;
    text-align: left;
    z-index: 2;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.learn-more-btn {
    background: transparent;
    border: 2px solid var(--golden-yellow);
    color: var(--golden-yellow);
    position: relative;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

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

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

.learn-more-btn:hover {
    background: var(--golden-yellow);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--golden-yellow), var(--light-golden), var(--golden-dark));
    background-size: 200% 200%;
    animation: subtleGradient 5s ease infinite, pulse 2s infinite;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.character-group {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    transform: none !important;
    will-change: auto;
}

.character {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    transition: none;
}

.char1 {
    background-image: url('images/character1.png');
    width: 300px;
    height: 400px;
    bottom: -50px;
    left: 10%;
    transform: none;
}

.char2 {
    background-image: url('images/character2.png');
    width: 350px;
    height: 450px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.char3 {
    background-image: url('images/character3.png');
    width: 300px;
    height: 400px;
    bottom: -50px;
    right: 10%;
    transform: none;
}

.banner-section:hover .char1,
.banner-section:hover .char2,
.banner-section:hover .char3 {
    transform: none;
}

/* Game Introduction Section */
.game-intro-section {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8, #f0f0f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.game-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(184, 59, 59, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* New Feature Box Styles */
.feature-box {
    flex-basis: calc(50% - 2rem);
    min-width: 300px;
    background: linear-gradient(135deg, #ffffff, #fafafa, #f5f5f5);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--feature-index, 0) * 0.1s);
    position: relative;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--indian-red), var(--golden-yellow), var(--indian-red));
    background-size: 200% 100%;
    animation: gradientBorder 5s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.feature-icon {
    padding: 2rem 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--indian-red);
    background: linear-gradient(135deg, var(--indian-red), var(--golden-yellow), var(--indian-red));
    background-size: 200% 200%;
    animation: subtleGradient 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(205, 92, 92, 0.2);
}

.feature-content {
    padding: 0 2rem 2rem;
    flex: 1;
}

.feature-content h3 {
    color: var(--deep-indian-red);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-align: center;
    position: relative;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--indian-red), var(--golden-yellow), var(--indian-red));
    background-size: 200% 100%;
    animation: gradientBorder 5s ease infinite;
    border-radius: 1.5px;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.feature-list i {
    color: var(--golden-yellow);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 4px;
}

.feature-list li strong {
    font-weight: 700;
    color: var(--deep-indian-red);
}

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

/* FAQs Section */
.faqs-section {
    background: linear-gradient(135deg, #f9f9f9, #f2f2f2, #f7f7f7);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px; /* Extra padding for fixed header */
    position: relative;
    overflow: hidden;
    z-index: 100; /* 确保FAQ区域在其他元素之上 */
}

.faqs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(255, 215, 0, 0.07) 0%, transparent 70%),
                radial-gradient(circle at 30% 80%, rgba(184, 59, 59, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1; /* 确保背景在内容之下 */
}

.faq-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 101; /* 确保FAQ容器在背景之上 */
}

.faq-item {
    background: linear-gradient(135deg, #ffffff, #fefefe);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 102; /* 确保FAQ项目可以点击 */
    pointer-events: auto; /* 明确允许鼠标事件 */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    position: relative;
    z-index: 103; /* 确保问题区域可以点击 */
    pointer-events: auto; /* 明确允许鼠标事件 */
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--deep-indian-red);
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--indian-red);
    transition: transform var(--transition-speed);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Increased from 300px to accommodate longer content */
}

.faq-answer-content {
    padding: 1.5rem;
}

.faq-answer p {
    line-height: 1.6;
    margin: 0;
}

/* Download Section */
.download-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 102;
    pointer-events: auto;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 25px;
    background: linear-gradient(135deg, #333333, #222222, #444444);
    background-size: 200% 200%;
    animation: subtleGradient 5s ease infinite;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 103;
    pointer-events: auto;
}

.app-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn span {
    font-weight: 600;
}

.app-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(40px);
    transition: transform 0.6s ease-out;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.download-section:hover .app-preview {
    transform: translateY(20px);
}

.app-preview img {
    max-width: 80%;
    max-height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* Footer */
footer {
    background: linear-gradient(135deg, #222222, #1a1a1a, #2c2c2c);
    color: white;
    text-align: center;
    padding: 2rem;
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo a {
    color: var(--golden-yellow);
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-group h4 {
    margin-bottom: 1.2rem;
    color: var(--golden-yellow);
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.7rem;
}

.link-group a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-speed);
    opacity: 0.8;
}

.link-group a:hover {
    color: var(--golden-yellow);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--indian-red);
    transform: translateY(-5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    }
}

/* Parallax Animation on Scroll */
.parallax-scroll {
    will-change: auto;
    backface-visibility: visible;
    transform: none !important;
    transition: none !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    body, html {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }
    
    .banner-container {
        flex-direction: column-reverse;
        padding: 0 1rem;
    }
    
    .banner-image, .banner-content {
        max-width: 100%;
    }
    
    .banner-content {
        text-align: center;
        padding: 2rem 0;
    }
    
    .banner-buttons {
        justify-content: center;
    }
    
    .features-container {
        gap: 1.5rem;
    }
    
    .feature-box {
        flex-basis: calc(50% - 1.5rem);
    }
    
    .download-section {
        flex-direction: column;
        text-align: center;
        padding: 5rem 5% 12rem;
    }
    
    .download-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .app-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation - Hide desktop navigation menu */
    .nav-links {
        display: none !important;
    }
    
    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Hide mobile navigation menu on desktop */
    .mobile-nav-menu,
    .mobile-menu-overlay {
        display: block;
    }
    
    /* Adjust navigation layout for mobile */
    nav {
        padding: 1rem;
        justify-content: space-between;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo img {
        height: 50px !important;
        margin-right: 8px !important;
    }
    
    .logo a {
        font-size: 1.4rem !important;
    }
    
    /* Ensure download button is visible on mobile */
    .download-btn {
        display: block;
    }
    
    .download-btn .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Mobile Banner Section Layout Adjustment */
    .banner-container {
        flex-direction: column !important;
        padding: 0 1rem;
        position: relative;
    }
    
    /* Move slideshow-container above banner-container content on mobile */
    .banner-image {
        order: -1 !important; /* Place slideshow first */
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .banner-content {
        order: 1 !important; /* Place content second */
        max-width: 100% !important;
        padding: 1rem 0 !important;
        text-align: center !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    /* Ensure slideshow container is properly positioned on mobile */
    .slideshow-container {
        position: relative !important;
        width: 100% !important;
        height: 350px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Adjust slideshow slides for mobile */
    .slideshow-slide {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Mobile slideshow image sizing */
    .slideshow-slide .hero-image {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Adjust slideshow dots for mobile */
    .slideshow-dots {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .char1, .char3 {
        display: none;
    }
    
    .char2 {
        width: 250px;
        height: 350px;
    }
    
    .feature-box {
        flex-basis: 100%;
        min-width: 100%;
    }
    
    .feature-content h3 {
        font-size: 1.4rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
    
    /* Mobile Footer Adaptations - Complete Center Alignment */
    .footer-content {
        flex-direction: column !important;
        gap: 3rem;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Fix footer logo image for mobile - Center aligned */
    .footer-content > img {
        height: 80px !important;
        width: auto !important;
        margin: 0 auto 1rem auto !important;
        display: block !important;
        vertical-align: inherit !important;
    }
    
    /* Center align footer logo section */
    .footer-logo {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .footer-logo a {
        font-size: 1.6rem;
        text-align: center !important;
    }
    
    .footer-logo p {
        text-align: center !important;
        margin: 1rem auto 0 auto !important;
    }
    
    /* Center align footer links */
    .footer-links {
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap;
        display: flex !important;
        text-align: center !important;
    }
    
    /* Center align each link group */
    .link-group {
        flex-basis: 48%;
        margin-bottom: 1.5rem;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .link-group h4 {
        text-align: center !important;
        margin-bottom: 1.2rem;
    }
    
    .link-group ul {
        text-align: center !important;
        width: 100% !important;
    }
    
    .link-group li {
        text-align: center !important;
        margin-bottom: 0.7rem;
    }
    
    .link-group a {
        text-align: center !important;
        display: block !important;
    }
    
    body, html {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }
    
    .download-section {
        padding: 4rem 5% 10rem;
    }
}

/* Hide mobile navigation elements on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-nav-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    /* Extra small mobile adaptations */
    .logo img {
        height: 40px !important;
        margin-right: 6px !important;
    }
    
    .logo a {
        font-size: 1.2rem !important;
    }
    
    .download-btn .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Extra small mobile slideshow adjustments */
    .slideshow-container {
        height: 280px !important;
    }
    
    .banner-image {
        margin-bottom: 1.5rem !important;
    }
    
    .banner-content {
        padding: 0.5rem 0 !important;
    }
    
    .banner-content h1 {
        font-size: 2rem !important;
    }
    
    .banner-content p {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile footer logo for very small screens */
    .footer-content > img {
        height: 60px !important;
    }
    
    .footer-logo a {
        font-size: 1.4rem;
    }
    
    /* Extra small screens - Full center alignment */
    .footer-links {
        flex-direction: column !important;
        gap: 2rem;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .link-group {
        flex-basis: 100% !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
} 