/* ============================================
   SAGAR CLUB — MASTER STYLESHEET
   ============================================ */

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

:root {
  --bg-deep: #07070a;
  --bg-charcoal: #0d0d14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(139, 92, 246, 0.3);
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --gold: #f59e0b;
  --red: #ef4444;
  --green: #10b981;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 8px 36px rgba(139, 92, 246, 0.35);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; }

/* ---------- BACKGROUND GLOW ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.14;
  animation: floatGlow 22s ease-in-out infinite alternate;
}
.bg-glow::before { background: var(--violet); top: -250px; left: -200px; }
.bg-glow::after  { background: var(--cyan);   bottom: -300px; right: -200px; animation-delay: -11s; }

@keyframes floatGlow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 80px) scale(1.15); }
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 7, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7, 7, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--violet-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin: 0 20px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--violet-bright);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 38px; font-size: 1rem; }

/* ---------- HERO (Home) ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 5% 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--violet-bright);
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--transition) both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
  animation: fadeUp 0.8s var(--transition) 0.1s both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--violet-bright), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 38px;
  animation: fadeUp 0.8s var(--transition) 0.2s both;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s var(--transition) 0.3s both;
}
.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s var(--transition) 0.4s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.trust-item svg { width: 16px; height: 16px; stroke: var(--cyan); fill: none; stroke-width: 2; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- PAGE HERO (Inner pages) ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 140px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .sep { opacity: 0.5; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 32px;
}

/* ---------- SECTIONS ---------- */
section {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
section.compact { padding: 50px 5%; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--cyan); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 48px;
  font-size: 1rem;
}

/* ---------- GLASS CARDS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}
.glass-card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.glass-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.glass-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---------- INFO NOTICE (Login/Register pages) ---------- */
.info-notice {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  margin-bottom: 40px;
}
.info-notice h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 14px;
}
.info-notice p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 0.95rem;
}
.info-notice .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- HOW IT WORKS ---------- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 26px;
  backdrop-filter: blur(16px);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--violet-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.35;
  position: absolute;
  top: 14px; right: 22px;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin: 16px 0 10px; }
.step-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(139, 92, 246, 0.2); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  transition: var(--transition);
  flex-shrink: 0;
  font-weight: 300;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition);
}
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- CONTENT SECTION (About, Policy, etc.) ---------- */
.content-section {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(12px);
  line-height: 1.85;
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--violet-bright); }
.content-section p { color: var(--text-secondary); margin-bottom: 14px; font-size: 0.94rem; }
.content-section ul, .content-section ol {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.content-section li { margin-bottom: 8px; }
.content-section a { color: var(--cyan); text-decoration: none; }
.content-section a:hover { text-decoration: underline; }
.content-section strong { color: var(--text-primary); }

/* ---------- DISCLAIMER BOX ---------- */
.disclaimer-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
}
.disclaimer-box h3 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclaimer-box p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.disclaimer-box p:last-child { margin-bottom: 0; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.3), transparent 60%);
}
.blog-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-meta .tag { color: var(--cyan); }
.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a { text-decoration: none; color: inherit; transition: var(--transition); }
.blog-card h3 a:hover { color: var(--violet-bright); }
.blog-card p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.read-more {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.read-more:hover { color: var(--violet-bright); gap: 10px; }

/* Single post */
.post-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.9;
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 32px 0 14px;
  color: var(--violet-bright);
}
.post-content h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.post-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; color: var(--text-secondary); }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--cyan); }
.post-content blockquote {
  border-left: 3px solid var(--violet);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---------- CONTACT CARDS ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}
.contact-card .ci {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.9rem; color: var(--text-secondary); word-break: break-word; }
.contact-card a { color: var(--cyan); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 60px 5% 30px;
  max-width: 1200px;
  margin: 60px auto 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; }
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(7, 7, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 5%;
    gap: 4px;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    transition: transform 0.4s var(--transition);
    margin: 0;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 12px 0;
    width: 100%;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links a::after { display: none; }
  .mobile-toggle { display: block; }
  .nav-cta .btn { padding: 8px 16px; font-size: 0.78rem; }
  .nav-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .content-section, .post-content { padding: 28px; }
}

@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .hero { padding-top: 110px; }
  .hero-trust { gap: 20px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .disclaimer-box { padding: 22px; }
  .info-notice { padding: 28px 22px; }
}