/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nm-bg: #1e1e2e;
  --nm-surface: #252538;
  --nm-light: #2e2e44;
  --nm-shadow-dark: #13131f;
  --nm-shadow-light: #292940;
  --nm-accent: #a78bfa;
  --nm-accent-2: #7c3aed;
  --nm-text: #e2e2f0;
  --nm-muted: #7b7b9d;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 18px;
  --transition: 0.3s ease;

  /* Neumorphic shadows */
  --nm-raised: 6px 6px 14px var(--nm-shadow-dark), -4px -4px 10px var(--nm-shadow-light);
  --nm-inset: inset 4px 4px 10px var(--nm-shadow-dark), inset -4px -4px 10px var(--nm-shadow-light);
  --nm-raised-sm: 4px 4px 10px var(--nm-shadow-dark), -3px -3px 8px var(--nm-shadow-light);
  --nm-inset-sm: inset 3px 3px 7px var(--nm-shadow-dark), inset -2px -2px 6px var(--nm-shadow-light);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--nm-bg);
  color: var(--nm-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: var(--nm-bg);
  box-shadow: 0 4px 16px var(--nm-shadow-dark), 0 -1px 6px var(--nm-shadow-light);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--nm-raised-sm);
  border: 2px solid rgba(167,139,250,0.35);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #a78bfa);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rgbText 4s linear infinite;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--nm-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: var(--nm-bg);
  box-shadow: var(--nm-raised-sm);
  transition: color var(--transition), box-shadow var(--transition);
}

.nav-links a:hover {
  color: var(--nm-accent);
  box-shadow: var(--nm-inset-sm);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
  background: var(--nm-bg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* Badge greeting */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--nm-bg);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #c4b5fd;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  box-shadow: var(--nm-raised-sm);
  animation: fadeSlideUp 0.7s ease both;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nm-accent);
  box-shadow: 0 0 8px var(--nm-accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-sub-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero-title {
  font-size: unset !important;
  line-height: 1 !important;
  margin-bottom: 1.2rem;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  animation: fadeSlideUp 0.9s 0.2s ease both;
}

.hero-title-rgb {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1;
  display: inline-block;
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #f9a8d4, #a78bfa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rgbText 4s linear infinite, heroGlow 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(167,139,250,0.5));
}

@keyframes rgbText {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes heroGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(167,139,250,0.4)); }
  50%       { filter: drop-shadow(0 0 36px rgba(167,139,250,0.9)) drop-shadow(0 0 70px rgba(96,165,250,0.3)); }
}

.hero-title-rgb::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cursorBlink 0.7s step-end infinite;
  font-weight: 300;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.2rem;
  max-width: 420px;
  line-height: 1.7;
  animation: fadeSlideUp 1s 0.3s ease both;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fadeSlideUp 1.1s 0.4s ease both;
}

/* Primary button — neumorphic */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: var(--nm-bg);
  color: var(--nm-accent);
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), color var(--transition);
}

.btn-primary:hover {
  box-shadow: var(--nm-inset);
  color: #c4b5fd;
}

.btn-inner { position: relative; z-index: 1; }

.btn-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: btnShine 2.5s ease-in-out infinite;
  transform: skewX(-20deg);
}

@keyframes btnShine {
  0%   { left: -100%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* Guild button */
.btn-guild {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--nm-bg);
  color: #4ade80;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-guild:hover {
  box-shadow: var(--nm-inset);
  color: #86efac;
}

.btn-guild-logo {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(74,222,128,0.4);
}

.guild-desc {
  font-size: 0.82rem;
  color: var(--nm-muted);
  margin-top: 0.2rem;
  max-width: 480px;
  line-height: 1.55;
}

/* Hero decoration circles */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.circle-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--nm-accent), transparent 70%);
  top: -100px; right: -100px;
}

.circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  bottom: 60px; right: 30%;
  opacity: 0.04;
}

.circle-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  top: 30%; right: 15%;
  opacity: 0.07;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .hero-title-rgb { font-size: clamp(3.2rem, 20vw, 5.5rem); letter-spacing: 3px; }
  .hero-sub-label { font-size: 0.65rem; letter-spacing: 4px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .btn-guild { width: 100%; justify-content: center; }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 7rem 0;
  background: var(--nm-bg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--nm-text), var(--nm-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--nm-muted);
  font-size: 1rem;
  margin-bottom: 3.5rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ===== FEATURE CARD — Neumorphic ===== */
.feature-card {
  background: var(--nm-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--nm-raised);
  border: none;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.feature-card:hover {
  box-shadow: var(--nm-inset);
  transform: translateY(2px);
}

.feature-card.placeholder {
  opacity: 0.5;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--nm-text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--nm-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem;
  background: var(--nm-bg);
  box-shadow: 0 -4px 16px var(--nm-shadow-dark);
  color: var(--nm-muted);
  font-size: 0.85rem;
}

.footer strong { color: var(--nm-accent); }

/* ===========================
   MODAL OVERLAY — Neumorphic
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 13, 20, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--nm-bg);
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--nm-raised), 0 0 0 1px rgba(167,139,250,0.08);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(167,139,250,0.25) transparent;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: var(--nm-bg);
  border: none;
  color: var(--nm-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  box-shadow: var(--nm-raised-sm);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow var(--transition), color var(--transition);
}

.modal-close:hover {
  box-shadow: var(--nm-inset-sm);
  color: var(--nm-accent);
}

/* Modal header */
.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nm-text);
  margin-bottom: 0.2rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--nm-muted);
}

