/* ==========================================================================
   YAARWIN - PREMIUM LIGHT THEME & DESIGN SYSTEM (#002917 + #74F86C + CLEAN ICE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,600;0,700;1,700&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Light Theme Root Design Tokens --- */
:root {
  --bg-dark: #f4fbf7;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0fdf4;
  --bg-glass: rgba(255, 255, 255, 0.92);
  
  --accent-primary: #002917;
  --accent-primary-light: #74f86c;
  --accent-primary-glow: rgba(0, 41, 23, 0.15);
  --accent-secondary: #0284c7;
  --accent-secondary-glow: rgba(2, 132, 199, 0.2);
  --accent-pink: #e11d48;
  --accent-gold: #d97706;
  --accent-gold-glow: rgba(217, 119, 6, 0.2);
  --accent-emerald: #059669;
  --accent-danger: #dc2626;

  --text-main: #0b2118;
  --text-muted: #4a685b;
  --text-dim: #718e82;

  --border-color: rgba(0, 41, 23, 0.1);
  --border-glow: rgba(116, 248, 108, 0.6);

  --font-heading: 'Outfit', 'Chakra Petch', sans-serif;
  --font-subheading: 'Chakra Petch', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px rgba(0, 41, 23, 0.06);
  --shadow-glow: 0 12px 35px rgba(0, 41, 23, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(116, 248, 108, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(0, 41, 23, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, #f4fbf7, #eef9f2, #e8f5ec);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f4fbf7;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #002917;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  flex: 1;
  padding-top: 105px;
  padding-bottom: 60px;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, #002917 0%, #059669 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.section-title i, .section-title span.title-icon {
  color: var(--accent-primary);
  filter: drop-shadow(0 2px 8px rgba(0, 41, 23, 0.2));
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 41, 23, 0.05);
  transition: var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #002917, #004d2c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #74f86c;
  box-shadow: 0 4px 15px rgba(0, 41, 23, 0.25);
  transform: rotate(-5deg);
  transition: var(--transition-fast);
}

.brand-logo:hover .logo-badge {
  transform: rotate(0deg) scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
}

.nav-link {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-subheading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: #002917;
  background: rgba(116, 248, 108, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 41, 23, 0.15);
}

/* --- Header Actions & Mobile Toggle --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1.5px solid rgba(0, 41, 23, 0.15);
  color: #002917;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: #002917;
  color: #74f86c;
  border-color: #002917;
}

/* --- Navigation Dropdown Menu --- */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link .nav-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-arrow,
.nav-item-dropdown.active .nav-arrow,
.nav-item-dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 340px;
  max-width: 90vw;
  background: #ffffff;
  border: 1.5px solid #74f86c;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 41, 23, 0.22);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(0, 41, 23, 0.06);
  white-space: normal;
  line-height: 1.4;
  text-align: left;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item i {
  color: #059669;
  font-size: 1.1rem;
  min-width: 20px;
  margin-top: 2px;
  text-align: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: #f0fdf4;
  color: #002917;
  padding-left: 22px;
}

.dropdown-item:hover i {
  color: #002917;
  transform: scale(1.15);
}

/* --- Hero Banner Overlay Styles --- */
.hero-banner-custom {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #002917 0%, #004d2c 50%, #059669 100%);
  color: #ffffff;
  padding: 55px 45px;
  box-shadow: 0 15px 40px rgba(0, 41, 23, 0.15);
  margin-bottom: 30px;
}

.hero-banner-custom::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 85% 20%, rgba(116, 248, 108, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(116, 248, 108, 0.2);
  border: 1px solid rgba(116, 248, 108, 0.5);
  color: #74f86c;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title-main span {
  color: #74f86c;
}

.hero-desc-main {
  font-size: 1.08rem;
  color: #d1fae5;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 780px;
}

/* --- Yaarwin Game Section Card --- */
.yaarwin-card-box {
  background: var(--bg-surface);
  border: 1.5px solid rgba(0, 41, 23, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px 35px;
  box-shadow: 0 10px 30px rgba(0, 41, 23, 0.06);
  margin-bottom: 30px;
  transition: var(--transition-normal);
}

.yaarwin-card-box:hover {
  box-shadow: 0 15px 35px rgba(0, 41, 23, 0.12);
  border-color: #74f86c;
}

.game-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.game-tag-pill {
  background: linear-gradient(135deg, #e6fced 0%, #d1fae5 100%);
  color: #002917;
  border: 1px solid #74f86c;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(0, 41, 23, 0.06);
  transition: var(--transition-fast);
}

.game-tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 41, 23, 0.12);
}

.game-tag-pill i {
  color: #059669;
}

/* --- Yaarwin Game App Specification Table --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(0, 41, 23, 0.08);
  border: 1.5px solid rgba(0, 41, 23, 0.12);
  background: var(--bg-surface);
  margin-top: 20px;
}

.yaarwin-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-body);
}

.yaarwin-specs-table th {
  background: linear-gradient(135deg, #002917 0%, #004d2c 100%);
  color: #74f86c;
  font-family: var(--font-subheading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 18px 26px;
  border-bottom: 3px solid #74f86c;
}

.yaarwin-specs-table td {
  padding: 16px 26px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.98rem;
  color: var(--text-main);
  font-weight: 600;
}

.yaarwin-specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.yaarwin-specs-table tr:hover {
  background: #f0fdf4;
}

.yaarwin-specs-table td:first-child {
  font-weight: 800;
  color: #002917;
  width: 32%;
  font-family: var(--font-subheading);
  font-size: 1rem;
}

.yaarwin-specs-table td:last-child {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e6;
  border: 1.5px solid #fcd34d;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  color: #b45309;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.1);
  white-space: nowrap;
  line-height: 1;
}

.wallet-badge:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* --- Buttons & Inputs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-subheading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #002917, #004d2c);
  color: #74f86c;
  box-shadow: 0 6px 20px rgba(0, 41, 23, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 41, 23, 0.35);
  background: linear-gradient(135deg, #003a21, #002917);
}

.btn-secondary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(0, 41, 23, 0.05);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: #74f86c;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* --- Hero Banner Section --- */
.hero-section {
  position: relative;
  padding: 40px 0 60px;
}

.hero-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(116, 248, 108, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #e6fced;
  border: 1.5px solid #002917;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  color: #002917;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #002917;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.6rem;
  color: #002917;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Cards Grid & Game Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(0, 41, 23, 0.12);
  background: var(--bg-card-hover);
}

.game-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.game-card:hover .game-card-img img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 800;
  color: #b45309;
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.game-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #002917;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.game-meta i {
  color: var(--accent-secondary);
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.prize-box span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.prize-box strong {
  font-size: 1.15rem;
  color: var(--accent-emerald);
  font-family: var(--font-subheading);
  font-weight: 800;
}

/* --- Tournament Card --- */
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.tournament-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(0, 41, 23, 0.12);
  transform: translateY(-4px);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tournament-tag {
  background: #e6fced;
  border: 1px solid rgba(0, 41, 23, 0.2);
  color: #002917;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
}

.tournament-prizes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.progress-container {
  margin-top: 5px;
}

.progress-bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #002917, #059669);
  border-radius: 4px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Live Win Marquee Ticker --- */
.ticker-wrap {
  background: #ffffff;
  border-y: 1px solid var(--border-color);
  padding: 12px 0;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 41, 23, 0.04);
}

.ticker-move {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ticker-item strong {
  color: #002917;
}

.ticker-item .win-amount {
  color: var(--accent-emerald);
  font-weight: 800;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Leaderboard Table --- */
.leaderboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  padding: 16px 20px;
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: var(--text-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 41, 23, 0.06);
  vertical-align: middle;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
}

.rank-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
}

.rank-1 { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #b45309, #78350f); color: #fff; }
.rank-other { background: #e2e8f0; color: var(--text-muted); }

/* --- Wallet Section --- */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.balance-card {
  background: linear-gradient(135deg, #002917 0%, #004d2c 100%);
  border: 1.5px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 35px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 41, 23, 0.2);
  color: #fff;
}

.balance-card span {
  color: #a7f3d0 !important;
}

.balance-amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #74f86c;
  margin: 15px 0 25px;
}

/* --- Category Filter Tabs --- */
.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-family: var(--font-subheading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 41, 23, 0.04);
}

.tab-btn:hover, .tab-btn.active {
  background: #002917;
  color: #74f86c;
  border-color: #002917;
  box-shadow: 0 6px 18px rgba(0, 41, 23, 0.2);
}

/* --- Modal Dialog --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 41, 23, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 41, 23, 0.25);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-subheading);
  text-transform: uppercase;
  font-weight: 700;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #002917;
  font-family: var(--font-body);
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 41, 23, 0.15);
}

/* --- Footer --- */
.site-footer {
  background: #002917;
  color: #f2fff1;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #a7f3d0;
  margin: 15px 0 20px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: #74f86c;
  color: #002917;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a7f3d0;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #74f86c;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: #80b396;
}

/* --- Table of Contents Section & Links --- */
.toc-card-container {
  background: var(--bg-surface);
  border: 1.5px solid rgba(0, 41, 23, 0.15);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: 0 12px 35px rgba(0, 41, 23, 0.08);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.toc-card-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, #002917 0%, #059669 50%, #74f86c 100%);
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px 25px;
  margin-top: 25px;
}

.toc-group {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-fast);
}

