/* ================= GLOBAL ================= */
.dashboard-learning {
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 18px 0 110px;
  overflow-x: hidden;
  min-height: calc(100vh - 18px);
  background: linear-gradient(180deg, #f4f1ff 0%, #f8fbff 40%, #ffffff 100%);
  border-radius: 34px;
  box-shadow: 0 16px 50px rgba(42, 50, 107, 0.12);
}

body {
  animation: fadeIn 0.3s ease;
}

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

button:active,
a:active {
  transform: scale(0.98);
}

/* ================= PREMIUM HEADER ================= */
.appHeader {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 380px;
  height: 55px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 8px 25px rgba(42, 50, 107, 0.12);
  border: 1px solid rgba(125, 103, 255, 0.12);
  z-index: 1000;
  gap: 10px;
}

.header-left,
.header-right {
  min-width: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cluster {
  flex-shrink: 0;
}

.header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  color: #1e2444;
  line-height: 1.1;
}

.header-title-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a91ae;
  margin-bottom: 2px;
}

.header-title strong {
  font-size: 14px;
  font-weight: 700;
}

.header-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.header-btn i {
  font-size: 16px;
}

.header-btn:hover {
  transform: translateY(-2px);
}

.logout-btn {
  background: linear-gradient(135deg, #7d67ff, #5c4cff);
}

.header-menu-btn,
.header-back-btn {
  background: linear-gradient(135deg, #eef1ff, #dfe7ff);
  color: #5c4cff;
  border: 1px solid rgba(125, 103, 255, 0.12);
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 380px;
  z-index: 1000;
}

.appNavBar {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 380px;
  height: 76px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 246, 255, 0.96) 100%);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 22px 44px rgba(42, 50, 107, 0.16);
  border: 1px solid rgba(125, 103, 255, 0.12);
  z-index: 9999;
  padding: 0 6px;
}

.navLink {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #7a819d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: 0.3s;
  position: relative;
  gap: 4px;
}

.navLink i {
  font-size: 17px;
  margin-bottom: 0;
  transition: 0.3s;
}

.navLink p {
  margin: 0;
  font-size: 10px;
}

.navLink.active {
  color: #5c4cff;
}

.navIconWrap {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef1ff, #dfe7ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.navLink.active .navIconWrap {
  background: linear-gradient(135deg, #e1dbff, #d1dfff);
  box-shadow: 0 10px 18px rgba(92, 76, 255, 0.14);
}

.navLink.active i {
  transform: translateY(-2px) scale(1.05);
}

.navLink.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 20px;
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(135deg, #7d67ff, #31a8ff);
}

.navLink.center {
  position: relative;
  top: -22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7d67ff, #5c4cff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 32px rgba(92, 76, 255, 0.3);
  color: #ffffff;
  overflow: hidden;
}

.navLink.center i {
  font-size: 22px;
  position: relative;
  z-index: 2;
}

.navLink.center p {
  display: none;
}

.navCenterGlow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
}

.badge-dot {
  position: absolute;
  top: 5px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: #7d67ff;
  border-radius: 50%;
}

/* ================= DASHBOARD HEADER ================= */
.header.learning-header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: calc(100% - 24px);
  max-width: none;
  margin: 0 auto 18px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, #725cff 0%, #5c4cff 52%, #31a8ff 100%);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(79, 77, 202, 0.26);
  overflow: hidden;
}

.header.learning-header::before,
.header.learning-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.header.learning-header::before {
  width: 220px;
  height: 220px;
  top: -120px;
  right: -80px;
  background: rgba(255, 255, 255, 0.14);
}

.header.learning-header::after {
  width: 160px;
  height: 160px;
  bottom: -90px;
  left: -70px;
  background: rgba(255, 255, 255, 0.1);
}

.learning-topbar,
.hero-card,
.learning-balance-card {
  position: relative;
  z-index: 2;
}

.learning-topbar {
  margin-bottom: 16px;
}

.learning-profile {
  gap: 12px;
  color: #ffffff;
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.profile img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.74;
}

.profile-copy strong {
  font-size: 16px;
  font-weight: 600;
}

.learning-menu-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #16a9ff 0%, #0988ff 50%, #0067e6 100%);
  border-radius: 24px;
  padding: 18px 16px;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-copy {
  flex: 1;
}

.hero-kicker,
.card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.76;
  margin-bottom: 6px;
}

.hero-card h1 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.hero-card p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.hero-play {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.12);
}

.hero-ring-one {
  width: 96px;
  height: 96px;
}

.hero-ring-two {
  width: 66px;
  height: 66px;
  border-width: 8px;
}