/* Modal form inputs */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-form input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 12px;
  color: var(--nm-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(167,139,250,0.25);
}

.modal-form input::placeholder { color: var(--nm-muted); }

/* Confirm button — neumorphic pressed */
.btn-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 12px;
  color: var(--nm-accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), color var(--transition), opacity var(--transition);
}

.btn-confirm:hover {
  box-shadow: var(--nm-inset);
  color: #c4b5fd;
}

.btn-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: var(--nm-inset-sm);
}

/* Reset button */
.btn-reset {
  width: 100%;
  padding: 0.75rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.btn-reset:hover {
  box-shadow: var(--nm-inset-sm);
  color: var(--nm-accent);
}

/* Spinner */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(167,139,250,0.2);
  border-top-color: var(--nm-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ff-error, .ff-hint {
  font-size: 0.82rem;
  color: #f87171;
  text-align: center;
}

.ff-hint { color: var(--nm-muted); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hidden { display: none !important; }

/* ===========================
   FREE FIRE FEATURE CARD
   =========================== */
.ff-card {
  position: relative;
  overflow: hidden;
}

.ff-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ff-logo {
  width: 52px; height: 52px;
  filter: drop-shadow(0 0 8px rgba(255,107,0,0.4));
}

.ff-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #ffcc00;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.ff-cta {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #ff8c42;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* FF Modal */
.ff-logo-sm {
  width: 44px; height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,107,0,0.4));
}

/* FF Result */
.ff-result { margin-top: 1.5rem; animation: fadeIn 0.4s ease; }

.ff-profile-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: var(--nm-bg);
  border-radius: 14px;
  box-shadow: var(--nm-inset-sm);
}

.ff-avatar-img {
  width: 72px; height: 72px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--nm-raised-sm);
  flex-shrink: 0;
}

.ff-profile-info { flex: 1; min-width: 0; }

.ff-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.ff-username {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--nm-text);
  word-break: break-all;
}

.ff-title-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  color: #ffcc00;
  background: var(--nm-bg);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
  white-space: nowrap;
}

.ff-uid-label { font-size: 0.78rem; color: var(--nm-muted); display: block; margin-bottom: 0.4rem; }
.ff-bio { font-size: 0.8rem; color: var(--nm-muted); word-break: break-word; line-height: 1.5; }

/* Stats Grid */
.ff-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ff-stat-card {
  background: var(--nm-bg);
  border-radius: 12px;
  padding: 0.8rem 0.6rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: var(--nm-inset-sm);
}

.ff-stat-label { font-size: 0.7rem; color: var(--nm-muted); letter-spacing: 0.5px; text-transform: uppercase; }
.ff-stat-value { font-size: 1.05rem; font-weight: 700; color: #ffcc00; }

/* Info Rows */
.ff-info-rows { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

.ff-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.8rem;
  background: var(--nm-bg);
  border-radius: 10px;
  font-size: 0.85rem;
  gap: 0.5rem;
  box-shadow: var(--nm-inset-sm);
}

.ff-info-row span:first-child { color: var(--nm-muted); flex-shrink: 0; }
.ff-info-row span:last-child { color: var(--nm-text); text-align: right; word-break: break-word; }

/* Guild Box */
.ff-guild-box {
  background: var(--nm-bg);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  box-shadow: var(--nm-inset-sm);
}

.ff-guild-title { font-size: 0.85rem; font-weight: 600; color: #ff8c42; margin-bottom: 0.3rem; letter-spacing: 0.5px; }

/* ===========================
   INSTAGRAM FEATURE CARD
   =========================== */
.ig-card { position: relative; overflow: hidden; }

.ig-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ig-logo {
  width: 52px; height: 52px;
  filter: drop-shadow(0 0 8px rgba(238,42,123,0.4));
}

.ig-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #ee2a7b;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.ig-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #ee2a7b; font-weight: 500; letter-spacing: 0.5px; }

/* IG Modal */
.ig-modal-overlay .ig-modal-box {
  scrollbar-color: rgba(238,42,123,0.3) transparent;
}

.ig-logo-sm {
  width: 44px; height: 44px; flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(238,42,123,0.4));
}

.ig-modal-close:hover { color: #ee2a7b; }

/* Input @ prefix */
.ig-input-wrap { position: relative; display: flex; align-items: center; }

.ig-at {
  position: absolute;
  left: 1rem;
  color: var(--nm-muted);
  font-size: 1rem;
  pointer-events: none;
  user-select: none;
}

.ig-modal-form input {
  padding-left: 2.2rem;
}

.ig-modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(238,42,123,0.2);
}

/* IG Confirm button */
.ig-btn-confirm {
  background: var(--nm-bg) !important;
  color: #ee2a7b !important;
  box-shadow: var(--nm-raised) !important;
}

.ig-btn-confirm:hover {
  box-shadow: var(--nm-inset) !important;
  color: #f472b6 !important;
}

/* IG Result */
.ig-result { margin-top: 1.5rem; animation: fadeIn 0.4s ease; }

.ig-profile-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: var(--nm-bg);
  border-radius: 14px;
  box-shadow: var(--nm-inset-sm);
}