.toc-group:hover {
  background: #f0fdf4;
  border-color: #74f86c;
  box-shadow: 0 6px 20px rgba(0, 41, 23, 0.06);
}

.toc-group-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #002917;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 41, 23, 0.1);
}

.toc-group-title i {
  color: #059669;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-link {
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
  line-height: 1.4;
}

.toc-link:hover {
  color: #059669;
  transform: translateX(4px);
  text-decoration: underline;
}

.toc-sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 6px;
  border-left: 2px solid rgba(0, 41, 23, 0.1);
}

.toc-sub-list li {
  margin-bottom: 6px;
  font-size: 0.85rem;
}

/* --- Content Sections Cards & Timeline Steps --- */
.content-section-card {
  background: var(--bg-surface);
  border: 1.5px solid rgba(0, 41, 23, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px 35px;
  box-shadow: 0 10px 30px rgba(0, 41, 23, 0.06);
  margin-bottom: 35px;
  scroll-margin-top: 100px;
  transition: var(--transition-normal);
}

.content-section-card:hover {
  box-shadow: 0 15px 35px rgba(0, 41, 23, 0.1);
  border-color: #74f86c;
}

.step-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.step-card-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  transition: var(--transition-fast);
}

.step-card-box:hover {
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 8px 25px rgba(0, 41, 23, 0.08);
  transform: translateY(-3px);
}

