:root {
  --bg-grad: linear-gradient(135deg, #F3F6FF 0%, #FFF0F9 100%);
  --text-dark: #1D1A38;
  --text-light: #6A6882;
  --pink: #FF5CCE;
  --green: #00F5A0;
  --yellow: #FFD500;
  --blue: #2E9BFF;
  --purple: #8A2BE2;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: 0 8px 32px rgba(46, 155, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  --grad-btn: linear-gradient(135deg, #2E9BFF 0%, #8A2BE2 100%);
  --grad-text: linear-gradient(135deg, #2E9BFF 0%, #FF5CCE 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-grad);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Glow Backgrounds */
.glow-bg {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}
.glow-1 { width: 400px; height: 400px; background: rgba(46, 155, 255, 0.2); top: -100px; left: -100px; }
.glow-2 { width: 500px; height: 500px; background: rgba(255, 92, 206, 0.15); bottom: 10%; right: -100px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #2E9BFF, #8A2BE2) 1;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-box { display: flex; align-items: center; gap: 12px; font-weight: bold; font-size: 20px; }
.logo-box img { height: 36px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--text-light); }
.nav-links a:hover { color: var(--pink); }
.nav-btn {
  background: var(--grad-btn);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
  transition: transform 0.2s;
}
.nav-btn:hover { transform: scale(1.05); }

/* Section Spacing */
section {
  padding: 90px 0 !important;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
h2 { font-size: 28px; margin-bottom: 40px !important; text-align: center; position: relative; }
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--grad-text);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  max-width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  z-index: 1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243, 246, 255, 0.8) 0%, rgba(255, 240, 249, 0.9) 100%);
  z-index: 2;
}
.hero-card {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--glass-border);
  max-width: 800px;
  margin: 40px 24px;
}
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 92, 206, 0.1);
  color: var(--pink);
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}
.hero-card h1 { font-size: 42px; line-height: 1.3; margin-bottom: 20px; }
.hero-card h1 span { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-card p { color: var(--text-light); font-size: 16px; margin-bottom: 30px; }
.hero-btns { display: flex; justify-content: center; gap: 16px; }
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(46, 155, 255, 0.4);
}
.btn-outline {
  border: 2px solid #2E9BFF;
  color: #2E9BFF;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
}

/* Stats Bar */
.stats-bar {
  background: var(--grad-btn);
  color: #fff;
  padding: 30px 24px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 100%;
}
.stats-slogan { font-size: 20px; font-weight: bold; }
.stats-grid { display: flex; gap: 40px; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 32px; font-weight: bold; display: block; }
.stat-item .label { font-size: 14px; opacity: 0.9; }

/* Today */
.today-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.today-main {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--glass-border);
  overflow: hidden;
  position: relative;
}
.today-main img { width: 100%; height: 400px; object-fit: cover; }
.today-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--pink);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}
.today-info { padding: 24px; }
.today-info h3 { font-size: 22px; margin-bottom: 10px; }
.today-info p { color: var(--text-light); font-size: 14px; }

.today-list { display: flex; flex-direction: column; gap: 16px; }
.list-item {
  background: rgba(255, 240, 249, 0.8);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(255, 92, 206, 0.05);
}
.list-item:nth-child(even) { background: rgba(243, 246, 255, 0.8); }
.list-num {
  font-size: 28px;
  font-weight: bold;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 30px;
}
.list-item img { width: 48px; height: 64px; border-radius: 8px; object-fit: cover; }
.list-item span { font-size: 15px; font-weight: bold; }
.list-more {
  text-align: center;
  background: var(--grad-btn);
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  font-weight: bold;
  display: block;
}

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding-top: 20px; }
.cat-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 30px 10px;
  text-align: center;
  box-shadow: var(--glass-border);
  position: relative;
  transition: all 0.3s;
}
.cat-card:nth-child(odd) { transform: translateY(20px); }
.cat-card:nth-child(1) { background: rgba(255, 240, 249, 0.7); }
.cat-card:nth-child(2) { background: rgba(243, 246, 255, 0.7); }
.cat-card:nth-child(3) { background: rgba(245, 240, 255, 0.7); }
.cat-card:nth-child(4) { background: rgba(255, 250, 230, 0.7); }
.cat-card:nth-child(5) { background: rgba(255, 240, 249, 0.7); }
.cat-card:nth-child(6) { background: rgba(243, 246, 255, 0.7); }
.cat-card:hover { transform: rotate(-2deg) translateY(-10px); box-shadow: 0 10px 25px rgba(46, 155, 255, 0.2); }
.cat-icon { font-size: 24px; margin-bottom: 10px; }
.cat-card h3 { font-size: 16px; color: var(--text-dark); }

/* Howto */
.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-list { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; align-items: center; gap: 16px; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}
.step-item h3 { font-size: 18px; }
.howto-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.howto-card {
  background: #fff;
  border-left: 4px solid var(--pink);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(255, 92, 206, 0.1);
}
.howto-card p { font-size: 14px; color: var(--text-light); }

