/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, ol { list-style: none; }
a { text-decoration: none; color: #64b7e3; }
a:hover { color: #9bccff; }
img { max-width: 100%; vertical-align: middle; }

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: 'Segoe UI', 'Lucida Grande', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #d0d8e0;
  background: #061e3a;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  width: 100%;
  height: 60px;
  background: rgba(1, 30, 58, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.logo {
  display: block;
  background: url(/images/title.png) no-repeat;
  background-size: contain;
  width: 210px;
  height: 44px;
  margin-top: 8px;
  margin-left: 5px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 60px;
}

.shop-link {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  transition: background-color 0.3s;
}

.shop-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: relative;
  height: 60px;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0 16px;
  font-size: 14px;
  height: 60px;
  transition: background-color 0.3s;
}

.lang-current:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.flag-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 4px 4px 0;
  border-color: #fff transparent transparent;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 600;
  padding: 8px 0;
  background: rgba(8, 31, 58, 0.97);
  backdrop-filter: blur(10px);
  border-radius: 0 0 8px 8px;
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

.lang-switcher:hover .lang-dropdown { display: block; }

.lang-dropdown li {
  padding: 0;
  margin: 2px 0;
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 38px;
  line-height: 38px;
  color: #fff;
  font-size: 14px;
  transition: background-color 0.3s;
}

.lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroPan 25s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0%   { object-position: 100% center; }
  100% { object-position: 0% center; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 30, 58, 0.35) 0%,
    rgba(6, 30, 58, 0.65) 60%,
    rgba(6, 30, 58, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 20px;
}

.hero-text-box {
  display: inline-block;
  max-width: 520px;
  padding: 44px 40px;
  background: radial-gradient(ellipse at center, rgba(6, 30, 58, 0.4) 0%, transparent 70%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #ffd700, #e6a800);
  color: #1a1a2e;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  color: #1a1a2e;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #ffd700;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.05);
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #fff;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #e6a800);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-title.light {
  color: #fff;
}

/* ===== Features Section ===== */
.features {
  padding: 80px 0;
  background: linear-gradient(180deg, #061e3a 0%, #0a2d54 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== Highlights Section ===== */
.highlights {
  padding: 80px 0;
  background: #071f3b;
  position: relative;
}

.highlights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.highlight-item {
  text-align: center;
  padding: 24px 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.highlight-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.highlight-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.highlight-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ===== Download Section ===== */
.download {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a2d54 0%, #0d3a6a 50%, #0a2d54 100%);
  text-align: center;
}

.download-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -32px;
  margin-bottom: 48px;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.download-btn {
  display: block;
  width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.download-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.download-btn img {
  width: 100%;
  display: block;
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ===== Community Section ===== */
.community {
  padding: 80px 0;
  background: #071f3b;
  text-align: center;
}

.community-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: -24px auto 40px;
  line-height: 1.7;
}

.community-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #5865F2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.discord-btn:hover {
  background: #4752C4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0 24px;
  background: #041529;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  width: 180px;
  margin-bottom: 16px;
}

.footer-declare {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  max-width: 500px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== CNZZ ===== */
.analytics {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== Article Page ===== */
.article-page {
  background: #fff;
  min-height: 100vh;
  padding: 20px;
}

.article-page #article-content {
  max-width: 880px;
  margin: 0 auto;
  color: #333;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 30px;
}

.article-page #article-content img {
  max-width: 100%;
  height: auto !important;
}

/* ===== Privacy / Terms ===== */
.policy-page {
  background: #fff;
  color: #333;
  min-height: 100vh;
  padding: 1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.policy-page strong {
  display: block;
  font-size: 18px;
  margin: 16px 0 8px;
}

.policy-page p {
  margin: 10px 0;
}

.policy-page ul {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0;
}

/* ===== Account Deletion ===== */
.deletion-page {
  background: #fff;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.deletion-container {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 0 20px;
}

.deletion-container h2 {
  color: #333;
  margin-bottom: 24px;
  font-weight: 600;
}

.deletion-form {
  text-align: left;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.form-row label {
  width: 120px;
  text-align: right;
  font-size: 14px;
  flex-shrink: 0;
}

.form-row input {
  flex: 1;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-tip {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 12px 0;
}

.form-buttons {
  text-align: center;
  padding-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.form-buttons button {
  width: 100px;
  height: 36px;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f5f5f5;
  transition: background 0.2s;
}

.form-buttons button:hover {
  background: #e8e8e8;
}

.form-buttons button.primary {
  background: #1a74b0;
  color: #fff;
  border-color: #1a74b0;
}

.form-buttons button.primary:hover {
  background: #155d8e;
}

/* ===== 404 ===== */
.not-found-page {
  background: #ECEFF1;
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.not-found-box {
  background: #fff;
  max-width: 360px;
  padding: 32px 24px 16px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.not-found-box h2 {
  color: #ffa100;
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 8px;
}

.not-found-box h1 {
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 16px;
}

.not-found-box p {
  line-height: 1.4;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}

/* ===== Service Page ===== */
.service-page {
  margin: 0;
  min-height: 100vh;
}

.service-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero {
    min-height: 440px;
  }

  .hero-text-box {
    padding: 36px 32px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-declare {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 380px;
  }

  .hero-content {
    padding: 32px 16px;
  }

  .hero-text-box {
    padding: 28px 20px;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 28px;
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .features, .highlights, .download, .community {
    padding: 60px 0;
  }

  .download-btn {
    width: 160px;
  }

  .header-inner {
    padding: 0 10px;
  }

  .logo {
    width: 150px;
    height: 32px;
    margin-top: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .not-found-page {
    padding-top: 0;
  }

  .not-found-box {
    margin-top: 0;
    box-shadow: none;
    border-radius: 0;
    border-top: 16px solid #ffa100;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .form-row label {
    width: auto;
    text-align: left;
  }

  .form-row input {
    width: 100%;
  }
}
