@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Lexend:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #08080f;
  --bg-surface: #111118;
  --bg-card: #1a1a24;
  --bg-card-hover: #22222e;
  --border-color: #2a2a3a;
  --border-glow: #e91e8c33;
  --primary: #e91e8c;
  --primary-light: #ff4da6;
  --primary-dark: #b8166f;
  --secondary: #8b5cf6;
  --secondary-light: #a78bfa;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --green: #10b981;
  --blue: #3b82f6;
  --text-primary: #e4e4e7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --white: #ffffff;
  --font-heading: 'Chakra Petch', sans-serif;
  --font-body: 'Lexend', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(233,30,140,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== NOISE TEXTURE OVERLAY ========== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); font-size: 1rem; }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== CONTAINER ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-surface); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 15px; }
.section-header p { max-width: 600px; margin: 0 auto; }
.section-header .accent-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ========== HEADER / NAVIGATION ========== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(8,8,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--white); background: rgba(233,30,140,0.1); }
.nav-menu a.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important; padding: 8px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(233,30,140,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,30,140,0.4); background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important; }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 10px; }
.lang-btn {
  background: var(--bg-card); border: 1px solid var(--border-color);
  color: var(--text-secondary); padding: 6px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 0.85rem; font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.lang-btn:hover { border-color: var(--primary); color: var(--white); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 6px;
  min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: block; padding: 8px 14px;
  color: var(--text-secondary); font-size: 0.85rem;
  border-radius: var(--radius-sm); text-decoration: none;
}
.lang-dropdown a:hover { background: rgba(233,30,140,0.1); color: var(--white); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }

/* Mobile Menu */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
  background: rgba(8,8,15,0.98);
  backdrop-filter: blur(20px);
  padding: 30px 20px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: block; animation: fadeIn 0.3s ease; }
.mobile-menu a {
  display: block; padding: 14px 20px; color: var(--text-secondary);
  font-size: 1.1rem; font-weight: 500; border-radius: var(--radius-sm);
  text-decoration: none; margin-bottom: 4px;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--white); background: rgba(233,30,140,0.1); }
.mobile-lang { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px; border-top: 1px solid var(--border-color); margin-top: 20px; }
.mobile-lang a {
  padding: 6px 14px !important; font-size: 0.85rem !important;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  margin-bottom: 0 !important;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  padding-top: 70px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233,30,140,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245,158,11,0.06) 0%, transparent 50%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-image { flex: 0 0 380px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233,30,140,0.1); border: 1px solid rgba(233,30,140,0.2);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.85rem; color: var(--primary-light);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero-title { margin-bottom: 20px; }
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.1rem; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 700; color: var(--white);
}
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.hero-image img {
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(233,30,140,0.1);
  animation: float 6s ease-in-out infinite;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(233,30,140,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(233,30,140,0.4);
  color: var(--white);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(233,30,140,0.05);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.4);
  color: #000;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn svg, .btn i { width: 18px; height: 18px; }

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card-icon.pink { background: rgba(233,30,140,0.1); color: var(--primary-light); }
.card-icon.purple { background: rgba(139,92,246,0.1); color: var(--secondary-light); }
.card-icon.gold { background: rgba(245,158,11,0.1); color: var(--gold-light); }
.card-icon.green { background: rgba(16,185,129,0.1); color: var(--green); }
.card-icon.blue { background: rgba(59,130,246,0.1); color: var(--blue); }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.92rem; }

/* ========== FEATURE GRID ========== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.features-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* ========== DOWNLOAD BOXES ========== */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; max-width: 800px; margin: 0 auto; }
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.download-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.download-card .edition-icon { font-size: 3rem; margin-bottom: 16px; }
.download-card h3 { margin-bottom: 8px; }
.download-card .version { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.download-card .file-info {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 24px; font-size: 0.85rem; color: var(--text-muted);
}
.download-card .file-info span { display: flex; align-items: center; gap: 5px; }

/* ========== CHARACTER CARDS ========== */
.characters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.character-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.character-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.character-card .char-img {
  height: 200px; background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; overflow: hidden;
}
.character-card .char-img img { width: 100%; height: 100%; object-fit: cover; }
.character-card .char-info { padding: 20px; }
.character-card .char-info h3 { margin-bottom: 8px; font-size: 1.1rem; }
.character-card .char-info p { font-size: 0.88rem; }
.character-card .char-tag {
  display: inline-block; padding: 3px 10px;
  background: rgba(233,30,140,0.1);
  color: var(--primary-light);
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  margin-top: 10px;
}

/* ========== FAQ ACCORDION ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(233,30,140,0.2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer; width: 100%;
  background: none; border: none;
  color: var(--white); font-size: 1rem;
  font-family: var(--font-body); font-weight: 500;
  text-align: left;
}
.faq-question .icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 24px 18px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.8; }

/* ========== STEPS / INSTALLATION ========== */
.steps { max-width: 700px; margin: 0 auto; }
.step {
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  border-radius: 50%;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

/* ========== TABLES ========== */
.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.info-table th, .info-table td { padding: 14px 20px; text-align: left; font-size: 0.92rem; }
.info-table th {
  background: rgba(233,30,140,0.05);
  color: var(--primary-light);
  font-weight: 600; font-family: var(--font-heading);
  border-bottom: 1px solid var(--border-color);
}
.info-table td { border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, rgba(233,30,140,0.08), rgba(139,92,246,0.08));
  border-top: 1px solid rgba(233,30,140,0.1);
  border-bottom: 1px solid rgba(233,30,140,0.1);
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========== FOOTER ========== */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border-color); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo img { width: 36px; height: 36px; border-radius: var(--radius-sm); }
.footer-brand .logo span {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white);
}
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; max-width: 300px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 0.95rem; }
.footer-col a {
  display: block; color: var(--text-muted); font-size: 0.88rem;
  padding: 4px 0; transition: var(--transition); text-decoration: none;
}
.footer-col a:hover { color: var(--primary-light); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); font-size: 0.82rem; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 20px 0; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.breadcrumb .current { color: var(--text-secondary); }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,30,140,0.08) 0%, transparent 60%);
}
.page-hero h1 { margin-bottom: 16px; position: relative; }
.page-hero p { position: relative; max-width: 600px; margin: 0 auto; }

/* ========== LEGAL PAGES ========== */
.legal-content { max-width: 800px; margin: 0 auto; padding-bottom: 80px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.5rem; }
.legal-content h3 { margin-top: 30px; margin-bottom: 12px; font-size: 1.2rem; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin-bottom: 16px; padding-left: 24px; }
.legal-content li { color: var(--text-secondary); margin-bottom: 8px; font-size: 0.92rem; list-style: disc; }
.legal-content ol li { list-style: decimal; }

/* ========== CONTACT FORM ========== */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-primary);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,140,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ========== GALLERY/SCREENSHOTS ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.gallery-item:hover { border-color: var(--primary); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-image { flex: 0 0 auto; order: -1; }
  .hero-image img { max-width: 280px; margin: 0 auto; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-menu, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .download-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .features-grid, .features-grid-3 { grid-template-columns: 1fr; }
  .characters-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