/* Gallery */
.gallery-section { background: #0B0F19; color: #fff; max-width: 100%; padding: 90px 24px !important; }
.gallery-section h2 { color: #fff; }
.gallery-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: center; }
.gallery-text h3 { font-size: 32px; margin-bottom: 20px; }
.gallery-text p { color: rgba(255, 255, 255, 0.7); margin-bottom: 30px; }
.gallery-imgs {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.gal-img {
  width: 120px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(46, 155, 255, 0.4);
  transition: all 0.3s;
}
.gal-img:nth-child(1) { transform: rotate(-4deg) translateY(15px); }
.gal-img:nth-child(2) { transform: rotate(2deg) translateY(-10px); }
.gal-img:nth-child(3) { transform: rotate(-2deg) translateY(20px); }
.gal-img:nth-child(4) { transform: rotate(5deg) translateY(-5px); }
.gal-img:hover { transform: rotate(0) translateY(0) scale(1.1); z-index: 2; }

/* Board */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--glass-border);
}
.board-card {
  background: linear-gradient(135deg, rgba(243, 246, 255, 0.9), rgba(255, 240, 249, 0.9));
  border-radius: 20px;
  padding: 24px;
  position: relative;
}
.board-rank {
  font-size: 48px;
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 15px;
  color: transparent;
  -webkit-text-stroke: 2px #2E9BFF;
  opacity: 0.3;
}
.board-card h3 { font-size: 18px; margin-top: 30px; margin-bottom: 10px; }
.board-bar { height: 8px; background: rgba(46, 155, 255, 0.1); border-radius: 4px; overflow: hidden; margin-top: 15px; }
.board-bar div { height: 100%; background: var(--grad-btn); border-radius: 4px; }

/* Tickets */
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticket {
  background: rgba(255, 240, 249, 0.8);
  padding: 30px 20px;
  position: relative;
  clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 95% 50%, 100% 60%, 100% 100%, 0% 100%, 0% 60%, 5% 50%, 0% 40%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ticket:nth-child(2) { background: rgba(243, 246, 255, 0.8); }
.ticket:nth-child(3) { background: rgba(255, 250, 230, 0.8); }
.ticket-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }
.ticket-stars { color: var(--pink); letter-spacing: 2px; }
.ticket p { font-size: 15px; font-style: italic; color: var(--text-dark); }
.ticket-user { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.ticket-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.ticket-user span { font-size: 14px; font-weight: bold; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
details {
  background: linear-gradient(135deg, rgba(243, 246, 255, 0.8), rgba(255, 240, 249, 0.8));
  border-radius: 16px;
  padding: 18px 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
details summary {
  font-weight: bold;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '▼';
  font-size: 12px;
  color: var(--blue);
  transition: transform 0.3s;
}
details[open] summary::after { transform: rotate(180deg); }
details p { margin-top: 15px; font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Download */
.download-container {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: var(--glass-border);
}
.download-container::before,
.download-container::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid transparent;
}
.download-container::before {
  top: 0; left: 0;
  border-top-color: var(--blue);
  border-left-color: var(--purple);
  border-top-left-radius: 30px;
}
.download-container::after {
  bottom: 0; right: 0;
  border-bottom-color: var(--pink);
  border-right-color: var(--yellow);
  border-bottom-right-radius: 30px;
}
.dl-content h2 { text-align: left; margin-bottom: 20px !important; }
.dl-content h2::after { margin: 12px 0 0; }
.dl-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(46, 155, 255, 0.2);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
  font-size: 15px;
  outline: none;
}
.dl-btn {
  display: block;
  text-align: center;
  background: var(--grad-btn);
  color: #fff;
  padding: 16px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
  margin-bottom: 20px;
}
.dl-params { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-light); }
.dl-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* Footer */
footer { background: rgba(255, 255, 255, 0.5); padding: 60px 24px 20px; border-top: 1px solid rgba(46, 155, 255, 0.1); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 24px; }
.footer-brand p { font-size: 14px; color: var(--text-light); margin-top: 10px; }
.footer-nav h3 { font-size: 16px; margin-bottom: 15px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: var(--text-light); }
.footer-dl { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.footer-btn {
  background: var(--grad-btn);
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(46, 155, 255, 0.4);
}
.footer-dl small { color: var(--text-light); font-size: 12px; text-align: center; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; text-align: center; font-size: 12px; color: var(--text-light); border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }

@media (max-width: 1024px) {
  .hero-card h1 { font-size: 34px; }
  .today-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .howto-grid { grid-template-columns: 1fr; }
  .gallery-inner { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
  .download-container { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-card { padding: 30px 20px; margin: 20px 16px; }
  .hero-card h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .stats-bar { flex-direction: column; text-align: center; }
  .stats-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card:nth-child(odd) { transform: none; }
  .howto-cards { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; padding: 20px; }
  .ticket-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .gallery-imgs { flex-wrap: wrap; }
  .gal-img { width: 45%; height: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-nav ul { align-items: center; }
}