.ig-avatar-img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--nm-raised-sm);
  flex-shrink: 0;
}

.ig-profile-info { flex: 1; min-width: 0; }

.ig-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.ig-username {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--nm-text);
  word-break: break-all;
}

.ig-verified {
  font-size: 0.72rem; color: #4fc3f7;
  background: var(--nm-bg);
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--nm-raised-sm);
}

.ig-private-badge {
  font-size: 0.7rem; color: #f87171;
  background: var(--nm-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--nm-raised-sm);
}

.ig-fullname { display: block; font-size: 0.85rem; color: var(--nm-muted); margin-bottom: 0.35rem; }
.ig-ext-url { display: inline-block; font-size: 0.8rem; color: #a78bfa; text-decoration: none; margin-top: 0.3rem; word-break: break-all; }
.ig-ext-url:hover { text-decoration: underline; }

/* Stats Grid */
.ig-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.ig-stat-card {
  background: var(--nm-bg);
  border-radius: 12px;
  padding: 0.9rem 0.6rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: var(--nm-inset-sm);
}

.ig-stat-card .ff-stat-value { color: #ee2a7b; }

/* IG Reset */
.ig-btn-reset {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.ig-btn-reset:hover {
  box-shadow: var(--nm-inset-sm);
  color: #ee2a7b;
}

/* ===========================
   TIKTOK FEATURE CARD
   =========================== */
.tt-card { position: relative; overflow: hidden; }

.tt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tt-logo {
  width: 52px; height: 52px;
  filter: drop-shadow(0 0 8px rgba(105,201,208,0.4));
}

.tt-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #69c9d0;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.tt-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #69c9d0; font-weight: 500; letter-spacing: 0.5px; }

/* TT Modal */
.tt-logo-sm { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(105,201,208,0.4)); }
.tt-modal-close:hover { color: #69c9d0; }

.tt-modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(105,201,208,0.2);
}

.tt-btn-confirm {
  background: var(--nm-bg) !important;
  color: #69c9d0 !important;
  box-shadow: var(--nm-raised) !important;
}
.tt-btn-confirm:hover { box-shadow: var(--nm-inset) !important; }

/* TT Result */
.tt-result { margin-top: 1.5rem; animation: fadeIn 0.4s ease; }

.tt-info-box {
  background: var(--nm-bg);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--nm-inset-sm);
}

.tt-author { font-size: 0.8rem; color: #69c9d0; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: 0.3px; }
.tt-caption { font-size: 0.85rem; color: var(--nm-muted); line-height: 1.55; word-break: break-word; }

/* DL buttons */
.tt-dl-buttons { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }

.tt-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--nm-bg);
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tt-dl-btn:hover { box-shadow: var(--nm-inset); transform: translateY(1px); }

.tt-dl-video { color: #ee1d52; }
.tt-dl-audio { color: #69c9d0; }

.tt-btn-reset {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.tt-btn-reset:hover { box-shadow: var(--nm-inset-sm); color: #69c9d0; }

/* ===========================
   NOTIF BERITA TERKINI
   =========================== */
.news-notif {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 1200;
  width: min(380px, calc(100vw - 2rem));
  background: var(--nm-bg);
  border-radius: 18px;
  box-shadow: var(--nm-raised);
  overflow: hidden;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.22,.68,0,1.2), opacity 0.35s ease;
  pointer-events: none;
}

.news-notif.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.news-notif.hide {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

.news-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.75rem;
  background: var(--nm-bg);
  box-shadow: 0 3px 10px var(--nm-shadow-dark);
}

.news-notif-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--nm-text);
  letter-spacing: 0.3px;
}

.news-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f87171;
  display: inline-block;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

.news-notif-close {
  background: var(--nm-bg);
  border: none;
  color: var(--nm-muted);
  font-size: 1.3rem;
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 50%;
  box-shadow: var(--nm-raised-sm);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow var(--transition), color var(--transition);
  flex-shrink: 0;
}

.news-notif-close:hover { box-shadow: var(--nm-inset-sm); color: var(--nm-accent); }

.news-notif-body {
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(167,139,250,0.2) transparent;
}

.news-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1rem;
  font-size: 0.85rem;
  color: var(--nm-muted);
}

.news-spinner {
  width: 16px; height: 16px;
  border-color: rgba(167,139,250,0.2);
  border-top-color: var(--nm-accent);
}

.news-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  text-decoration: none;
  transition: background var(--transition);
}

.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(167,139,250,0.05); }

.news-item-img {
  width: 56px; height: 40px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--nm-raised-sm);
}

.news-item-text { flex: 1; min-width: 0; }

