@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800;900&family=Rajdhani:wght@600;700;800&display=swap');

/* --- MASTER THEME VARS --- */
:root {
  --bg-main: #0F131A; 
  --bg-gradient: radial-gradient(circle at 50% -20%, #1c2333, var(--bg-main));
  --surface: #151921;
  --surface-bright: #1E232E; 
  --border: rgba(255, 255, 255, 0.08);
  --accent: #E50914; 
  --gold: #FFD700;
  --green: #00E676; 
  --blue: #2196F3;
  --text: #FFFFFF;
  --text-muted: #A0A6B2;
  --nav-height: 80px;
  --radius: 12px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }
* { -ms-overflow-style: none !important; scrollbar-width: none !important; }
*::-webkit-scrollbar { display: none !important; }

html, body {
  width: 100%; overflow-x: hidden; 
  background: var(--bg-main); background-image: var(--bg-gradient); 
  background-attachment: fixed; color: var(--text);
  font-family: 'Inter', sans-serif; min-height: 100vh; line-height: 1.6;
}

a, button { text-decoration: none; color: inherit; cursor: pointer; border: none; background: none; transition: 0.3s; }
img { display: block; max-width: 100%; height: auto; user-select: none; }

/* --- NAVIGATION (Unified) --- */
.nav, .navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 500; display: flex; align-items: center; padding: 0 4%; }
.navbar { background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%); position: absolute; } /* Home Nav */
.nav.sticky { background: rgba(15,19,26,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); } /* Other Pages */

.nav-inner { width: 100%; max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-text { font-family: 'Outfit'; font-weight: 800; font-size: 24px; color: #fff; letter-spacing: -0.5px; }
.logo-img { height: 35px; }

.back-btn { 
  display: flex; align-items: center; gap: 8px; 
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); 
  padding: 8px 20px; border-radius: 50px; 
  color: #fff; font-weight: 600; font-size: 14px; transition: 0.3s; 
}
.back-btn:hover { background: #fff; color: #000; transform: translateY(-2px); }

/* --- COMMON PAGE LAYOUTS --- */
.container { max-width: 1000px; margin: 0 auto; padding: 40px 20px 100px; }

/* Text Hero (About/Privacy/Terms) */
.text-hero { text-align: center; margin-bottom: 60px; margin-top: 40px; }
.badge { background: rgba(255,215,0,0.1); color: var(--gold); font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(255,215,0,0.2); text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.page-title { font-family: 'Outfit'; font-size: clamp(36px, 6vw, 64px); font-weight: 900; margin-bottom: 15px; line-height: 1.1; color: #fff; }
.page-desc { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.updated-date { color: var(--text-muted); font-size: 14px; opacity: 0.8; display: block; margin-top: 10px; }

/* --- CARDS (About Page) --- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 80px; }
.feature-card { background: linear-gradient(145deg, #1A1F26, #12151A); border: 1px solid var(--border); border-radius: 24px; padding: 35px; position: relative; overflow: hidden; transition: 0.4s; display: flex; flex-direction: column; height: 100%; }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5); }
.feature-card::after { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--border); transition: 0.3s; }
.feature-card:hover::after { background: var(--accent); }

.icon-box { width: 56px; height: 56px; background: rgba(255,255,255,0.03); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 25px; border: 1px solid var(--border); }
.c-head { font-family: 'Outfit'; font-size: 22px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.c-body { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* --- POLICY & TERMS STYLES --- */
.policy-grid { display: grid; gap: 25px; }
.policy-card, .term-block { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 35px; transition: 0.3s; position: relative; }
.policy-card:hover { border-color: var(--green); transform: translateX(5px); }

.term-block { padding-left: 30px; border-left: 3px solid var(--border); }
.term-block:hover { border-left-color: var(--gold); background: var(--surface-bright); }

.p-head { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.p-icon { width: 45px; height: 45px; border-radius: 12px; background: rgba(0,230,118,0.1); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.p-title, .term-head { font-family: 'Outfit'; font-size: 20px; font-weight: 700; color: #fff; }
.p-text, .term-text { color: var(--text-muted); font-size: 16px; }

.term-num { font-family: 'Outfit'; font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 10px; display: block; opacity: 0.8; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border); padding: 60px 0; text-align: center; color: var(--text-muted); font-size: 13px; background: #0d1117; margin-top: auto; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 25px; font-weight: 600; font-family: 'Outfit'; }
.footer-links a:hover { color: var(--accent); }

/* --- ANIMATIONS --- */
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); } }
.pulse-dot { width: 10px; height: 10px; background: var(--green); border-radius: 50%; position: absolute; top: 10px; right: 10px; animation: pulse 2s infinite; }

/* MOBILE */
@media (max-width: 768px) {
  .text-title { font-size: 36px; }
  .grid-features { grid-template-columns: 1fr; }
  .nav { padding: 0 5%; }
  .container { padding: 30px 20px; }
}