/* ============================================================
   PKRWIN.CC — Global Stylesheet
   Design language (matched to reference mockup):
   near-black page (#031212), dark green panels (#09532e),
   neon green accent (#01d350), white/gray text, red accents.
   ============================================================ */

:root {
  --bg: #031212;
  --bg-deep: #020f12;
  --panel: #0e1613;
  --panel-2: #121e19;
  --panel-3: #0a120f;
  --line: #1b3327;
  --line-soft: rgba(255, 255, 255, 0.07);
  --accent: #01d350;
  --accent-bright: #3dff6e;
  --accent-dim: #089d47;
  --accent-deep: #01632a;
  --red: #9d1617;
  --red-dark: #65000e;
  --red-bright: #ff5f71;
  --text: #e2e2e3;
  --text-dim: #9ca1a4;
  --text-faint: #5d605e;

  --accent-grad: linear-gradient(180deg, #01db50 0%, #01a63f 100%);

  --font-display: "Montserrat", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: var(--bg);
  background-image: radial-gradient(
      ellipse 100% 55% at 50% -8%,
      rgba(1, 211, 80, 0.03) 0%,
      rgba(3, 18, 18, 0) 60%
    ),
    linear-gradient(180deg, #061310 0%, #031212 26%);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

::selection {
  background: var(--accent);
  color: #02200f;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}

/* ============================================================
   NAV
   ============================================================ */

.nav-link {
  position: relative;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ============================================================
   ORNAMENTED TYPOGRAPHY
   ============================================================ */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.kicker::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent);
}

/* Accent (neon green) gradient headline spans */
.accent {
  background: linear-gradient(120deg, #3dff6e 0%, #01d350 60%, #01a63f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mint {
  color: var(--accent);
}

/* ============================================================
   PANELS & CARDS
   ============================================================ */

.brand-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, #070d0b 100%);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-card-hover {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.brand-card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 211, 80, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(1, 211, 80, 0.15);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-grad);
  color: #02200f;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(1, 211, 80, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(1, 211, 80, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(1, 211, 80, 0.5);
  background: rgba(1, 211, 80, 0.07);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover {
  background: rgba(1, 211, 80, 0.16);
  border-color: var(--accent);
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #b81f21 0%, #7a0f10 100%);
  border: 1px solid rgba(255, 95, 113, 0.45);
  color: #ffe9ea;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-red:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* ============================================================
   GAME TILES (grid)
   ============================================================ */

.app-tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1714 0%, #060c0a 100%);
}
.app-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(1, 211, 80, 0.07), transparent 60%);
}

.app-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.1rem;
  padding: 0.4rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 18px rgba(0, 0, 0, 0.45);
}
.logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-align: center;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.logo-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Small red "hot" badge on some tiles */


/* ============================================================
   MISC
   ============================================================ */

/* Legacy alias classes (kept for HTML compatibility) */
.text-yellow {
  color: var(--accent);
}
.text-green-bright {
  color: var(--accent);
}
.btn-download {
  background: var(--accent-grad);
  color: #02200f;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(1, 211, 80, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-download:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid rgba(1, 211, 80, 0.5);
  background: rgba(1, 211, 80, 0.07);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-outline:hover {
  background: rgba(1, 211, 80, 0.16);
  border-color: var(--accent);
}

/* ============================================================
   HOMEPAGE v3 COMPONENTS
   ============================================================ */

/* --- Nav "Pages" dropdown --- */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 11rem;
  padding: 0.4rem;
  background: #0a1411;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(1, 211, 80, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(1, 211, 80, 0.1);
  color: var(--accent);
}

/* --- Hero feature boxes (Secure / Fast Payouts / Fair Play) --- */
.feature-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(5, 11, 9, 0.65);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature-box:hover {
  border-color: rgba(1, 211, 80, 0.5);
  transform: translateY(-2px);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: rgba(1, 211, 80, 0.07);
  border: 1px solid rgba(1, 211, 80, 0.18);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Hero panel: dark neutral surface with a faint green breath */
.hero-banner {
  background:
    radial-gradient(circle at 85% 15%, rgba(1, 211, 80, 0.1), transparent 55%),
    linear-gradient(160deg, #0e1815 0%, #040c09 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Payment method chips */
.payment-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(8, 14, 12, 0.6);
  transition: border-color 0.2s ease;
}

.payment-chip:hover {
  border-color: rgba(1, 211, 80, 0.35);
}

.payment-logo {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.payment-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.85);
}



/* Ambient green glow behind page headers (very subtle) */
.glow-green {
  background: radial-gradient(ellipse at center, rgba(1, 211, 80, 0.05) 0%, rgba(3, 18, 18, 0) 65%);
}