.news-item-title {
  font-size: 0.78rem;
  color: var(--nm-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.news-item-meta { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }

.news-item-cat {
  font-size: 0.65rem;
  color: var(--nm-accent);
  background: var(--nm-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: var(--nm-raised-sm);
  letter-spacing: 0.3px;
}

.news-item-date { font-size: 0.65rem; color: var(--nm-muted); }
.news-error { padding: 1rem; font-size: 0.8rem; color: #f87171; text-align: center; }

@media (max-width: 480px) {
  .news-notif { bottom: 0; right: 0; left: 0; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .news-notif.show { transform: translateY(0); }
  .news-notif.hide { transform: translateY(100%); }
}

/* ===========================
   FAKE LOBBY FF CARD
   =========================== */
.fl-card { position: relative; overflow: hidden; }

.fl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fl-logo {
  width: 52px; height: 52px;
  filter: drop-shadow(0 0 8px rgba(0,198,255,0.4));
}

.fl-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #00c6ff;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.fl-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #00c6ff; font-weight: 500; letter-spacing: 0.5px; }

/* FL Modal */
.fl-logo-sm { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(0,198,255,0.4)); }
.fl-modal-close:hover { color: #00c6ff; }

.fl-modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(0,198,255,0.2);
}

.fl-version-label { font-size: 0.8rem; color: var(--nm-muted); font-weight: 500; letter-spacing: 0.3px; }

.fl-version-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.fl-ver-btn {
  padding: 0.5rem 0;
  background: var(--nm-bg);
  border: none;
  border-radius: 10px;
  color: var(--nm-muted);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
  text-align: center;
}

.fl-ver-btn:hover { box-shadow: var(--nm-inset-sm); color: #00c6ff; }

.fl-ver-btn.active {
  box-shadow: var(--nm-inset);
  color: #00c6ff;
}

.fl-btn-confirm {
  background: var(--nm-bg) !important;
  color: #00c6ff !important;
  box-shadow: var(--nm-raised) !important;
}
.fl-btn-confirm:hover { box-shadow: var(--nm-inset) !important; }

/* FL Result */
.fl-result { margin-top: 1.5rem; animation: fadeIn 0.4s ease; }
.fl-result-header { font-size: 0.82rem; font-weight: 600; color: #00c6ff; margin-bottom: 0.85rem; letter-spacing: 0.3px; }

.fl-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--nm-bg);
  margin-bottom: 1rem;
  min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--nm-inset-sm);
}

.fl-result-img { width: 100%; height: auto; display: block; }
.fl-dl-wrap { margin-bottom: 0.75rem; }
.fl-dl-btn { width: 100%; justify-content: center; }

.fl-btn-reset {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg); border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}
.fl-btn-reset:hover { box-shadow: var(--nm-inset-sm); color: #00c6ff; }

/* ===========================
   BERITA TERKINI — KARTU
   =========================== */
.nws-card { position: relative; overflow: hidden; }

.nws-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nws-icon { font-size: 2.4rem; }

.nws-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #f87171;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.nws-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #60a5fa; font-weight: 500; }

.nws-modal-box { scrollbar-color: rgba(96,165,250,0.3) transparent; }
.nws-modal-icon { font-size: 2.2rem; flex-shrink: 0; }
.nws-list {
  max-height: 55vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(96,165,250,0.25) transparent;
}

/* ===========================
   JADWAL TV — KARTU
   =========================== */
.tv-card { position: relative; overflow: hidden; }

.tv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tv-icon { font-size: 2.4rem; }

.tv-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #34d399;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.tv-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #34d399; font-weight: 500; }

.tv-modal-box { scrollbar-color: rgba(52,211,153,0.3) transparent; }
.tv-modal-icon { font-size: 2.2rem; flex-shrink: 0; }

/* Channel buttons */
.tv-channels { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

.tv-ch-btn {
  padding: 0.4rem 0.85rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 50px;
  color: var(--nm-muted);
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
  letter-spacing: 0.3px;
}

.tv-ch-btn:hover, .tv-ch-btn.active {
  box-shadow: var(--nm-inset-sm);
  color: #34d399;
}

/* Manual input */
.tv-manual-wrap { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

.tv-manual-wrap input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 12px;
  color: var(--nm-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.tv-manual-wrap input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(52,211,153,0.2);
}

.tv-manual-wrap input::placeholder { color: var(--nm-muted); }

.tv-manual-btn {
  padding: 0.7rem 1.1rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: #34d399;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition);
}

.tv-manual-btn:hover { box-shadow: var(--nm-inset); }

/* Schedule result */
.tv-result {
  max-height: 50vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(52,211,153,0.25) transparent;
}

.tv-channel-title {
  font-size: 0.9rem; font-weight: 700;
  color: #34d399;
  margin-bottom: 0.75rem; letter-spacing: 0.5px;
}

.tv-schedule-list { display: flex; flex-direction: column; gap: 0.4rem; }

.tv-schedule-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0.8rem;
  background: var(--nm-bg);
  border-radius: 10px;
  font-size: 0.83rem;
  box-shadow: var(--nm-inset-sm);
}

.tv-jam { color: #34d399; font-weight: 600; white-space: nowrap; min-width: 80px; flex-shrink: 0; }
.tv-acara { color: var(--nm-text); line-height: 1.4; }

/* ===========================
   CHATGPT — KARTU FITUR
   =========================== */
.gpt-card { position: relative; overflow: hidden; }

.gpt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gpt-logo { width: 52px; height: 52px; filter: drop-shadow(0 0 8px rgba(16,163,127,0.4)); }

.gpt-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #10a37f;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.gpt-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #10a37f; font-weight: 500; letter-spacing: 0.5px; }

/* ChatGPT Modal */
.gpt-modal-box {
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  height: 88vh;
}

.gpt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
  background: var(--nm-bg);
  box-shadow: 0 3px 10px var(--nm-shadow-dark);
}

.gpt-header-left { display: flex; align-items: center; gap: 0.75rem; }
.gpt-header-left h2 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--nm-text); margin: 0; line-height: 1.2; }
.gpt-model-label { font-size: 0.68rem; color: #10a37f; display: block; margin-top: 0.1rem; letter-spacing: 0.3px; }
.gpt-header-right { display: flex; align-items: center; gap: 0.5rem; }

.gpt-clear-btn {
  background: var(--nm-bg);
  border: none; cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem;
  border-radius: 10px;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition);
  line-height: 1;
}
.gpt-clear-btn:hover { box-shadow: var(--nm-inset-sm); }

.gpt-close {
  position: static;
  font-size: 1.5rem;
  color: var(--nm-muted);
  background: var(--nm-bg);
  border: none; cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.3rem;
  border-radius: 10px;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}
.gpt-close:hover { box-shadow: var(--nm-inset-sm); color: #10a37f; }

/* Chat area */
.gpt-chat-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(16,163,127,0.25) transparent;
}

/* Messages */
.gpt-msg { display: flex; align-items: flex-end; gap: 0.6rem; animation: fadeIn 0.3s ease; }
.gpt-msg-user { flex-direction: row-reverse; }
.gpt-msg-avatar { font-size: 1.3rem; flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }

.gpt-msg-bubble {
  max-width: 78%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem; line-height: 1.6;
  word-break: break-word;
  background: var(--nm-bg);
  box-shadow: var(--nm-raised-sm);
  color: var(--nm-text);
  border-bottom-left-radius: 4px;
}

.gpt-bubble-user {
  background: var(--nm-bg);
  box-shadow: var(--nm-inset-sm);
  color: #d1fae5;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}

.gpt-bubble-error {
  background: var(--nm-bg);
  box-shadow: var(--nm-inset-sm);
  color: #fca5a5;
}

.gpt-msg-in { animation: slideIn 0.35s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Typing indicator */
.gpt-typing-bubble { display: flex; align-items: center; gap: 5px; padding: 0.75rem 1rem; min-width: 60px; }
.gpt-dot { width: 7px; height: 7px; border-radius: 50%; background: #10a37f; animation: gptBounce 1.2s ease-in-out infinite; }
.gpt-dot:nth-child(2) { animation-delay: 0.2s; }
.gpt-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes gptBounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-6px); opacity: 1; } }

/* Input area */
.gpt-input-area {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--nm-bg);
  flex-shrink: 0;
}

.gpt-textarea {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--nm-bg);
  border: none;
  border-radius: 12px;
  color: var(--nm-text);
  font-family: var(--font-body); font-size: 0.9rem;
  line-height: 1.5; outline: none; resize: none;
  overflow-y: hidden; max-height: 140px;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.gpt-textarea:focus { box-shadow: var(--nm-inset), 0 0 0 2px rgba(16,163,127,0.2); }
.gpt-textarea::placeholder { color: var(--nm-muted); }

.gpt-send-btn {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: #10a37f;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), opacity var(--transition);
}
.gpt-send-btn:hover { box-shadow: var(--nm-inset); }
.gpt-send-btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: var(--nm-inset-sm); }

