/* =========================================================
   EloBoost Shadow — Global Design System
   Dark Glassmorphism + Neon Green
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:   #05050a;
  --bg-secondary: #0c0c14;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-glass:     rgba(0,255,135,0.05);
  --green:        #00ff87;
  --green-dim:    #00cc6a;
  --green-dark:   rgba(0,255,135,0.12);
  --green-glow:   0 0 20px rgba(0,255,135,0.4), 0 0 60px rgba(0,255,135,0.15);
  --green-glow-sm:0 0 10px rgba(0,255,135,0.3);
  --text-primary: #f0f0f8;
  --text-secondary:#8888aa;
  --text-muted:   #555566;
  --border:       rgba(255,255,255,0.07);
  --border-green: rgba(0,255,135,0.25);
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
  --font-main:    'Inter', sans-serif;
  --font-display: 'Orbitron', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--green-dim); border-radius: 3px; }

/* ── Typography ──────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem,3vw,2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 600; }
p  { color: var(--text-secondary); }
a  { text-decoration: none; color: inherit; }

/* ── Layout ──────────────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Gradient Text ──────────────────────────────────── */
.text-green  { color: var(--green); }
.gradient-text {
  background: linear-gradient(135deg, #00ff87 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: none; border-radius: var(--radius);
  font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #00cc6a 100%);
  color: #050a05;
  box-shadow: 0 4px 24px rgba(0,255,135,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,255,135,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border-green);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--green-dark);
  box-shadow: var(--green-glow-sm);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; border-radius: var(--radius-lg); }

/* ── Card / Glass ────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}
.card:hover { border-color: var(--border-green); }
.card-green {
  background: var(--green-dark);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
}

/* ── Badge ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--green-dark);
  border: 1px solid var(--border-green);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--green);
}

/* ── Input / Select ──────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main); font-size: 0.95rem;
  outline: none; transition: var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,135,0.1);
  background: rgba(0,255,135,0.04);
}
select option { background: #0c0c14; color: var(--text-primary); }

/* ── Navbar ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,5,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border-green); }
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary);
}
.brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.brand-name span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 0.88rem; padding: 10px 24px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
}

/* ── Particles Canvas ────────────────────────────────── */
#particles-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,255,135,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 50%, rgba(0,212,255,0.05) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
  padding: 80px 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--green); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--green); border-radius: 2px;
}
.hero-title { margin-bottom: 20px; }
.hero-text { font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-logo-wrap {
  position: relative;
  width: 380px; height: 380px;
}
.hero-logo-wrap::before {
  content: ''; position: absolute; inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,135,0.15) 0%, transparent 70%);
  animation: pulse-ring 3s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 40px rgba(0,255,135,0.4));
}
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* ── Stats Bar ───────────────────────────────────────── */
.stats-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--green); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* ── Services Grid ───────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  padding: 32px 28px;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  font-size: 2.4rem; margin-bottom: 16px;
  display: block;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; line-height: 1.65; }
.service-tag {
  display: inline-block; margin-top: 16px;
  padding: 4px 12px;
  background: var(--green-dark); border: 1px solid var(--border-green);
  border-radius: 100px; font-size: 0.78rem; color: var(--green); font-weight: 600;
}

