/*
Theme Name: YY 567 Games Theme
Theme URI: https://yy567games.net/
Author: You
Description: Single landing theme for YY 567 Games – India-facing game info & login guide.
Version: 1.0
Text Domain: yy567-games
*/

:root {
  --yy-bg-body: #020714;
  --yy-bg-soft: #050d1f;
  --yy-bg-card: #071426;
  --yy-accent: #22c55e;
  --yy-accent-strong: #16a34a;
  --yy-accent-soft: rgba(34, 197, 94, 0.15);
  --yy-accent-blue: #38bdf8;
  --yy-text-main: #f9fafb;
  --yy-text-muted: #9ca3af;
  --yy-border-soft: rgba(148, 163, 184, 0.38);
  --yy-radius-lg: 18px;
  --yy-shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #052e16 0, #020714 55%, #020617 100%);
  color: var(--yy-text-main);
  line-height: 1.6;
}

/* ===== Layout ===== */

.yy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.yy-main {
  flex: 1 0 auto;
  padding: 24px 0 48px;
}

/* ===== Header ===== */

.yy-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.98), rgba(2,6,23,0.9));
  border-bottom: 1px solid var(--yy-border-soft);
}

.yy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.yy-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yy-logo-square {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e 45%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: #052e16;
  box-shadow: 0 14px 30px rgba(0,0,0,0.65);
}

.yy-brand-text {
  display: flex;
  flex-direction: column;
}

.yy-brand-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.yy-brand-sub {
  font-size: 12px;
  color: var(--yy-text-muted);
}

.yy-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.yy-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--yy-border-soft);
  color: var(--yy-text-muted);
}

/* Buttons */

.yy-btn {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.yy-btn-ghost {
  background: transparent;
  border-color: var(--yy-border-soft);
  color: var(--yy-text-main);
}

.yy-btn-ghost:hover {
  border-color: var(--yy-accent);
}

.yy-btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.yy-btn-primary:hover {
  filter: brightness(1.06);
}

/* ===== Hero ===== */

.yy-hero {
  padding-top: 28px;
}

.yy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 32px;
  align-items: center;
}

.yy-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: var(--yy-text-muted);
  font-size: 11px;
  border: 1px solid rgba(34,197,94,0.4);
}

.yy-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--yy-accent);
}

.yy-hero-title {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.yy-hero-title span {
  color: var(--yy-accent);
}

.yy-hero-text {
  font-size: 14px;
  color: var(--yy-text-muted);
  max-width: 520px;
}

.yy-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.yy-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid var(--yy-border-soft);
  color: var(--yy-text-muted);
}

.yy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.yy-hero-note {
  font-size: 11px;
  color: var(--yy-text-muted);
}

/* Right card */

.yy-hero-card {
  background: radial-gradient(circle at top, #064e3b 0, #071426 46%, #020617 100%);
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid var(--yy-border-soft);
  box-shadow: var(--yy-shadow-soft);
  position: relative;
  overflow: hidden;
}

.yy-hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.yy-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  font-size: 11px;
  color: var(--yy-text-muted);
  border: 1px solid var(--yy-border-soft);
}

.yy-hero-amount {
  font-size: 20px;
  font-weight: 700;
  color: #bbf7d0;
}

.yy-hero-card-body {
  margin-top: 8px;
}

.yy-hero-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--yy-text-muted);
  padding: 4px 0;
}

.yy-hero-row strong {
  color: var(--yy-text-main);
}

/* Hero banner image */

.yy-hero-banner {
  margin-top: 24px;
}

.yy-hero-banner-inner {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--yy-border-soft);
  background: radial-gradient(circle at top, #064e3b 0, #020617 60%, #020617 100%);
  box-shadow: var(--yy-shadow-soft);
}

.yy-hero-figure {
  margin: 0;
}

.yy-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.yy-hero-figure figcaption {
  padding: 8px 14px 10px;
  font-size: 11px;
  color: var(--yy-text-muted);
}

/* ===== Sections ===== */

.yy-section {
  margin-top: 36px;
  padding: 22px 20px 20px;
  border-radius: var(--yy-radius-lg);
  background: linear-gradient(138deg, rgba(7,20,38,0.97), rgba(2,10,22,0.98));
  border: 1px solid var(--yy-border-soft);
}

.yy-section h1,
.yy-section h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.yy-section p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--yy-text-muted);
}

.yy-section ul {
  margin: 6px 0 0 18px;
  padding: 0;
  color: var(--yy-text-muted);
  font-size: 14px;
}

.yy-section li + li {
  margin-top: 4px;
}

/* Table */

.yy-table-wrapper {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--yy-border-soft);
  background: rgba(7,20,38,0.98);
}

.yy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.yy-table th,
.yy-table td {
  padding: 10px 12px;
  text-align: left;
}

.yy-table thead {
  background: var(--yy-accent-soft);
}

.yy-table th {
  color: var(--yy-accent);
  font-weight: 600;
}

.yy-table tbody tr:nth-child(even) {
  background: rgba(15,23,42,0.7);
}

/* FAQ */

.yy-faq-item + .yy-faq-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--yy-border-soft);
}

.yy-faq-q {
  font-size: 14px;
  font-weight: 600;
}

.yy-faq-a {
  font-size: 13px;
  color: var(--yy-text-muted);
}

/* Utility */

.yy-pill-outline {
  border-radius: 999px;
  border: 1px dashed var(--yy-border-soft);
  padding: 3px 9px;
  font-size: 11px;
  color: var(--yy-text-muted);
}

/* ===== Footer ===== */

.yy-footer {
  border-top: 1px solid var(--yy-border-soft);
  padding: 18px 0 24px;
  background: rgba(2,6,23,0.97);
  margin-top: 32px;
}

.yy-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.yy-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.yy-footer-links a {
  color: var(--yy-text-muted);
  text-decoration: none;
}

.yy-footer-links a:hover {
  color: var(--yy-accent);
}

.yy-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--yy-text-muted);
}

/* ===== Responsive ===== */

@media (max-width: 880px) {
  .yy-hero-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .yy-hero {
    padding-top: 18px;
  }
}

@media (max-width: 720px) {
  .yy-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .yy-header-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .yy-header-actions::-webkit-scrollbar {
    display: none;
  }
  .yy-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .yy-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .yy-hero-title {
    font-size: 22px;
  }
  .yy-hero-text {
    font-size: 13px;
  }
  .yy-section {
    padding: 16px 14px 14px;
  }
}