.step-number-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #002917, #059669);
  color: #74f86c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* --- FAQ Accordion --- */
.faq-accordion-item {
  border: 1.5px solid rgba(0, 41, 23, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: var(--transition-fast);
}

.faq-accordion-item:hover {
  border-color: #059669;
}

.faq-accordion-header {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #002917;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-accordion-header:hover {
  background: #f0fdf4;
}

.faq-accordion-header i {
  transition: transform 0.3s ease;
  color: #059669;
}

.faq-accordion-item.active .faq-accordion-header i {
  transform: rotate(180deg);
}

.faq-accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-accordion-item.active .faq-accordion-body {
  padding: 18px 24px 22px;
  max-height: 500px;
  border-top: 1px solid var(--border-color);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  .hero-banner {
    flex-direction: column;
    padding: 40px 30px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: var(--transition-normal);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.9rem;
  }
}

/* ==========================================================================
   ANIMATED SECTION 3 STYLES: START PLAYING ON YAARWIN IN JUST A FEW STEPS
   ========================================================================== */
.animated-steps-card {
  background: linear-gradient(135deg, #001f11 0%, #002917 40%, #004d2c 100%);
  border: 1.5px solid rgba(116, 248, 108, 0.3);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 41, 23, 0.35);
}

.animated-steps-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(116, 248, 108, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(2, 132, 199, 0.15) 0%, transparent 50%);
  pointer-events: none;
  animation: floatAmbient 12s infinite alternate ease-in-out;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(5deg); }
  100% { transform: translate(-15px, 15px) rotate(-3deg); }
}