.hero-play-btn {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.learning-balance-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 24px;
  text-align: left;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.balance-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.balance-badge,
.mini-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.learning-balance-card h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.balance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.balance-tag {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

/* ================= CONTENT ================= */
.content-shell {
  width: calc(100% - 24px);
  margin: 0 auto;
}

.dashboard-section {
  margin-bottom: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 12px;
}

.section-heading h3,
.card h3 {
  margin: 0;
  font-size: 18px;
  color: #1d2440;
}

.section-heading span {
  font-size: 12px;
  color: #7a819d;
  text-align: right;
}

.card {
  width: 100%;
  margin: 0 0 18px;
  padding: 18px 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(125, 103, 255, 0.12);
  box-shadow: 0 16px 40px rgba(42, 50, 107, 0.08);
}

.card .title {
  margin: 0;
  color: #1d2440;
}

.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chart-card canvas {
  margin-top: 8px;
}

/* ================= LEARNING TILES ================= */
.learning-grid {
  display: grid;
  gap: 12px;
}

.game-learning-grid {
  grid-template-columns: repeat(2, 1fr);
}

.action-learning-grid {
  grid-template-columns: repeat(2, 1fr);
}

.learning-tile {
  min-height: 142px;
  padding: 18px 14px;
  border-radius: 24px;
  color: #1d2440;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 28px rgba(42, 50, 107, 0.08);
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.learning-tile::before {
  content: "";
  position: absolute;
  inset: auto -12px -22px auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.learning-tile:hover {
  transform: translateY(-4px);
}

.learning-tile strong {
  display: block;
  font-size: 15px;
}

.learning-tile span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.84;
}

.tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 20px;
}

.tile-indigo {
  background: linear-gradient(135deg, #7d67ff 0%, #4c7ef0 100%);
  color: #ffffff;
}

.tile-lime {
  background: linear-gradient(135deg, #c4ef20 0%, #8ed300 100%);
}

.tile-amber {
  background: linear-gradient(135deg, #ffc56b 0%, #ffb13b 100%);
}

.tile-peach {
  background: linear-gradient(135deg, #ffd7a2 0%, #ffb885 100%);
}

.tile-sky {
  background: linear-gradient(135deg, #8cb3ff 0%, #6b87ff 100%);
  color: #ffffff;
}

.tile-mint {
  background: linear-gradient(135deg, #b8f169 0%, #93dd15 100%);
}

/* ================= BANNERS ================= */
.profit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 22px;
  background: #1d2440;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(30, 36, 64, 0.16);
}

.learning-banner-card {
  background: linear-gradient(135deg, #222b52 0%, #3f4c86 100%);
}

.profit-card-yellow {
  background: linear-gradient(135deg, #ffc56b 0%, #ffb13b 100%);
  color: #1d2440;
}

.learning-info-card {
  margin-bottom: 12px;
}

.profit-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

.profit-text {
  flex: 1;
  margin-left: 12px;
}

.profit-text span {
  display: block;
  font-size: 12px;
  opacity: 0.78;
}

.profit-text strong {
  font-size: 15px;
}

.profit-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

.stack-grid {
  margin-bottom: 18px;
}

/* ================= LIVE ================= */
.learning-live-btn {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7d67ff 0%, #5c4cff 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(92, 76, 255, 0.24);
  animation: pulseGlow 1.6s infinite;
}

.live-bet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #8ef423;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 14px 30px rgba(92, 76, 255, 0.18); }
  50% { box-shadow: 0 18px 34px rgba(92, 76, 255, 0.28); }
  100% { box-shadow: 0 14px 30px rgba(92, 76, 255, 0.18); }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ================= HISTORY ================= */
.history-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.learning-history-btn {
  min-height: 108px;
  padding: 18px 12px;
  border-radius: 20px;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #6b87ff 0%, #5c4cff 100%);
  box-shadow: 0 16px 28px rgba(76, 126, 240, 0.16);
  transition: 0.25s ease;
  position: relative;
}

.learning-history-btn i {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.learning-history-btn:hover {
  transform: translateY(-3px);
}

.history-btn.loading i,
.history-btn.loading span,
.learning-tile.loading i,
.learning-tile.loading strong,
.learning-tile.loading span {
  opacity: 0;
}

.history-btn.loading::after,
.game-btn.loading::after,
.learning-tile.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.6s linear infinite;
}

/* ================= EARN ================= */
.earn-card {
  width: 100%;
  margin: 0 0 18px;
  padding: 18px 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #16a9ff 0%, #0988ff 100%);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(9, 136, 255, 0.2);
}

.earn-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.earn-top span,
.earn-bottom span {
  font-size: 13px;
}

.earn-top i {
  font-size: 18px;
}

.earn-bottom span {
  font-weight: 600;
}

/* ================= MINI GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
}

.learning-mini-card {
  text-align: center;
  font-size: 11px;
  color: #1d2440;
  text-decoration: none;
}

.learning-mini-card span {
  display: block;
  margin-top: 8px;
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #dbe5ff 100%);
  color: #5c4cff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ================= REFERRAL ================= */
.referral-card h3 {
  margin: 0;
}

.ref-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: #f3f5ff;
  border: 1px solid #dde4ff;
  border-radius: 18px;
}

.ref-modern::before,
.ref-modern::after {
  pointer-events: none;
}

.ref-text {
  flex: 1;
  font-size: 12px;
  color: #1d2440;
  overflow: hidden;
  word-break: break-all;
}

.copy-btn-modern {
  background: linear-gradient(135deg, #7d67ff, #5c4cff);
  border: none;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 12px;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

/* ================= SUMMARY ================= */
.summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.summary-card {
  padding: 14px;
  border-radius: 18px;
  transition: 0.3s;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(42, 50, 107, 0.12);
  min-height: 92px;
}

.summary-card:hover {
  transform: translateY(-3px);
}

.summary-card h3 {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  margin: 0;
  color: inherit;
}

.summary-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
}

.team-card {
  background: linear-gradient(135deg, #6b87ff, #5c4cff);
}

.deposit-card {
  background: linear-gradient(135deg, #93dd15, #72b300);
}

.withdraw-card {
  background: linear-gradient(135deg, #ff9f67, #ff7b4b);
}

.bonus-card {
  background: linear-gradient(135deg, #ffc56b, #ffb13b);
  color: #1d2440;
}

/* ================= SIDEBAR ================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #ffffff;
  backdrop-filter: blur(16px);
  transition: 0.3s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: 14px 0 34px rgba(42, 50, 107, 0.12);
}

.sidebar.active {
  left: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29, 36, 64, 0.34);
  z-index: 9998;
}

.sidebar-header {
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf0fb;
}

.sidebar-header h3 {
  font-size: 16px;
  color: #1d2440;
}

.sidebar-header button {
  background: none;
  border: none;
  font-size: 24px;
  color: #7a819d;
}

.sidebar-menu {
  padding: 12px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 14px;
  color: #1d2440;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

.sidebar-menu a i {
  width: 18px;
  color: #5c4cff;
}

.sidebar-menu a:hover {
  background: #f3f5ff;
}

.sidebar-menu .logout {
  margin-top: 10px;
  background: linear-gradient(135deg, #7d67ff, #5c4cff);
  color: #ffffff;
}

.sidebar-menu .logout i {
  color: #ffffff;
}

/* ================= HELPERS ================= */
.game-btn {
  position: relative;
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 420px) {
  .hero-card {
    padding: 16px 14px;
  }

  .hero-card h1 {
    font-size: 19px;
  }

  .hero-play {
    width: 82px;
    height: 82px;
  }

  .hero-ring-one {
    width: 82px;
    height: 82px;
  }

  .hero-ring-two {
    width: 58px;
    height: 58px;
  }

  .hero-play-btn {
    width: 48px;
    height: 48px;
  }

  .learning-tile {
    min-height: 132px;
    padding: 16px 12px;
  }

  .tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .grid {
    gap: 10px;
  }
}

/* ================= HOME PAGE ================= */
.home-page {
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 86px 12px 100px;
  color: #1d2440;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #725cff 0%, #5c4cff 100%);
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(92, 76, 255, 0.22);
  margin-bottom: 16px;
}

.home-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  pointer-events: none;
}

.home-shape-top {
  width: 140px;
  height: 120px;
  top: -38px;
  left: -34px;
  border-radius: 32px 0 90px 0;
}

.home-shape-bottom {
  width: 170px;
  height: 140px;
  bottom: -54px;
  right: -38px;
  border-radius: 90px 0 32px 0;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 360px;
  padding: 46px 24px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.home-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.86;
  margin-bottom: 16px;
}

.home-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-hero p {
  max-width: 260px;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
}

.home-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 36px auto 0;
  width: 100%;
  max-width: 240px;
}

.home-cta-btn,
.home-secondary-btn {
  border: none;
  cursor: pointer;
}

.home-cta-btn {
  min-height: 56px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #6b60d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(29, 36, 64, 0.16);
}

.home-cta-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7d67ff, #5c4cff);
  color: #ffffff;
}

.home-secondary-btn {
  min-height: 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.home-slider {
  padding: 0;
  overflow: hidden;
  margin-bottom: 18px;
}

.home-slider img {
  display: block;
  border-radius: 24px;
  min-height: 160px;
  object-fit: cover;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 14px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 18px;
  color: #1d2440;
}

.home-section-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #7a819d;
}

.home-plan-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef1ff, #dbe4ff);
  color: #5c4cff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.home-plan-card {
  margin-bottom: 14px;
}

@media (max-width: 420px) {
  .home-page {
    padding: 82px 10px 98px;
  }

  .home-hero-inner {
    min-height: 320px;
    padding: 40px 18px 30px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
