:root {
  --bg-color: #f8f9fa;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --navbar-bg: #5a0b54;
  --btn-green: #10b981;
  --btn-green-hover: #059669;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body.app-body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›" !important;
  color: #94a3b8 !important;
  font-weight: bold;
  padding: 0 8px;
}

.winner-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ── NAVBAR ── */
.winner-navbar {
  background-color: var(--navbar-bg);
  color: #fff;
  z-index: 100;
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.winner-navbar .winner-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.winner-logo-section {
  flex: 1;
  display: flex;
  align-items: center;
}

.winner-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.winner-nav-title {
  flex: 2;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
}

.winner-telegram-section {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.winner-telegram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #38bdf8;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 2px 6px rgba(56, 189, 248, 0.4);
}

.winner-telegram-icon:hover {
  opacity: 0.9;
  transform: scale(1.08);
}

/* ── LATEST GAMES SECTION (AUTO-SCROLL MARQUEE) ── */
.winner-latest-section {
  width: 100%;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.winner-marquee-scroll {
  width: 100%;
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}

.winner-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  animation: winnerScrollFast 55s linear infinite;
  will-change: transform;
}

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

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

.winner-latest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 160px;
  padding: 1rem 0.85rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.winner-latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.winner-latest-icon-wrap {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  position: relative;
}

.winner-latest-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.winner-latest-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  font-family: var(--font-heading);
}

.winner-latest-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.winner-stars {
  display: flex;
  gap: 0.15rem;
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.winner-download-btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #000;
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.winner-latest-card:hover .winner-download-btn-black {
  background: #222;
  transform: scale(1.02);
}

/* ── TOP 3 GAMES SECTION ── */
.winner-top-three-section {
  display: flex;
  justify-content: center;
  padding: 24px 10px;
  background: #fff;
  margin: 1.25rem 0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.winner-top-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.winner-top-three-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.winner-top-three-card:hover {
  transform: translateY(-3px);
}

.winner-top-three-icon-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.winner-top-three-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-top-three-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.winner-top-three-btn-green {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background-color: #1b8a5a;
  color: #fff;
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.winner-top-three-btn-green:hover {
  background-color: #157347;
}

/* ── FRESH GAME ZONE (BONUS APPS SECTION) ── */
.winner-fresh-zone {
  color: #fff;
  background: linear-gradient(135deg, #0e332a 0%, #154538 100%);
  border-radius: 16px;
  width: 100%;
  margin: 2rem 0;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

.winner-fresh-badge {
  display: inline-block;
  background: #34d399;
  color: #064e3b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.winner-fresh-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 0.4rem;
  color: #fff;
  font-family: var(--font-heading);
}

.winner-fresh-subtitle {
  font-size: 0.9rem;
  color: #a7f3d0;
  opacity: 0.9;
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.winner-fresh-stats {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.winner-fresh-stat-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}

.winner-fresh-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.winner-fresh-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.winner-fresh-cards-scroll {
  width: 100%;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.winner-fresh-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  animation: winnerFreshScroll 50s linear infinite;
}

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

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

.winner-fresh-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 290px;
  padding: 1.2rem;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  box-sizing: border-box;
}

.winner-fresh-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.winner-hot-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  background: #bbf7d0;
  border-radius: 12px;
  padding: 0.2rem 0.6rem;
}

.winner-fresh-card-body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.winner-fresh-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.winner-fresh-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: #0f172a;
  font-family: var(--font-heading);
}

.winner-fresh-bonus-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.3rem;
}

.winner-fresh-withdraw-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.winner-fresh-view-btn {
  display: inline-block;
  align-self: flex-start;
  background: #86efac;
  color: #14532d;
  border-radius: 20px;
  padding: 0.45rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
}

.winner-fresh-view-btn:hover {
  background: #4ade80;
}

.winner-fresh-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.winner-fresh-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.winner-new-sash {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.15rem 0.7rem;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ── GAME LIST SECTION (VERTICAL) ── */
.winner-list-section {
  padding: 1rem 0 2rem;
}

.winner-game-list {
  display: flex;
  flex-direction: column;
}

.winner-list-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s;
}

.winner-list-item:hover {
  background-color: rgba(0, 0, 0, 0.015);
}

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

.winner-list-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.winner-list-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-list-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.2rem;
  padding: 0 1rem;
  min-width: 0;
}

.winner-list-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  text-decoration: none;
  font-family: var(--font-heading);
}

.winner-list-title:hover {
  color: #5a0b54;
}

.winner-bonus-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.winner-text-red {
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
}

.winner-text-green {
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
}

.winner-list-action {
  flex-shrink: 0;
}

.winner-btn-download-black {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #000;
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}

.winner-btn-download-black:hover {
  background-color: #222;
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .winner-list-icon-wrap {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
  .winner-list-content {
    padding: 0 0.6rem;
  }
  .winner-list-title {
    font-size: 0.95rem;
  }
  .winner-text-red, .winner-text-green {
    font-size: 0.78rem;
  }
  .winner-btn-download-black {
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }
}

/* ── SEO SECTION ── */
.winner-seo-section {
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
  padding: 2.5rem 0;
}

.winner-seo-section h2 {
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.winner-seo-section h2:first-child {
  margin-top: 0;
}

.winner-seo-section h3 {
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.winner-seo-section p {
  color: #4b5563;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.winner-seo-section ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.winner-seo-section li {
  color: #4b5563;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── FOOTER ── */
.winner-footer {
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  padding-top: 3.5rem;
  color: var(--text-primary);
}

.winner-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.winner-footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
}

.winner-footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.winner-footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.winner-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.winner-footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.winner-footer-links a:hover {
  color: #5a0b54;
}

.winner-footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .winner-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── ACCESSIBILITY FOR GAME SUBPAGE ACCORDIONS (HIGH-CONTRAST) ── */
.accordion-button,
.accordion-button.collapsed,
.card .accordion-button,
article.seo-container .accordion-button,
html.dark .accordion-button,
html.light .accordion-button {
  background-color: transparent !important;
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  opacity: 1 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.accordion-button:not(.collapsed) {
  color: #5a0b54 !important;
  -webkit-text-fill-color: #5a0b54 !important;
}

.accordion-button::after {
  filter: brightness(0.2) !important;
}

.hover-white:hover {
  color: #5a0b54 !important;
  text-decoration: underline !important;
}