.step-card-animated {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-card-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.step-card-animated:hover::after {
  left: 100%;
}

.step-card-animated:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.13);
  border-color: #74f86c;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(116, 248, 108, 0.35);
}

.step-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-badge-glow {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #74f86c 0%, #34d399 100%);
  color: #002917;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(116, 248, 108, 0.4);
  transition: transform 0.3s ease;
}

.step-card-animated:hover .step-badge-glow {
  transform: scale(1.15) rotate(360deg);
}

.step-icon-glow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(116, 248, 108, 0.15);
  color: #74f86c;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 248, 108, 0.3);
  transition: all 0.3s ease;
}

.step-card-animated:hover .step-icon-glow {
  background: #74f86c;
  color: #002917;
  box-shadow: 0 0 18px rgba(116, 248, 108, 0.6);
}

.step-title-glow {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.step-desc-glow {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1fae5;
  margin: 0;
}

.step-connector-pulse {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #74f86c, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card-animated:hover .step-connector-pulse {
  opacity: 1;
}

/* ==========================================================================
   ADDITIONAL ANIMATED SECTION STYLES (CATEGORIES, DEPOSIT, BANK, WINGO, REFER, WITHDRAWAL)
   ========================================================================== */
.category-card-animated {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 26px 22px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.category-card-animated:hover {
  transform: translateY(-8px);
  border-color: #059669;
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.15);
  background: #f0fdf4;
}

.wingo-color-box {
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wingo-color-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.wingo-green {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #047857;
}

.wingo-red {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
}

.wingo-violet {
  background: #f5f3ff;
  border: 1.5px solid #ddd6fe;
  color: #6d28d9;
}

/* ==========================================================================
   FAQ ACCORDION & HIGHLIGHT CARDS ENHANCEMENTS
   ========================================================================== */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item:hover {
  border-color: #059669;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
}

.faq-accordion-item.active {
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.faq-accordion-header {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #002917;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-accordion-header i {
  color: #059669;
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-header i {
  transform: rotate(180deg);
}

.faq-accordion-body {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px dashed rgba(5, 150, 105, 0.2);
  margin-top: 5px;
  padding-top: 15px;
}

.faq-accordion-item.active .faq-accordion-body {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

/* ==========================================================================
   CENTERED ICON BOXES & PAGE-WIDE ANIMATION POLISH
   ========================================================================== */
.icon-box-centered {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box-centered:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
}

.centered-feature-card {
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 22px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.centered-feature-card:hover {
  transform: translateY(-8px);
  border-color: #059669;
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.15);
  background: #f0fdf4;
}

.step-num-badge-centered {
  width: 38px;
  height: 38px;
  background: #002917;
  color: #74f86c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 auto 12px auto;
  box-shadow: 0 0 12px rgba(116, 248, 108, 0.4);
  transition: transform 0.3s ease;
}

.step-num-badge-centered:hover {
  transform: scale(1.15) rotate(360deg);
}

/* ==========================================================================
   ANIMATED STEPS SECTION (SECTION 3) - FIXED HIGH-CONTRAST DARK GLASSMORPHISM
   ========================================================================== */
.animated-steps-card {
  background: linear-gradient(135deg, #002917 0%, #004225 50%, #001a0f 100%) !important;
  border: 2px solid rgba(116, 248, 108, 0.35) !important;
  border-radius: 24px !important;
  padding: 40px 30px !important;
  box-shadow: 0 20px 50px rgba(0, 41, 23, 0.45) !important;
  position: relative !important;
  overflow: hidden !important;
}

.step-card-animated {
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(116, 248, 108, 0.25) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.step-card-animated:hover {
  transform: translateY(-8px) scale(1.02) !important;
  background: rgba(116, 248, 108, 0.12) !important;
  border-color: #74f86c !important;
  box-shadow: 0 15px 35px rgba(116, 248, 108, 0.25) !important;
}

.step-header-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.step-badge-glow {
  width: 36px !important;
  height: 36px !important;
  background: linear-gradient(135deg, #74f86c 0%, #059669 100%) !important;
  color: #002917 !important;
  border-radius: 50% !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 15px rgba(116, 248, 108, 0.5) !important;
}

.step-number-glow {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #74f86c 0%, #059669 100%);
  color: #002917;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(116, 248, 108, 0.6), 0 4px 10px rgba(0, 41, 23, 0.3);
  margin: 0 auto 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #ffffff;
}

.step-card-animated:hover .step-number-glow {
  transform: scale(1.18) rotate(8deg);
  box-shadow: 0 0 30px rgba(116, 248, 108, 0.9), 0 6px 15px rgba(0, 41, 23, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #74f86c 100%);
  color: #001a0f;
}

.step-icon-glow {
  width: 46px !important;
  height: 46px !important;
  background: rgba(116, 248, 108, 0.15) !important;
  color: #74f86c !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  box-shadow: 0 0 15px rgba(116, 248, 108, 0.2) !important;
}

.step-title-glow {
  color: #ffffff !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  margin-bottom: 8px !important;
}

.step-desc-glow {
  color: #d1fae5 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ==========================================================================
   HERO ACTION BUTTONS (MATCHING WEBSITE GREEN & EMERALD DESIGN THEME)
   ========================================================================== */
.action-buttons-91 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 22px 0 25px;
  width: 100%;
}

.btn-91-register {
  flex: 1;
  max-width: 280px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 2.5px solid #059669;
  background: #ffffff;
  color: #059669;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-91-register:hover {
  background: #f0fdf4;
  border-color: #002917;
  color: #002917;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.22);
}

.btn-91-login {
  flex: 1;
  max-width: 280px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 2.5px solid #002917;
  background: linear-gradient(135deg, #002917 0%, #004d2c 100%);
  color: #74f86c;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 41, 23, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-91-login:hover {
  background: linear-gradient(135deg, #004d2c 0%, #059669 100%);
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(116, 248, 108, 0.4);
}

.btn-91-download {
  flex: 1;
  max-width: 240px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 2.5px solid #d97706;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-91-download:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  border-color: #92400e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

/* ==========================================================================
   ENHANCED INTERACTIVE ANIMATIONS & HOVER EFFECTS FOR HOME SECTIONS
   ========================================================================== */

.content-section-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.content-section-card:hover {
  border-color: rgba(5, 150, 105, 0.3) !important;
  box-shadow: 0 16px 40px rgba(0, 41, 23, 0.09) !important;
}

.toc-link {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-link:hover {
  background: #f0fdf4 !important;
  border-color: #059669 !important;
  color: #059669 !important;
  transform: translateX(4px);
}

.toc-link:active {
  transform: scale(0.98);
}

.step-card-box, .centered-feature-card, .game-cat-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card-box:hover, .game-cat-card:hover {
  transform: translateY(-6px);
  border-color: #059669 !important;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12) !important;
  background: #f0fdf4 !important;
}

.game-tag-pill {
  transition: all 0.25s ease;
}

.game-tag-pill:hover {
  transform: scale(1.06);
  background: #002917 !important;
  color: #74f86c !important;
  border-color: #002917 !important;
}

.btn-91-register:active, .btn-91-login:active, .btn:active {
  transform: scale(0.96) !important;
}

/* Pulse Glow Animation for High Priority Badges */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(116, 248, 108, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(116, 248, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(116, 248, 108, 0); }
}

.pulse-badge {
  animation: pulseGlow 2s infinite;
}

/* YW Logo Icon Badge Pulse Glow */
.yw-logo-box {
  animation: logoPulse 3s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  0% { box-shadow: 0 10px 25px rgba(116, 248, 108, 0.3); transform: scale(1); }
  100% { box-shadow: 0 15px 40px rgba(116, 248, 108, 0.6); transform: scale(1.04); }
}

.copy-invite-code {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-invite-code:hover {
  background: #fef3c7 !important;
  border-color: #b45309 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.copy-invite-code:active {
  transform: scale(0.95);
}

/* ==========================================================================
   ULTRA-ATTRACTIVE PREMIUM REGISTER DOWNLOAD CTA BUTTON
   ========================================================================== */
.btn-register-download-premium {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #74f86c 0%, #00e676 50%, #059669 100%);
  color: #002917;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 30px rgba(116, 248, 108, 0.55), 0 4px 15px rgba(0, 41, 23, 0.2);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-register-download-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShine 3s infinite;
}

.btn-register-download-premium:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 40px rgba(116, 248, 108, 0.75), 0 6px 20px rgba(0, 41, 23, 0.3);
  color: #001a0f;
}

.btn-register-download-premium:active {
  transform: translateY(0) scale(0.97);
}

.download-btn-icon-badge {
  width: 38px;
  height: 38px;
  background: #002917;
  color: #74f86c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 41, 23, 0.3);
  transition: transform 0.3s ease;
}

.btn-register-download-premium:hover .download-btn-icon-badge {
  transform: scale(1.15) rotate(-10deg);
  background: #001a0f;
  color: #ffffff;
}

@keyframes btnShine {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE MEDIA QUERIES FOR ALL PAGES
   ========================================================================== */

/* --- Tablet / Medium Screen (< 992px) --- */
@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  
  .header-inner {
    height: 65px;
  }

  .main-content {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .brand-logo span {
    font-size: 1.25rem;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  /* Mobile Navigation Slide-Down Drawer */
  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 24px;
    box-shadow: 0 15px 35px rgba(0, 41, 23, 0.15);
    border-bottom: 3px solid #059669;
    gap: 8px;
    display: none;
    z-index: 99998;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex !important;
    animation: slideDownNav 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
    border-radius: 10px;
    justify-content: flex-start;
  }

  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #a7f3d0;
    background: #f0fdf4;
    margin-top: 6px;
    transform: none !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block !important;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .step-flow-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .toc-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --- Mobile Landscape & Portrait (< 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .main-content {
    padding-top: 75px;
    padding-bottom: 35px;
  }

  .section-header {
    margin-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-title {
    font-size: 1.45rem !important;
  }

  .section-subtitle {
    font-size: 0.88rem !important;
  }

  .grid-4, .grid-3, .grid-2, .step-flow-grid, .toc-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .content-section-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  .yaarwin-card-box {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  /* Table 100% Mobile Responsive Without Horizontal Scroll */
  .table-responsive {
    width: 100% !important;
    overflow-x: hidden !important;
    margin-bottom: 15px;
    border-radius: 12px;
  }

  .yaarwin-specs-table {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .yaarwin-specs-table th:nth-child(1),
  .yaarwin-specs-table td:nth-child(1) {
    width: 35% !important;
    padding: 10px 8px !important;
    font-size: 0.88rem !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .yaarwin-specs-table th:nth-child(2),
  .yaarwin-specs-table td:nth-child(2) {
    width: 65% !important;
    padding: 10px 8px !important;
    font-size: 0.88rem !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .header-actions .wallet-badge {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }
  
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  /* Footer Responsiveness */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

/* --- Small Mobile Phones (< 480px) --- */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.3rem !important;
  }

  .brand-logo span {
    font-size: 1.15rem;
  }

  .logo-badge {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  /* Hide extra outline login button on top header on tiny screens so logo + Register + Hamburger never overflow */
  .header-actions .btn-outline {
    display: none;
  }

  .game-tags-list {
    gap: 6px !important;
  }

  .game-tag-pill {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
  }

  .step-card-box {
    padding: 16px 12px !important;
  }

  .action-buttons-91 {
    flex-direction: row;
    gap: 8px;
    margin: 18px 0 20px;
  }

  .btn-91-register, .btn-91-login, .btn-91-download {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 95px;
    max-width: 100%;
    padding: 11px 6px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step Cards & Glowing Number Badges Master Rules */
.animated-steps-card {
  background: linear-gradient(135deg, #002917 0%, #004225 50%, #001a0f 100%) !important;
  border: 2px solid rgba(116, 248, 108, 0.35) !important;
  border-radius: 24px !important;
  padding: 40px 30px !important;
  box-shadow: 0 20px 50px rgba(0, 41, 23, 0.45) !important;
  position: relative !important;
  overflow: hidden !important;
}

.step-card-animated {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(116, 248, 108, 0.35) !important;
  border-radius: 18px !important;
  padding: 26px 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.step-card-animated:hover {
  transform: translateY(-5px) !important;
  border-color: #74f86c !important;
  box-shadow: 0 10px 25px rgba(116, 248, 108, 0.25) !important;
}

.step-number-glow {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  background: linear-gradient(135deg, #74f86c 0%, #34d399 100%) !important;
  color: #002917 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  margin: 0 auto 14px auto !important;
  box-shadow: 0 0 15px rgba(116, 248, 108, 0.6) !important;
}

.step-title-glow {
  color: #ffffff !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  line-height: 1.35 !important;
}

.step-desc-glow {
  color: #d1fae5 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.centered-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.centered-feature-card:hover {
  transform: translateY(-4px);
  border-color: #059669;
}

.step-num-badge-centered {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background: #002917;
  color: #74f86c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(0, 41, 23, 0.2);
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS & MOBILE ALIGNMENT FIXES (@media 768px & 480px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Prevent horizontal scrolling & body overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Container Padding */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Section Titles & Subtitles Center Alignment */
  .section-title {
    font-size: 1.45rem !important;
    text-align: center !important;
    word-break: break-word !important;
    line-height: 1.35 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-header {
    text-align: center !important;
  }

  /* Content Cards & Padding */
  .content-section-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  /* Grid Layouts - Stack Gracefully on Mobile */
  .grid-2, .grid-3, .grid-4, .game-categories-grid, .step-flow-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Hero Section Alignment & Buttons */
  .hero-banner-custom {
    padding: 24px 18px !important;
    text-align: center !important;
  }

  .hero-banner-custom h1, .hero-title-main {
    font-size: 1.6rem !important;
    text-align: center !important;
  }

  .hero-banner-custom p {
    font-size: 0.95rem !important;
    text-align: center !important;
  }

  /* Button Container Alignment on Mobile */
  .button-group-responsive,
  .hero-banner-custom div[style*="display: flex"],
  .content-section-card div[style*="display: flex"] {
    justify-content: center !important;
  }

  /* Buttons Full Width / Centered on Mobile */
  .btn, .btn-91-register, .btn-91-login, .btn-91-download, .btn-gold, .btn-primary, .btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Specs Table Mobile Responsive Scroll & Word Break */
  .yaarwin-specs-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 -5px !important;
  }

  .yaarwin-specs-table {
    font-size: 0.85rem !important;
    width: 100% !important;
    min-width: 300px !important;
  }

  .yaarwin-specs-table td, .yaarwin-specs-table th {
    padding: 10px 8px !important;
    word-break: break-word !important;
  }

  /* Table of Contents Box Mobile */
  .toc-box {
    padding: 16px 14px !important;
  }

  .toc-grid {
    grid-template-columns: 1fr !important;
  }

  /* Center Images & Mockups on Mobile */
  img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header Logo & Navigation Mobile */
  .site-header {
    padding: 10px 0 !important;
  }

  .brand-logo {
    justify-content: center !important;
  }

  .brand-logo img {
    height: 32px !important;
  }

  /* Step Cards and Feature Cards Centered */
  .centered-feature-card, .step-card-box, .step-card-animated {
    text-align: center !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.3rem !important;
  }

  .hero-title-main {
    font-size: 1.45rem !important;
  }

  .btn {
    font-size: 0.92rem !important;
    padding: 10px 16px !important;
  }
}






