:root {
  --bg: #0b0e12;
  --panel: #12161c;
  --text: #e5f0ff;
  --muted: #9fb3c8;
  --primary: #ffffff;
  --accent: #6d28d9;
  --success: #22c55e;
  --danger: #ef4444;
  --border: #1f2430;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(18,22,28,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.site-header .container { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.3px; }
.main-nav { display: none; gap: 14px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end;}
.link-btn { background: none; border: none; color: var(--muted); cursor: pointer; font: inherit; }
.menu { position: relative; }
.menu-toggle { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; background: #0f1318; color: var(--text); cursor: pointer; }
.menu-panel { position: absolute; right: 0; top: 46px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 8px; min-width: 180px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); display: none; }
.menu-panel.open { display: block; }
.menu-item { display: block; width: 100%; text-align: left; padding: 10px 12px; color: var(--text); background: transparent; border: none; text-decoration: none; border-radius: 8px; }
.menu-item:hover { background: #0f1318; }
.balance-widget { display:flex; align-items:center; background:#0f1318; border:1px solid var(--border); border-radius: 16px; overflow:hidden; }
.balance-amount { padding: 8px 12px; font-weight: 800; color: var(--text); }
.balance-label { padding: 8px 12px; background: var(--text); color:#000000; font-weight: 800; }
.hero { padding: 80px 0 60px; text-align: center; }
.hero-gradient { background: radial-gradient(1200px 500px at 50% -80%, rgba(109,40,217,0.35), transparent), linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.hero-image {
  background-image: linear-gradient(180deg, rgba(6,10,18,0.65), rgba(6,10,18,0.65)), var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  position: relative;
}
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: 0.5px; margin: 0 0 16px; }
.hero-subtitle { color: var(--muted); max-width: 820px; margin: 0 auto 24px; font-size: 1.05rem; }
.cta .btn { margin-right: 10px; }
.hero-visual { position: relative; height: 280px; margin-top: 24px; }
.hero-visual .cube { position: absolute; width: 140px; height: 100px; left: 50%; top: 60%; transform: translate(-50%, -50%); border-radius: 16px; background: linear-gradient(135deg, #1b2030, #0f1318); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.hero-visual .cube.gold { left: calc(50% - 180px); background: linear-gradient(135deg, #2a210f, #1c1609); border-color: #3a2f18; }
.hero-visual .cube.purple { left: calc(50% + 180px); background: linear-gradient(135deg, #1e1630, #151026); border-color: #2b2340; }
.hero-visual .grid-lines { position: absolute; inset: 0; background: linear-gradient(#0f1318 0 0), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 100% 100%, 40px 40px, 40px 40px; opacity: 0.25; border-radius: 24px; }
.about-section { background: radial-gradient(900px 400px at 20% -40%, rgba(255,216,106,0.08), transparent), linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); padding: 40px 0; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-image { width: 100%; height: 360px; border-radius: 24px; background-size: cover; background-position: center; box-shadow: 0 20px 40px rgba(0,0,0,0.35); border: 1px solid var(--border); }
.about-eyebrow { text-transform: uppercase; letter-spacing: 1px; color: #ffd86a; font-weight: 800; margin-bottom: 8px; }
.about-heading { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; font-weight: 900; }
.about-text { color: var(--muted); margin: 0 0 16px; }
.about-actions { display: flex; gap: 12px; align-items: center; }
.advantages-section { background: #0a0e19; padding: 50px 0; }
.advantages-title { text-align: center; font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 900; margin: 0; }
.advantages-sub { text-align: center; color: var(--muted); margin-top: 6px; }
.adv-wrap { position: relative; margin-top: 22px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card { background: linear-gradient(180deg, #0b0f18, #0a0e19); border: 1px solid #1f2937; border-radius: 16px; padding: 20px; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.adv-icon { width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(180deg, #ffd86a, #e5b800); display: inline-flex; align-items: center; justify-content: center; color: #111; font-size: 22px; font-weight: 700; box-shadow: 0 8px 20px rgba(229,184,0,0.35); }
.adv-card-title { font-weight: 700; margin: 10px 0 6px; }
.adv-value { font-weight: 800; color: #ffd86a; font-size: 1.2rem; }
.adv-note { color: #a7b0c0; }
.adv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; background: linear-gradient(180deg, #ffd86a, #e5b800); border: none; color: #111; box-shadow: 0 10px 24px rgba(229,184,0,0.35); cursor: default; }
.adv-arrow.left { left: -8px; }
.adv-arrow.right { right: -8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 16px; justify-content: center; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.tx-table-wrap { overflow-x: auto; }
.tx-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.tx-table thead th { background: linear-gradient(180deg, #ffd86a, #e5b800); color: #111; font-weight: 800; padding: 12px; border-right: 1px solid rgba(0,0,0,0.08); }
.tx-table thead th:first-child { border-top-left-radius: 16px; }
.tx-table thead th:last-child { border-top-right-radius: 16px; border-right: none; }
.tx-table tbody td { padding: 12px; border-bottom: 1px solid #1f2937; }
.tx-table tbody tr:nth-child(even) td { background: #0f1318; }
.tx-table tbody tr:nth-child(odd) td { background: #0b0f18; }
.tx-table tbody tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.tx-table tbody tr:last-child td:last-child { border-bottom-right-radius: 16px; }
.calculator-section { padding: 50px 0; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.calc-image { width: 100%; height: 360px; border-radius: 24px; background-size: cover; background-position: center; box-shadow: 0 20px 40px rgba(0,0,0,0.35); border: 1px solid var(--border); }
.calc-heading { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; font-weight: 900; }
.calc-text { color: var(--muted); margin: 0 0 16px; }
.calc-input { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: #0f1318; color: var(--text); }
.calc-output { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid #243042; background: #0f1318; color: #ffd86a; font-weight: 800; }
.register-section { padding: 40px 0; }
.login-section { padding: 40px 0;}
.register-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.register-image { margin-top: 5rem ;width: 100%; height: 420px; border-radius: 24px; background-size: cover; background-position: center; box-shadow: 0 20px 40px rgba(0,0,0,0.35); border: 1px solid var(--border); }
.login-image {width: 50%; /* Take half the width */
  height: 420px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  flex-shrink: 0; /* Prevent image from shrinking */}
  .gold-link {
  color: #f5b301; /* Gold color */
  text-decoration: none;
  font-size: 0.9em; /* Slightly smaller */
  font-weight: 500;
  transition: color 0.2s ease;
}
.gold-link:hover {
  color: #d89c00; /* Darker gold on hover */
  text-decoration: underline;
}
.container.login-split {display: flex; gap: 40px; align-items: center;}
.phone-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: end; }
.phone-code-label span, .phone-number-label span { display:block; margin-bottom:6px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 16px; }
.plan-card { background: #0a0e19; color: #e5e7eb; border: 1px solid #1f2937; border-radius: 16px; padding: 20px; box-shadow: 0 0 0 1px rgba(255,215,0,0.06), 0 12px 24px rgba(0,0,0,0.25); text-align: center; }
.plan-title { font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.plan-percent { font-size: 2.6rem; font-weight: 800; color: #ffd86a; }
.plan-sub { color: #a7b0c0; margin-bottom: 8px; }
.plan-line { margin: 4px 0; }
.plan-total { margin-top: 12px; font-weight: 700; color: #ffd86a; }
.amount-label { display:block; margin: 14px 0; }
.amount-label input { width: 100%; padding: 10px 12px; border-radius: 10px; background: #0f1318; border: 1px solid #243042; color: #fff; }

.price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.form label { display: block; margin-bottom: 14px; }
.form input, .form select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border); background: #0f1318; color: var(--text); }
.form { max-width: 560px; margin: 0 auto; }
/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-align: center;
}

.btn.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  opacity: 0.9;
}

/* Adjustments for the header buttons */
.actions .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn.pill { border-radius: 999px; padding: 12px 22px; }
.btn.accent { background: var(--accent); border-color: #5820b7; }
.btn.ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn.pill.ghost { color: #000; }
.btn.primary { background: var(--primary); border-color: #2e6fd3; }
.btn.success { background: var(--success); border-color: #18a54a; }
.btn.danger { background: var(--danger); border-color: #cc3737; }
.row { display: flex; gap: 8px; align-items: center; }
.error { color: var(--danger); }
.success { color: var(--success); }
.site-footer { border-top: 1px solid var(--border); background: var(--panel); }
.footer-top { padding: 30px 0; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-col h3 { margin: 0; font-weight: 800; }
.footer-col .underline { width: 40px; height: 4px; background: linear-gradient(180deg, #ffd86a, #e5b800); border-radius: 2px; margin: 8px 0 12px; }
.footer-col p { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 8px 0; position: relative; padding-left: 16px; }
.link-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 999px; background: #ffd86a; }
.link-list a { color: #e5f0ff; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #ffd86a, #e5b800); color: #111; font-weight: 900; text-decoration: none; box-shadow: 0 8px 20px rgba(229,184,0,0.35); }
.addresses code { background:#0f1318; padding:3px 6px; border-radius:6px; }
.addresses { display:flex; justify-content:center; }
.addresses .card { max-width: 560px; width: 100%; }

@media (min-width: 980px) {
  .main-nav { display: flex; }
}