@media (max-width: 480px) { .gpt-modal-box { height: 95vh; max-height: 95vh; } }

/* ===========================
   CEK CUACA — KARTU FITUR
   =========================== */
.wx-card { position: relative; overflow: hidden; }

.wx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.wx-icon { font-size: 2.4rem; }

.wx-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #38bdf8;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.wx-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #38bdf8; font-weight: 500; }

/* Cuaca Modal */
.wx-modal-box { scrollbar-color: rgba(56,189,248,0.3) transparent; }
.wx-modal-icon { font-size: 2.2rem; flex-shrink: 0; }

/* Quick city buttons */
.wx-city-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.wx-quick-cities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }

.wx-city-btn {
  padding: 0.35rem 0.8rem;
  background: var(--nm-bg);
  border: none; border-radius: 50px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.wx-city-btn:hover { box-shadow: var(--nm-inset-sm); color: #38bdf8; }

/* Search */
.wx-search-wrap, .wx-input-row { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }

.wx-search-wrap input, .wx-input-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: var(--nm-text);
  font-family: var(--font-body); font-size: 0.9rem;
  outline: none;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.wx-search-wrap input:focus, .wx-input-row input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(56,189,248,0.2);
}

.wx-search-wrap input::placeholder, .wx-input-row input::placeholder { color: var(--nm-muted); }

.wx-search-btn {
  width: 44px; height: 44px;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: #38bdf8;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition);
  flex-shrink: 0;
}
.wx-search-btn:hover { box-shadow: var(--nm-inset); }
.wx-search-btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: var(--nm-inset-sm); }

