/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #e94560; text-decoration: none; transition: color 0.2s; }
a:hover { color: #c73650; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* === Header === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.4rem; font-weight: 800; color: #fff !important;
  letter-spacing: 1px; display: flex; align-items: center; gap: 0.5rem;
}
.logo-img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: #1a1a2e; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: #e94560; }
.nav-toggle {
  display: none; background: none; border: none; color: #1a1a2e;
  font-size: 1.5rem; cursor: pointer;
}

/* === Hero === */
.hero {
  margin-top: 64px;
  height: 60vh; min-height: 400px;
  background-size: cover; background-position: center 30%;
  display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
  text-align: center; color: #fff; padding: 2rem;
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  max-width: 700px;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.8rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: #e94560; color: #fff !important; }
.btn-primary:hover { background: #c73650; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(233,69,96,0.4); }
.btn-outline { border: 2px solid #fff; color: #fff !important; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* === Feature Cards === */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; padding-top: 4rem; padding-bottom: 4rem;
}
.feature-card {
  background: #fff; border-radius: 12px; padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: #555; margin-bottom: 1rem; }
.feature-link { font-weight: 600; font-size: 0.95rem; }

/* === CTA Section === */
.cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff; text-align: center; padding: 4rem 1.5rem;
}
.cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === Page Content === */
.page { padding: 6rem 0 4rem; margin-top: 64px; }
.page-title {
  font-size: 2.2rem; font-weight: 800; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 3px solid #e94560;
}
.page h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #1a1a2e; }
.page h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.page p { margin-bottom: 1rem; color: #333; }
.page ul, .page ol { margin: 0.5rem 0 1rem 1.5rem; color: #333; }
.page li { margin-bottom: 0.35rem; }
.page hr { border: none; border-top: 1px solid #e0e0e0; margin: 2.5rem 0; }

/* === Tables === */
.page table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; border-radius: 8px; overflow: hidden; }
.page th { background: #1a1a2e; color: #fff; padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.9rem; }
.page td { padding: 0.65rem 1rem; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.page tr:hover td { background: #f8f8fa; }

/* === Footer === */
.site-footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 3rem 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand .logo { font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 0.25rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 1.5rem; gap: 0.75rem;
  }
  .site-nav.open { display: flex; }
  .hero { height: 70vh; min-height: 400px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .features { grid-template-columns: 1fr; }
  .page { padding-top: 4rem; }
  .page-title { font-size: 1.7rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* === Page Intro === */
.page-intro { font-size: 1.15rem; color: #555; margin-bottom: 2rem; }

/* === Rules Grid === */
.rules-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.rule-section {
  background: #f8f8fa; border-radius: 12px; padding: 2rem;
  border-left: 4px solid #e94560;
}
.rule-section h2 { margin-top: 0; font-size: 1.3rem; border: none; padding: 0; margin-bottom: 1rem; }
.rule-section ul { margin-top: 0.5rem; }

/* === Callout Boxes === */
.callout {
  padding: 1.25rem 1.5rem; border-radius: 10px; margin: 1.5rem 0;
  font-size: 1.05rem;
}
.callout-danger {
  background: linear-gradient(135deg, #fff5f5, #ffe0e6);
  border: 1px solid #fcc;
  color: #8b1a2b;
}

/* === Tips Grid === */
.tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem; margin: 1.5rem 0;
}
.tip {
  background: #f8f8fa; padding: 1rem 1.25rem; border-radius: 8px;
  font-size: 0.95rem; color: #333;
}

@media (max-width: 768px) {
  .tips-grid { grid-template-columns: 1fr; }
}
