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

:root {
  --background: #f1f5f9;
  --foreground: #0f172a;
  --primary: #059669;
  --primary-hover: #047857;
  --brand-navy: #0f172a;
  --brand-indigo: #312e81;
  --brand-accent: #f59e0b;
  --header-bg: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #064e3b 100%);
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* ==========================================================================
   PAGE WRAPPER & CONTAINER
   ========================================================================== */
.ygw-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f4f7fb;
}

.ygw-container {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. DISTINCTIVE ROYAL EMERALD-INDIGO NAVBAR + TRUST BANNER
   ========================================================================== */
.ygw-navbar {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 50%, #1e1b4b 100%);
  color: #ffffff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.28);
  border-bottom: 2px solid rgba(251, 191, 36, 0.45);
}

.ygw-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 12px;
}

.ygw-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ygw-logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ygw-logo-image {
  border-radius: 12px;
  object-fit: contain;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.ygw-logo-fallback {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.ygw-site-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ygw-site-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
}

.ygw-site-title a {
  color: #ffffff;
  text-decoration: none;
}

.ygw-site-title .accent-dot {
  color: #fbbf24;
}

.ygw-site-subtitle {
  font-size: 0.72rem;
  color: #6ee7b7;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ygw-telegram-pill,
.ygw-telegram-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}

.ygw-telegram-pill:hover,
.ygw-telegram-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.55);
}

.ygw-telegram-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block !important;
}

/* Top Welcome Trust Banner */
.ygw-trust-banner,
.ygw-trust-strip {
  background: #0f172a;
  color: #f8fafc;
  padding: 9px 0;
  font-size: 0.76rem;
  border-bottom: 1px solid #1e293b;
}

.ygw-trust-items,
.ygw-trust-strip-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.ygw-trust-items::-webkit-scrollbar,
.ygw-trust-strip-inner::-webkit-scrollbar {
  display: none;
}

.ygw-trust-badge,
.ygw-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}

.ygw-trust-badge span.hl {
  color: #fbbf24;
  font-weight: 800;
}

/* Section Heading Bar */
.ygw-section-head,
.ygw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.ygw-section-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  letter-spacing: -0.2px;
}

.ygw-section-pill,
.ygw-section-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  border: 1px solid #6ee7b7;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ygw-site-title {
    font-size: 1.1rem;
  }
  .ygw-site-subtitle {
    font-size: 0.64rem;
  }
  .ygw-logo-image,
  .ygw-logo-fallback {
    width: 38px;
    height: 38px;
  }
  .ygw-telegram-pill,
  .ygw-telegram-btn {
    padding: 7px 12px;
    font-size: 0.75rem;
  }
  .ygw-section-title {
    font-size: 0.96rem;
  }
}

/* ==========================================================================
   2. LATEST GAMES AUTO-SCROLLING MARQUEE (Sleek Elevated Cards)
   ========================================================================== */
.ygw-latest-section {
  padding: 16px 0 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.ygw-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 4px 0 6px;
}

.ygw-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ygwScrollMarquee 50s linear infinite;
}

.ygw-marquee-track:hover {
  animation-play-state: paused;
}

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

.ygw-latest-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 10px 12px;
  width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.ygw-latest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  border-color: #10b981;
}

.ygw-latest-badge,
.ygw-latest-new-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
  z-index: 2;
}

.ygw-latest-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  border: 2px solid #ffffff;
}

.ygw-latest-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ygw-latest-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.ygw-latest-subtitle {
  font-size: 0.7rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 5px;
}

.ygw-latest-stars {
  font-size: 0.65rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.ygw-latest-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  width: 100%;
  padding: 7px 0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
  transition: all 0.2s;
  text-decoration: none;
}

.ygw-latest-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .ygw-latest-card {
    width: 136px;
    padding: 12px 8px 10px;
  }
  .ygw-latest-icon {
    width: 60px;
    height: 60px;
  }
  .ygw-latest-title {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   3. TOP THREE PODIUM GAMES SECTION (Full-Width Gold/Indigo/Emerald Cards)
   ========================================================================== */
.ygw-top3-section {
  padding: 20px 0 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.ygw-top3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin: 6px auto 0;
}

.ygw-top3-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.ygw-top3-card.rank-1,
.ygw-top3-card:nth-child(1) {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
}

.ygw-top3-card.rank-2,
.ygw-top3-card:nth-child(2) {
  border-color: #818cf8;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 55%);
}

.ygw-top3-card.rank-3,
.ygw-top3-card:nth-child(3) {
  border-color: #34d399;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 55%);
}

.ygw-top3-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.ygw-podium-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ygw-top3-card.rank-1 .ygw-podium-badge,
.ygw-top3-card:nth-child(1) .ygw-podium-badge,
.ygw-podium-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #ffffff;
}