/* Hasil cuaca */
.wx-result { margin-top: 0.5rem; animation: fadeIn 0.35s ease; }

.wx-card-result {
  background: var(--nm-bg);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--nm-inset);
}

.wx-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.wx-icon-big { font-size: 3.5rem; line-height: 1; }
.wx-temp-big { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; }
.wx-location { font-size: 0.95rem; color: #7dd3fc; margin-bottom: 0.3rem; font-weight: 500; }
.wx-desc { font-size: 0.85rem; color: var(--nm-muted); text-transform: capitalize; margin-bottom: 1.2rem; }

.wx-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

.wx-stat {
  background: var(--nm-bg);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  text-align: left;
  box-shadow: var(--nm-raised-sm);
}

.wx-stat-label { font-size: 0.68rem; color: var(--nm-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.wx-stat-val   { font-size: 0.95rem; font-weight: 600; color: #e0f2fe; }
.wx-error-msg  { font-size: 0.82rem; color: #f87171; text-align: center; padding: 0.5rem 0; }

/* ===========================
   CEK JARAK — KARTU FITUR
   =========================== */
.jk-card { position: relative; overflow: hidden; }

.jk-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.jk-icon { font-size: 2.4rem; }

.jk-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #fbbf24;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.jk-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #fbbf24; font-weight: 500; }

/* Jarak Modal */
.jk-modal-box { scrollbar-color: rgba(251,191,36,0.3) transparent; }
.jk-modal-icon { font-size: 2.2rem; flex-shrink: 0; }

.jk-modal-form { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0.75rem; }

.jk-modal-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: var(--nm-text);
  font-family: var(--font-body); font-size: 0.9rem;
  outline: none;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.jk-modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(251,191,36,0.2);
}

.jk-modal-form input::placeholder { color: var(--nm-muted); }

.jk-confirm-btn, .jk-btn-confirm {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  color: #fbbf24;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; letter-spacing: 0.3px;
  box-shadow: var(--nm-raised);
  transition: box-shadow var(--transition), opacity var(--transition);
}

.jk-confirm-btn:hover, .jk-btn-confirm:hover { box-shadow: var(--nm-inset); }
.jk-confirm-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: var(--nm-inset-sm); }

/* Hasil jarak */
.jk-result {
  margin-top: 0.5rem;
  max-height: 52vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(251,191,36,0.25) transparent;
  animation: fadeIn 0.35s ease;
}

.jk-summary-box {
  background: var(--nm-bg);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  margin-bottom: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--nm-inset);
}

.jk-summary-detail { font-size: 0.88rem; color: var(--nm-text); line-height: 1.55; font-weight: 500; }

.jk-summary-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.jk-loc-box {
  flex: 1; min-width: 100px;
  background: var(--nm-bg);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  box-shadow: var(--nm-raised-sm);
}

.jk-loc-label { font-size: 0.68rem; color: #fbbf24; font-weight: 600; letter-spacing: 0.5px; }
.jk-loc-name  { font-size: 0.8rem; color: var(--nm-text); line-height: 1.4; word-break: break-word; }
.jk-arrow { font-size: 1.2rem; color: var(--nm-muted); flex-shrink: 0; }

.jk-bbm-box {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.4rem;
  font-size: 0.83rem; color: var(--nm-muted);
  background: var(--nm-bg);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  box-shadow: var(--nm-raised-sm);
}

.jk-bbm-box strong { color: #fbbf24; }
.jk-map-link { display: inline-block; font-size: 0.82rem; color: #a78bfa; text-decoration: none; padding: 0.4rem 0; }
.jk-map-link:hover { text-decoration: underline; }

/* Steps */
.jk-steps-section { margin-bottom: 0.5rem; }
.jk-steps-title { font-size: 0.82rem; font-weight: 700; color: #fbbf24; margin-bottom: 0.6rem; letter-spacing: 0.3px; }

.jk-step {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--nm-bg);
  border-radius: 10px;
  margin-bottom: 0.4rem;
  box-shadow: var(--nm-raised-sm);
}

.jk-step-num {
  min-width: 22px; height: 22px;
  background: var(--nm-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; color: #fbbf24;
  flex-shrink: 0;
  box-shadow: var(--nm-raised-sm);
}

.jk-step-body { display: flex; flex-direction: column; gap: 0.15rem; }
.jk-step-instr { font-size: 0.8rem; color: var(--nm-text); line-height: 1.4; }
.jk-step-dist  { font-size: 0.72rem; color: var(--nm-muted); }
.jk-more-steps { font-size: 0.78rem; color: var(--nm-muted); text-align: center; padding: 0.4rem; }
.jk-error-msg  { font-size: 0.82rem; color: #f87171; text-align: center; padding: 0.4rem 0; }

/* ===========================
   GET CONTACT — KARTU FITUR
   =========================== */
.gc-card { position: relative; overflow: hidden; }

.gc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gc-icon { font-size: 2.4rem; }

.gc-badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px;
  color: var(--nm-accent);
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.gc-cta { margin-top: 1.2rem; font-size: 0.85rem; color: var(--nm-accent); font-weight: 500; }

/* GC Modal */
.gc-modal-box { scrollbar-color: rgba(167,139,250,0.3) transparent; }
.gc-modal-icon { font-size: 2.2rem; flex-shrink: 0; }
.gc-modal-form { display: flex; flex-direction: column; gap: 0.75rem; }

/* Input +62 */
.gc-input-wrap {
  display: flex; align-items: stretch;
  background: var(--nm-bg);
  border: none; border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--nm-inset-sm);
  transition: box-shadow var(--transition);
}

.gc-input-wrap:focus-within {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(167,139,250,0.2);
}

.gc-prefix {
  padding: 0 0.9rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--nm-accent);
  background: rgba(167,139,250,0.07);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center;
  white-space: nowrap; user-select: none; flex-shrink: 0;
}

.gc-input-wrap input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent; border: none;
  color: var(--nm-text);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; letter-spacing: 0.5px;
}

.gc-input-wrap input::placeholder { color: var(--nm-muted); }

.gc-hint-text { font-size: 0.74rem; color: var(--nm-muted); margin-top: -0.3rem; line-height: 1.4; }

.gc-btn-confirm {
  background: var(--nm-bg) !important;
  color: var(--nm-accent) !important;
  box-shadow: var(--nm-raised) !important;
}
.gc-btn-confirm:hover { box-shadow: var(--nm-inset) !important; color: #c4b5fd !important; }

/* GC Result */
.gc-result { margin-top: 0.5rem; animation: fadeIn 0.35s ease; }

.gc-profile-card {
  background: var(--nm-bg);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--nm-inset);
}

.gc-profile-top { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }

.gc-avatar {
  width: 68px; height: 68px;
  border-radius: 50%; object-fit: cover;
  box-shadow: var(--nm-raised-sm);
  flex-shrink: 0;
}

.gc-avatar-placeholder {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--nm-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
  box-shadow: var(--nm-raised-sm);
}

.gc-profile-text { flex: 1; min-width: 0; }
.gc-profile-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--nm-text); margin-bottom: 0.2rem; word-break: break-word; }
.gc-profile-phone { font-size: 0.82rem; color: var(--nm-accent); margin-bottom: 0.5rem; font-weight: 500; }
.gc-tag-count { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--nm-muted); }
.gc-tag-count strong { color: #c4b5fd; }
.gc-tag-icon { font-size: 0.9rem; }

.gc-info-rows { display: flex; flex-direction: column; gap: 0.45rem; }

.gc-info-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: var(--nm-bg);
  border-radius: 10px;
  font-size: 0.83rem; gap: 0.5rem;
  box-shadow: var(--nm-inset-sm);
}

.gc-info-row span:first-child { color: var(--nm-muted); flex-shrink: 0; }
.gc-info-row span:last-child  { color: var(--nm-text); text-align: right; word-break: break-word; }

.gc-reset-btn {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg); border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.gc-reset-btn:hover { box-shadow: var(--nm-inset-sm); color: var(--nm-accent); }

/* ===========================
   YOUTUBE — KARTU FITUR
   =========================== */
.yt-card { position: relative; overflow: hidden; }

.yt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.yt-logo { width: 52px; height: 52px; filter: drop-shadow(0 0 8px rgba(255,0,0,0.35)); }

.yt-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: #ff4444;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.yt-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #ff4444; font-weight: 500; letter-spacing: 0.5px; }

/* YT Modal */
.yt-modal-box { scrollbar-color: rgba(255,0,0,0.3) transparent; }
.yt-modal-icon { font-size: 2.2rem; flex-shrink: 0; }

.yt-modal-form input:focus {
  box-shadow: var(--nm-inset), 0 0 0 2px rgba(255,0,0,0.15);
}

.yt-btn-confirm {
  background: var(--nm-bg) !important;
  color: #ff4444 !important;
  box-shadow: var(--nm-raised) !important;
}
.yt-btn-confirm:hover { box-shadow: var(--nm-inset) !important; }

/* YT Result */
.yt-result { margin-top: 1.5rem; animation: fadeIn 0.4s ease; }

.yt-info-box {
  background: var(--nm-bg);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--nm-inset-sm);
}

