/*
Theme Name: RingLoto
Theme URI: https://ringloto.eu/
Author: RingLoto
Description: Custom one-page RingLoto theme with bundled artwork and polished token landing page layout.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ringloto
*/

:root {
  --rl-ink: #201713;
  --rl-muted: #6e5a47;
  --rl-gold-dark: #a96c15;
  --rl-paper: rgba(255, 250, 236, .82);
  --rl-line: rgba(87, 56, 28, .16);
  --rl-shadow: 0 24px 70px rgba(69, 43, 20, .17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rl-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(255, 252, 243, .78), rgba(255, 252, 243, .9)),
    var(--rl-bg) center top / cover fixed;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(110, 74, 36, .13);
  background: rgba(255, 248, 229, .9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rl-coin) center / cover;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.75), 0 8px 22px rgba(118,75,25,.18);
}

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

.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(78, 47, 16, .14);
  background: rgba(255,255,255,.72);
  color: #3b2a1c;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(79, 48, 14, .12);
}

.nav-link {
  min-height: 44px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(67, 42, 17, .08);
}

.nav-link.primary,
.button.buy {
  border-color: rgba(146, 83, 7, .25);
  background: linear-gradient(135deg, #ffce53, #f06a33);
  color: #321407;
}

.hero,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 52px;
  padding: 54px 0 72px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(176, 119, 24, .24);
  border-radius: 999px;
  background: rgba(255, 246, 217, .72);
  color: var(--rl-gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(58px, 8vw, 104px);
}

h2 {
  font-size: clamp(38px, 5vw, 68px);
}

h3 {
  font-size: 30px;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #47362b;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.36;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  padding: 15px 22px;
}

.hero-card {
  position: relative;
  border-radius: 28px;
  background: rgba(255, 250, 236, .92);
  box-shadow: var(--rl-shadow);
  overflow: hidden;
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--rl-line);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 30px rgba(76, 52, 27, .07);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  color: var(--rl-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.section {
  padding: 58px 0;
  border-top: 1px solid rgba(85, 54, 26, .12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 58px;
}

#games.split {
  grid-template-columns: minmax(560px, 1.28fr) minmax(330px, .72fr);
  gap: 42px;
}

.panel {
  padding: 34px;
  border: 1px solid var(--rl-line);
  border-radius: 26px;
  background: rgba(255, 253, 245, .76);
  box-shadow: 0 20px 60px rgba(67, 42, 17, .09);
}

.list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  border: 1px solid rgba(72, 44, 19, .1);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  font-weight: 800;
}

.frame-image {
  width: 100%;
  display: block;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--rl-shadow);
}

.arcade-image {
  object-fit: contain;
  background: rgba(255, 252, 242, .84);
}

#games .panel {
  padding: 28px;
}

#games h2 {
  font-size: clamp(36px, 4.4vw, 56px);
}

#games .lead {
  margin-top: 18px;
  font-size: clamp(18px, 1.45vw, 22px);
}

#games .game-roadmap {
  margin-top: 20px;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(146, 83, 7, .22);
  border-radius: 999px;
  background: rgba(255, 224, 122, .42);
  color: var(--rl-gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.game-roadmap {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.game-roadmap div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(72, 44, 19, .1);
  border-radius: 14px;
  background: rgba(255,255,255,.56);
  color: #3b2a1c;
  font-weight: 900;
}

.game-roadmap span {
  color: var(--rl-gold-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

.notice {
  padding: 28px;
  border-radius: 24px;
  background: #1f1712;
  color: #fff6df;
  box-shadow: var(--rl-shadow);
}

.notice p {
  max-width: 800px;
  margin: 12px 0 0;
  color: rgba(255, 246, 223, .82);
  font-size: 18px;
  line-height: 1.55;
}

.join-updates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(113, 151, 182, .32);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 28px 70px rgba(30, 49, 82, .12);
}

.join-updates label {
  flex: 0 0 300px;
  color: #657184;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.join-updates input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(113, 151, 182, .28);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: var(--rl-ink);
  font: inherit;
  font-size: 18px;
  font-weight: 650;
}

.join-updates input::placeholder {
  color: rgba(47, 61, 79, .58);
}

.join-updates button {
  flex: 0 0 auto;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: #1763f4;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(23, 99, 244, .22);
}

.join-status {
  margin: 12px 0 0;
  color: var(--rl-gold-dark);
  font-size: 15px;
  font-weight: 850;
}

.join-status-error {
  color: #b6371d;
}

.site-footer {
  padding: 44px 0;
  color: var(--rl-gold-dark);
  font-weight: 900;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  #games.split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #games .arcade-image {
    width: min(100%, 460px);
    max-height: 310px;
    margin: 0 auto;
  }

  #games .panel {
    padding: 24px;
  }

  #games h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  #games .lead {
    font-size: 18px;
  }

  .hero {
    padding-top: 46px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .nav-link {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .join-updates {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
  }

  .join-updates label {
    flex: none;
  }

  .join-updates button {
    width: 100%;
  }
}
