:root {
  --bg-dark: #07090e;
  --bg-card: rgba(13, 18, 28, 0.8);
  --bg-card-hover: rgba(22, 30, 46, 0.9);
  --border-color: rgba(0, 242, 254, 0.15);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --primary-purple: #9d4edd;
  --primary-violet: #7928ca;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 40%, #9d4edd 100%);
  --cyber-gradient: linear-gradient(135deg, #00f2fe 0%, #9d4edd 100%);
  
  --accent-rose: #f43f5e;
  --accent-amber: #fbbf24;
  --accent-emerald: #10b981;
  --accent-purple: #c084fc;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'Fira Code', monospace;
  
  --glass-shadow: 0 16px 45px 0 rgba(0, 0, 0, 0.7);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Mesh Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: #00f2fe;
  top: -150px;
  right: -100px;
}
.bg-glow-2 {
  width: 650px;
  height: 650px;
  background: #9d4edd;
  bottom: 10%;
  left: -200px;
}
.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: #4facfe;
  top: 45%;
  right: 15%;
  opacity: 0.2;
}

/* Glassmorphism Card */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  border-color: rgba(0, 242, 254, 0.35);
}

/* Typography & Colors */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-code {
  font-family: var(--font-code);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.logo-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--primary-cyan);
  border-radius: 20px;
  font-weight: 600;
  font-family: var(--font-code);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.lang-select:hover, .lang-select:focus {
  border-color: var(--primary-cyan);
}

.lang-select option {
  background: #0d121c;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #9d4edd 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 242, 254, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.btn-kofi {
  background: #ff5e5b;
  color: #ffffff;
  font-weight: 700;
}
.btn-kofi:hover {
  background: #ff4743;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 94, 91, 0.4);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 0 50px;
}

.hero-container {
  max-width: 920px;
  margin: 0 auto;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 30px;
  font-size: 0.88rem;
  color: var(--primary-cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-shortcuts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.hotkey-badge {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Interactive Simulator Section */
.simulator-section {
  margin: 50px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.sim-container {
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 14, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.sim-address {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-code);
}

.sim-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(13, 18, 28, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.sim-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sim-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.sim-tab-btn.active {
  color: #07090e;
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.sim-body {
  padding: 24px;
  min-height: 380px;
  background: rgba(7, 9, 14, 0.85);
}

.sim-tab-content {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.sim-tab-content.active {
  display: block;
}

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

/* Tab 1: Context Radar */
.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.radar-card {
  padding: 20px;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.radar-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.radar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.radar-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-code);
}
.tag-twitch { background: rgba(157, 78, 221, 0.2); color: #c084fc; border: 1px solid rgba(157, 78, 221, 0.4); }
.tag-youtube { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }
.tag-steam { background: rgba(0, 242, 254, 0.2); color: #00f2fe; border: 1px solid rgba(0, 242, 254, 0.4); }

.radar-detected {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.radar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Tab 2: Pokémon Type Calc */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
}

.type-select-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.type-dropdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.type-select {
  flex: 1;
  padding: 10px 14px;
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
}
.type-select:focus {
  border-color: var(--primary-cyan);
}

.quick-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.preset-chip {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.preset-chip:hover {
  background: var(--primary-cyan);
  color: #07090e;
}

.multiplier-results {
  background: rgba(18, 24, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mul-group {
  margin-bottom: 12px;
}
.mul-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mul-title.red { color: #f43f5e; }
.mul-title.green { color: #10b981; }
.mul-title.gray { color: #94a3b8; }

.type-pill-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 2px 4px 2px 0;
  color: #ffffff;
}

/* Tab 3: LoL Runes */
.lol-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.lol-hero-card {
  padding: 16px;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}
.lol-hero-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-cyan);
  display: flex;
  justify-content: space-between;
}
.lol-hero-stat {
  font-size: 0.82rem;
  color: #10b981;
  font-family: var(--font-code);
}
.rune-list {
  margin: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.copy-rune-btn {
  width: 100%;
  padding: 8px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--primary-cyan);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-rune-btn:hover {
  background: var(--primary-cyan);
  color: #07090e;
}

/* Tab 4: Radar Maps */
.map-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}
@media (max-width: 680px) {
  .map-layout { grid-template-columns: 1fr; }
}
.map-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-btn {
  padding: 10px 14px;
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.map-btn.active, .map-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}
.map-preview-box {
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.callouts-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.callout-pill {
  padding: 4px 10px;
  background: rgba(157, 78, 221, 0.2);
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: #c084fc;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: var(--font-code);
}

/* Tab 5: Boss & Spawn Timers */
.timer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.timer-card {
  padding: 16px;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
}
.timer-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timer-display {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-code);
  color: var(--primary-cyan);
  margin-bottom: 12px;
}
.timer-btn {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s;
}
.timer-btn:hover {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
}

/* Features Grid */
.features-section {
  padding: 40px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 40px 0 80px;
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 24px;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  margin-bottom: 60px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 12px 0;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary-cyan);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
}

/* Document Reading Pages (Privacy / Terms) */
.doc-section {
  padding: 40px 0 80px;
}

.doc-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
}

.doc-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.doc-date {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--primary-cyan);
}

.doc-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc-content ul {
  margin: 12px 0 20px 24px;
  color: var(--text-muted);
}

.doc-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.doc-content th, .doc-content td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.doc-content th {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-cyan);
  font-weight: 700;
}

.doc-content code {
  font-family: var(--font-code);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-cyan);
  font-size: 0.88rem;
}