.yt-title-text { font-size: 0.88rem; color: var(--nm-text); font-weight: 500; line-height: 1.5; word-break: break-word; }
.yt-author     { font-size: 0.78rem; color: var(--nm-muted); margin-top: 0.3rem; }

.yt-thumb-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: var(--nm-raised-sm);
}

.yt-thumb { width: 100%; height: auto; display: block; }

.yt-dl-buttons { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }

.yt-dl-mp4 {
  background: var(--nm-bg) !important;
  color: #ff4444 !important;
  box-shadow: var(--nm-raised) !important;
}
.yt-dl-mp4:hover { box-shadow: var(--nm-inset) !important; }

.yt-dl-mp3 {
  background: var(--nm-bg) !important;
  color: #ff8080 !important;
  box-shadow: var(--nm-raised) !important;
}
.yt-dl-mp3:hover { box-shadow: var(--nm-inset) !important; }

.yt-reset-btn {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg); border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}

.yt-reset-btn:hover { box-shadow: var(--nm-inset-sm); color: #ff4444; }

/* ===========================
   UPLOAD FOTO — KARTU FITUR
   =========================== */
.up-card { position: relative; overflow: hidden; }

.up-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.up-icon { font-size: 2.4rem; }

.up-badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px;
  color: #fb7185;
  background: var(--nm-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  box-shadow: var(--nm-raised-sm);
}

.up-cta { margin-top: 1.2rem; font-size: 0.85rem; color: #fb7185; font-weight: 500; }

/* Upload Modal */
.up-modal-box { scrollbar-color: rgba(251,113,133,0.3) transparent; }
.up-modal-icon { font-size: 2.2rem; flex-shrink: 0; }

/* Drop zone */
.up-dropzone {
  position: relative;
  border: 2px dashed rgba(167,139,250,0.2);
  border-radius: 16px;
  min-height: 160px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: var(--nm-bg);
  box-shadow: var(--nm-inset);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.up-dropzone:hover, .up-dropzone.up-drag-over {
  border-color: rgba(251,113,133,0.5);
}

.up-dropzone-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; padding: 1.5rem;
  pointer-events: none;
}

.up-drop-icon { font-size: 2.5rem; line-height: 1; }
.up-drop-text  { font-size: 0.9rem; font-weight: 500; color: var(--nm-text); }
.up-drop-hint  { font-size: 0.75rem; color: var(--nm-muted); }

.up-preview-img {
  width: 100%; height: 160px;
  object-fit: cover; border-radius: 12px; display: block;
}

/* File info */
.up-file-info {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--nm-bg);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  box-shadow: var(--nm-raised-sm);
}

.up-file-name { font-size: 0.8rem; color: var(--nm-text); word-break: break-all; flex: 1; }

.up-remove-btn {
  background: none; border: none; color: #f87171;
  cursor: pointer; font-size: 0.9rem;
  padding: 0.2rem 0.4rem; border-radius: 6px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.up-remove-btn:hover { background: rgba(248,113,113,0.1); }

/* Confirm */
.up-btn-confirm {
  background: var(--nm-bg) !important;
  color: #fb7185 !important;
  box-shadow: var(--nm-raised) !important;
  width: 100%;
}
.up-btn-confirm:hover  { box-shadow: var(--nm-inset) !important; }
.up-btn-confirm:disabled { opacity: 0.4 !important; cursor: not-allowed !important; box-shadow: var(--nm-inset-sm) !important; }

/* Upload Result */
.up-result { margin-top: 0.5rem; animation: fadeIn 0.35s ease; }

.up-result-card {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem;
  background: var(--nm-bg);
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: var(--nm-inset-sm);
}

.up-result-thumb {
  width: 80px; height: 80px;
  object-fit: cover; border-radius: 10px;
  flex-shrink: 0;
  box-shadow: var(--nm-raised-sm);
}

.up-result-meta { flex: 1; min-width: 0; }
.up-result-filename { font-size: 0.82rem; font-weight: 500; color: var(--nm-text); word-break: break-all; margin-bottom: 0.25rem; }
.up-result-size { font-size: 0.75rem; color: var(--nm-muted); }

/* URL row */
.up-url-wrap { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }

.up-url-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  background: var(--nm-bg);
  border: none; border-radius: 10px;
  color: #fb7185;
  font-family: var(--font-body); font-size: 0.8rem;
  outline: none; cursor: text;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  box-shadow: var(--nm-inset-sm);
}

.up-copy-btn {
  width: 40px; height: 40px;
  background: var(--nm-bg);
  border: none; border-radius: 10px;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition);
  flex-shrink: 0;
}
.up-copy-btn:hover { box-shadow: var(--nm-inset-sm); }

.up-copy-msg  { font-size: 0.78rem; color: #4ade80; text-align: center; margin-bottom: 0.5rem; }
.up-open-link { display: block; text-align: center; font-size: 0.85rem; color: var(--nm-accent); text-decoration: none; margin-bottom: 0.8rem; }
.up-open-link:hover { text-decoration: underline; }

.up-reset-btn {
  width: 100%; padding: 0.75rem;
  background: var(--nm-bg); border: none; border-radius: 12px;
  color: var(--nm-muted);
  font-family: var(--font-body); font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--nm-raised-sm);
  transition: box-shadow var(--transition), color var(--transition);
}
.up-reset-btn:hover { box-shadow: var(--nm-inset-sm); color: #fb7185; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 600px) {
  .nav-links { gap: 0.8rem; }
  .nav-links a { padding: 0.3rem 0.7rem; font-size: 0.82rem; }
  .hero { padding-top: 100px; align-items: flex-start; }
}
