:root {
  --primary: #8A2BE2;
  --secondary: #FF1493;
  --accent: #FFA500;
  --bg-color: #FFF8F9;
  --text-main: #333333;
  --text-light: #666666;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 8px 32px rgba(138, 43, 226, 0.08);
  --shadow-hover: 0 12px 48px rgba(255, 20, 147, 0.15);
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Header */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px 30px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.logo-group::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.logo-group img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-main);
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.nav-download {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
}

.nav-download::after {
  display: none;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(138, 43, 226, 0.15);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--secondary);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-desc {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.hero-img-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.hero-img-container img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 40px 20px 20px;
  color: white;
  text-align: left;
}

.hero-img-overlay h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--accent);
}

.hero-img-overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 16px;
}

/* Cinema Grid */
.cinema-block {
  margin-bottom: 60px;
}

.cinema-block h3 {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cinema-block h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.card-img-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px;
  color: var(--text-main);
}

.card-text {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Testimonials */
.testimonials {
  background: rgba(255, 20, 147, 0.03);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  margin: 40px 0;
}

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

.note-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
  border-left: 4px solid var(--accent);
}

.note-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 40px;
  color: rgba(255, 165, 0, 0.2);
  line-height: 1;
}

.note-text {
  font-size: 14px;
  color: var(--text-main);
  margin: 0 0 16px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.note-author {
  font-size: 13px;
  color: var(--primary);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-author::before {
  content: '♥';
  color: var(--secondary);
  font-size: 12px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.faq-img-container img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

details:hover {
  background: white;
  box-shadow: var(--shadow-soft);
}

summary {
  font-weight: bold;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 20px;
  color: var(--secondary);
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px dashed rgba(138, 43, 226, 0.2);
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 20, 147, 0.1));
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  animation: rotateBg 20s linear infinite;
  z-index: 0;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-content h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.download-content p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.btn-download {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 16px 48px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(255, 20, 147, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 20, 147, 0.4);
}

/* Footer */
.site-footer {
  background: linear-gradient(to bottom, #2a0845, #11001c);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
  font-size: 13px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  font-size: 20px;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-desc {
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-info a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-info a:hover {
  color: white;
}

/* About Details in Footer */
details.footer-about {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  width: 100%;
  max-width: 800px;
  box-shadow: none;
}

details.footer-about summary {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: normal;
  cursor: pointer;
  display: inline-block;
  padding: 8px 0;
}

details.footer-about summary::after {
  display: none;
}

details.footer-about summary:hover {
  color: rgba(255, 255, 255, 0.8);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.about-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.about-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .header-wrapper {
    top: 10px;
  }
  
  .nav-bar {
    padding: 10px 16px;
    width: 95%;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
  }
  
  .faq-img-container {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .download-section {
    padding: 50px 20px;
  }
  
  .download-content h2 {
    font-size: 28px;
  }
  
  .grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
}