/* ── Calculator ──────────────────────────────────────── */
.calculator-section { background: var(--bg-secondary); }
.calc-wrapper {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 32px; align-items: start;
}
.calc-form { padding: 36px; }
.calc-title { margin-bottom: 6px; }
.calc-sub { font-size: 0.9rem; margin-bottom: 28px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.calc-grid.full { grid-template-columns: 1fr; }
.extras-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px; margin-top: 4px;
}
.extra-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.extra-option:has(input:checked) {
  background: var(--green-dark); border-color: var(--border-green);
}
.extra-option input[type="checkbox"] { accent-color: var(--green); width: 16px; height: 16px; }
.extra-option span { font-size: 0.88rem; font-weight: 500; }
.section-sep { grid-column: 1 / -1; }
.section-sep h4 {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--green); text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
}
.section-sep h4::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.calc-result {
  position: sticky; top: 92px;
  padding: 32px 28px;
}
.result-label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; font-weight: 600; }
.result-price {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  color: var(--green); line-height: 1; margin-bottom: 4px;
}
.result-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.result-breakdown { margin-bottom: 20px; }
.breakdown-item {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.breakdown-item:last-child { border-bottom: none; }
.breakdown-item .label { color: var(--text-secondary); }
.breakdown-item .value { font-weight: 600; color: var(--text-primary); }
.result-divider { height: 1px; background: var(--border-green); margin: 20px 0; }
.result-total { display: flex; justify-content: space-between; align-items: center; }
.result-total .label { font-size: 0.9rem; font-weight: 600; }
.result-total .value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--green); }
.result-cta { margin-top: 20px; }

/* ── Why Us ──────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card { padding: 28px 24px; text-align: center; }
.why-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: var(--green-dark); border: 1px solid var(--border-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; }

/* ── Reviews ─────────────────────────────────────────── */
.reviews-section { background: var(--bg-secondary); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { padding: 28px; }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #00d4ff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #050a05; flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-rank { font-size: 0.8rem; color: var(--text-muted); }
.review-stars { color: #ffd700; font-size: 0.9rem; letter-spacing: 1px; }
.review-text { font-size: 0.92rem; line-height: 1.65; color: var(--text-secondary); }
.review-service {
  display: inline-block; margin-top: 14px;
  padding: 4px 10px;
  background: rgba(0,255,135,0.07); border: 1px solid rgba(0,255,135,0.15);
  border-radius: 4px; font-size: 0.75rem; color: var(--green); font-weight: 600;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--border-green); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none;
  color: var(--text-primary); font-family: var(--font-main);
  font-size: 0.97rem; font-weight: 600; cursor: pointer;
  text-align: left; transition: var(--transition);
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  font-size: 1.3rem; color: var(--green);
  transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 24px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ── Support Widget ──────────────────────────────────── */
.support-section { background: linear-gradient(135deg, rgba(0,255,135,0.05) 0%, rgba(0,212,255,0.03) 100%); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.support-card {
  padding: 28px 24px; text-align: center; cursor: pointer;
  transition: var(--transition);
}
.support-card:hover { transform: translateY(-4px); border-color: var(--border-green); }
.support-card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.support-card h3 { font-size: 1rem; margin-bottom: 6px; }
.support-card p { font-size: 0.85rem; }

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .brand { font-size: 1.1rem; margin-bottom: 16px; display: flex; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.83rem; color: var(--text-muted);
}

/* ── Float Support Button ────────────────────────────── */
.float-support {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-discord { background: #5865f2; color: #fff; }
.float-wa { background: #25d366; color: #fff; }
.float-chat { background: var(--green); color: #050a05; }
.float-labels {
  display: none; flex-direction: column; gap: 12px; align-items: flex-end;
  position: absolute; right: 64px; bottom: 0;
}
.float-support:hover .float-labels { display: flex; }
.float-label {
  background: rgba(5,5,10,0.92); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: 0.8rem; color: var(--text-primary); white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* ── Page Header (subpages) ──────────────────────────── */
.page-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 48px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -60px; left: -60px; right: -60px;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,135,0.08) 0%, transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--text-muted); }

/* ── Panel Layout ────────────────────────────────────── */
.panel-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 48px 0; min-height: 80vh; }
.panel-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  height: fit-content; position: sticky; top: 92px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--green-dark); color: var(--green);
  border: 1px solid var(--border-green);
}
.sidebar-nav a .icon { font-size: 1.1rem; }
.sidebar-user { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); text-align: center; }
.sidebar-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #00d4ff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; color: #050a05;
  margin: 0 auto 12px;
}
.sidebar-username { font-weight: 700; margin-bottom: 4px; }
.sidebar-role { font-size: 0.8rem; color: var(--text-muted); }