.ygw-top3-card.rank-2 .ygw-podium-badge,
.ygw-top3-card:nth-child(2) .ygw-podium-badge,
.ygw-podium-badge.rank-2 {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #ffffff;
}

.ygw-top3-card.rank-3 .ygw-podium-badge,
.ygw-top3-card:nth-child(3) .ygw-podium-badge,
.ygw-podium-badge.rank-3 {
  background: linear-gradient(135deg, #059669 0%, #065f46 100%);
  color: #ffffff;
}

.ygw-top3-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  border: 2px solid #ffffff;
}

.ygw-top3-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ygw-top3-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.ygw-top3-bonus,
.ygw-top3-bonus-pill {
  font-size: 0.78rem;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  display: inline-block;
}

.ygw-top3-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  width: 100%;
  padding: 9px 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
  transition: all 0.2s;
  text-decoration: none;
}

.ygw-top3-card:nth-child(1) .ygw-top3-btn {
  background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.ygw-top3-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (max-width: 600px) {
  .ygw-top3-grid {
    gap: 8px;
  }
  .ygw-top3-card {
    padding: 16px 6px 10px;
    border-radius: 14px;
  }
  .ygw-podium-badge {
    font-size: 0.56rem;
    padding: 2px 7px;
    top: -9px;
  }
  .ygw-top3-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .ygw-top3-title {
    font-size: 0.8rem;
  }
  .ygw-top3-bonus,
  .ygw-top3-bonus-pill {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin-bottom: 8px;
  }
  .ygw-top3-btn {
    font-size: 0.72rem;
    padding: 7px 0;
    border-radius: 8px;
  }
}

/* ==========================================================================
   4. DYNAMIC CATEGORY FILTER BAR & LIVE SEARCH
   ========================================================================== */
.ygw-filter-bar {
  padding: 14px 0 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 70px;
  z-index: 80;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.ygw-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.ygw-category-pills::-webkit-scrollbar {
  display: none;
}

.ygw-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ygw-cat-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ygw-cat-pill.active {
  background: linear-gradient(135deg, #059669 0%, #0f172a 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}

.ygw-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ygw-search-box {
  position: relative;
  flex: 1;
}

.ygw-search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.86rem;
  font-weight: 500;
  color: #0f172a;
  font-family: var(--font-body);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.ygw-search-input:focus {
  outline: none;
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.ygw-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   5. MAIN VERTICAL GAME LIST (Upgraded Elevated Cards with Rank Badges)
   ========================================================================== */
.ygw-main-content {
  flex: 1;
  padding: 16px 0 40px;
}

.ygw-game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ygw-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.ygw-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  border-color: #10b981;
}

.ygw-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ygw-rank-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.76rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ygw-rank-num.top-rank,
.ygw-list-item:nth-child(1) .ygw-rank-num,
.ygw-list-item:nth-child(2) .ygw-rank-num,
.ygw-list-item:nth-child(3) .ygw-rank-num {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  border: 1px solid #f59e0b;
}

.ygw-icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.09);
}

.ygw-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ygw-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-right: 10px;
}

.ygw-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ygw-game-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ygw-game-title a:hover {
  color: #059669;
}

.ygw-verified-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

.ygw-bonus-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ygw-bonus-text {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ygw-withdraw-text {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ygw-item-right {
  flex-shrink: 0;
}

.ygw-download-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.ygw-download-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.ygw-download-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ygw-list-item {
    padding: 12px 10px;
    border-radius: 14px;
  }
  .ygw-rank-num {
    display: none;
  }
  .ygw-item-left {
    gap: 11px;
  }
  .ygw-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .ygw-game-title {
    font-size: 0.96rem;
    white-space: normal;
    line-height: 1.2;
  }
  .ygw-bonus-info {
    font-size: 0.72rem;
    gap: 4px;
  }
  .ygw-bonus-text,
  .ygw-withdraw-text {
    padding: 1.5px 6px;
  }
  .ygw-download-btn {
    padding: 9px 13px;
    font-size: 0.8rem;
    border-radius: 10px;
    gap: 5px;
  }
}

/* ==========================================================================
   6. INTERLEAVED WIDGET 1: ROYAL VIP SPOTLIGHT CAROUSEL
   ========================================================================== */
.ygw-interleaved-widget {
  margin: 12px 0;
}

.ygw-hero-carousel-section {
  padding: 6px 0;
}

.ygw-carousel-card {
  position: relative;
  width: 100%;
  height: 360px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(30, 27, 75, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.ygw-ambient-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #312e81 0%, #0f172a 75%, #020617 100%);
  z-index: 1;
}

.ygw-ambient-glow::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 35%;
  width: 30%;
  height: 30%;
  background: rgba(245, 158, 11, 0.22);
  filter: blur(80px);
  border-radius: 50%;
}

.ygw-carousel-slide {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  width: 100%;
  margin-top: -16px;
  animation: ygwFadeSlide 0.4s ease;
}

.ygw-carousel-slide.active {
  display: flex;
}

@keyframes ygwFadeSlide {
  from { opacity: 0.4; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.ygw-spotlight-tag {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ygw-carousel-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(251, 191, 36, 0.4);
}

.ygw-carousel-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ygw-carousel-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ygw-play-now-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 11px 30px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s;
}

.ygw-play-now-btn:hover {
  transform: translateY(-2px);
}

.ygw-indicators {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ygw-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ygw-dot.active {
  width: 36px;
  border-radius: 14px;
  background: #fbbf24;
  color: #0f172a;
}

/* ==========================================================================
   7. INTERLEAVED WIDGET 2: BONUS APPS SECTION ("FAST PAYOUT ZONE")
   ========================================================================== */
.ygw-bonus-section {
  padding: 6px 0;
}

.ygw-bonus-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #064e3b 100%);
  border-radius: 24px;
  padding: 26px 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.ygw-bonus-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.ygw-zone-badge {
  display: inline-block;
  background: #fbbf24;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ygw-bonus-heading {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}

.ygw-bonus-subtext {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
}

.ygw-stats-container {
  display: flex;
  gap: 12px;
}

.ygw-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ygw-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
}

.ygw-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fbbf24;
}

.ygw-bonus-scroll-container {
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
}

.ygw-bonus-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ygwScrollMarquee 45s linear infinite;
}

.ygw-bonus-track:hover {
  animation-play-state: paused;
}

.ygw-app-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  width: 285px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ygw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ygw-pick-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}

.ygw-hot-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  margin-right: 22px;
}

.ygw-new-ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  background: #10b981;
  color: #0f172a;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.ygw-app-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ygw-app-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ygw-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ygw-app-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ygw-app-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ygw-bonus-tag {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  width: fit-content;
}

.ygw-withdraw-tag {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  width: fit-content;
}

.ygw-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.ygw-status-text {
  font-size: 0.72rem;
  color: #94a3b8;
}

.ygw-view-app-btn {
  background: #fbbf24;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .ygw-bonus-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .ygw-stats-container {
    width: 320px;
  }
}

/* ==========================================================================
   8. SEO CONTENT SECTION & 3-COLUMN FOOTER
   ========================================================================== */
.ygw-seo-section {
  background: #f1f5f9;
  padding: 32px 0 44px;
  border-top: 1px solid #e2e8f0;
}

.ygw-seo-content,
.niche-article-body {
  background: #ffffff;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
}

.ygw-seo-content h2,
.niche-article-body h2 {
  color: #1e1b4b;
  font-size: 1.4rem;
  margin: 24px 0 12px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.ygw-seo-content h2:first-child,
.niche-article-body h2:first-child {
  margin-top: 0;
}

.ygw-seo-content h3,
.niche-article-body h3 {
  color: #0f172a;
  font-size: 1.12rem;
  margin: 18px 0 8px;
}

.ygw-seo-content p,
.niche-article-body p {
  margin-bottom: 14px;
}

.ygw-seo-content ul,
.ygw-seo-content ol,
.niche-article-body ul,
.niche-article-body ol {
  margin: 10px 0 18px 22px;
}

.ygw-seo-content li,
.niche-article-body li {
  margin-bottom: 6px;
}

.ygw-seo-content a,
.niche-article-body a {
  color: #059669;
  font-weight: 700;
  text-decoration: underline;
}

.ygw-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0 24px;
  margin-top: auto;
  border-top: 3px solid #059669;
}

.ygw-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.ygw-footer-col h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.ygw-footer-col h4 {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ygw-footer-col p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
}

.ygw-footer-col ul {
  list-style: none;
  padding: 0;
}

.ygw-footer-col ul li {
  margin-bottom: 8px;
}

.ygw-footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.ygw-footer-col ul li a:hover {
  color: #fbbf24;
}

.ygw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}