.panel-content { display: flex; flex-direction: column; gap: 24px; }
.panel-section { padding: 28px; }
.panel-section h3 { margin-bottom: 20px; font-size: 1.1rem; }

/* ── Table ───────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 12px 16px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table tr:last-child td { border-bottom: none; }

/* ── Status Badges ───────────────────────────────────── */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-active { background: rgba(0,255,135,0.1); color: var(--green); }
.status-active::before { background: var(--green); box-shadow: 0 0 6px var(--green); animation: blink 1.5s infinite; }
.status-pending { background: rgba(255,200,0,0.1); color: #ffc800; }
.status-pending::before { background: #ffc800; }
.status-completed { background: rgba(100,200,255,0.1); color: #64c8ff; }
.status-completed::before { background: #64c8ff; }
.status-cancelled { background: rgba(255,80,80,0.1); color: #ff5050; }
.status-cancelled::before { background: #ff5050; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Progress Bar ────────────────────────────────────── */
.progress-wrap { width: 100%; background: rgba(255,255,255,0.07); border-radius: 100px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--green), #00d4ff); border-radius: 100px; transition: width 0.8s ease; }

/* ── Chat / Message ──────────────────────────────────── */
.chat-window { display: flex; flex-direction: column; height: 440px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { max-width: 72%; padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; line-height: 1.5; }
.chat-bubble.me { background: var(--green-dark); border: 1px solid var(--border-green); margin-left: auto; }
.chat-bubble.other { background: rgba(255,255,255,0.06); border: 1px solid var(--border); }
.chat-input-row { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--border); }
.chat-input-row input { border-radius: 100px; }
.chat-input-row button { border-radius: 100px; padding: 10px 20px; flex-shrink: 0; }

/* ── Login Card ──────────────────────────────────────── */
.login-wrap { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.login-card { width: 100%; max-width: 440px; padding: 40px; }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo img { height: 80px; width: 80px; border-radius: 50%; margin-bottom: 12px; }
.login-logo h2 { font-size: 1.2rem; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }
.login-footer a { color: var(--green); }

/* ── Rank Display ────────────────────────────────────── */
.rank-display {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-weight: 600;
}
.rank-tier-icon { font-size: 1.4rem; }

/* ── Win/Loss ────────────────────────────────────────── */
.wl-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
}
.win  { background: rgba(0,255,135,0.15); color: var(--green); }
.loss { background: rgba(255,80,80,0.15); color: #ff5050; }

/* ── Notification dot ────────────────────────────────── */
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); display: inline-block;
  box-shadow: 0 0 8px var(--green); animation: blink 1.5s infinite;
}

/* ── Loading spinner ─────────────────────────────────── */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 260px; height: 260px; }
  .hero-text { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,10,0.97);
    padding: 32px 24px; align-items: flex-start;
  }
  .nav-links.open a { font-size: 1.2rem; padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid.three { grid-template-columns: 1fr; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-logo-wrap { width: 200px; height: 200px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Animations ──────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Rank color classes ──────────────────────────────── */
.rank-iron     { color: #8c8c8c; }
.rank-bronze   { color: #cd7f32; }
.rank-silver   { color: #c0c0c0; }
.rank-gold     { color: #ffd700; }
.rank-platinum { color: #4dc8bf; }
.rank-emerald  { color: #00c87a; }
.rank-diamond  { color: #a280ff; }
.rank-master   { color: #ff6cff; }
.rank-grand    { color: #ff4545; }
.rank-challenger { color: var(--green); text-shadow: 0 0 10px var(--green); }

/* ── Tooltip ─────────────────────────────────────────── */
[data-tip] { position: relative; cursor: help; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: rgba(5,5,10,0.95); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 0.8rem; color: var(--text-primary); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
  backdrop-filter: blur(8px); z-index: 10;
}
[data-tip]:hover::after { opacity: 1; }
