/* PlayOnline – unique neutral design */
/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #270733 0, #051612 38%, #070a02 100%);
  color: #f7fafc;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, rgba(46, 213, 255, 0.08), transparent 55%);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #cbd5f5;
  font-size: 0.98rem;
}

/* Top banner */
.top-age-banner {
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #1f2933;
  font-size: 0.9rem;
}

.banner-inner {
  padding: 0.6rem 0.5rem;
}

.top-age-banner p {
  margin: 0;
  padding: 0 15px;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

section, section .container {
  position: relative;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.19;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.hero-bg {
  background-image: url(../img/hero-bg.jpg);
}
.bg {
  background-image: url(../img/background.jpg);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 15px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #020617;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-mark.small {
  width: 42px;
  font-size: 0.8rem;
}
.game-card {
  position: relative;
}
.game-logo {
  width: 100%;
  margin-bottom: 10px;
}
.game-logo img {
  width: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: #cbd5f5;
}

/* Nav */
.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.2);
  transform: translateY(-1px);
}

.nav-cta a {
  background: linear-gradient(90deg, #22c55e, #a3e635);
  color: #022c22;
  font-weight: 600;
}

.nav-cta a:hover {
  background: linear-gradient(90deg, #16a34a, #86efac);
}

.nav-divider {
  height: 1.2rem;
  width: 1px;
  background: rgba(148, 163, 184, 0.6);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 0.95));
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.1rem;
  margin: 0 auto;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Hero */
.hero {
  padding: 3.75rem 0 4.25rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-text {
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.05rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 36rem;
  margin: auto;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.6rem 0;
  color: #cbd5f5;
  font-size: 0.95rem;
  text-align: center;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  justify-content: center;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  justify-content: center;
}

.hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, #facc15, #f97316);
  color: #1f2937;
  box-shadow: 0 10px 30px rgba(248, 171, 64, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(248, 171, 64, 0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.8);
}

/* Hero right side panel */
.hero-panel {
  background: radial-gradient(circle at top left, rgba(248, 171, 64, 0.15), rgba(15, 23, 42, 0.9));
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.9);
}

.hero-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-badge {
  border-radius: 0.75rem;
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.badge-label {
  display: block;
  font-size: 0.7rem;
  color: #9ca3af;
}

.badge-value {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-steps-title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
}

.hero-steps ol {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

/* Cards & grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.games-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.responsible-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border-radius: 1rem;
  padding: 1.35rem 1.3rem 1.45rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.card p {
  font-size: 0.94rem;
}

/* Game cards */
.game-card .game-tagline {
  color: #cbd5f5;
  font-size: 0.9rem;
  margin-top: -0.1rem;
  margin-bottom: 0.8rem;
}

.game-card h4 {
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.game-card ul {
  padding-left: 1.1rem;
  margin: 0 0 0.4rem 0;
  font-size: 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Steps & responsible list */
.step-card p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.check-list {
  padding-left: 1.15rem;
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.3rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.5rem 0;
  font-weight: 500;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: #9ca3af;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 0.6rem 0;
  margin: 0;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding-top: 0.5rem;
  font-size: 0.9rem;
}

/* Responsible play support note */
.support-note {
  margin-top: 2.3rem;
  padding: 1.3rem 1.2rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px dashed rgba(248, 171, 64, 0.7);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.support-note h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

/* Auth pages */
main.auth-main {
  padding: 3.2rem 0;
}

.auth-container {
  max-width: 640px;
  margin: 0 auto;
}

.auth-card h1 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.auth-intro {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 1.4rem;
}

/* Forms */
.form {
  margin-top: 0.6rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.86rem;
  color: #e5e7eb;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.75rem;
  color: #f9fafb;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 3.5rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6b7280;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
  margin-bottom: 0.8rem;
}

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.checkbox input {
  margin-top: 0.1rem;
}

.form-note {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 0.75rem;
}

.full-width {
  width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(3, 7, 18, 0.98));
  padding: 2.2rem 0 1.8rem 0;
}

.site-footer.compact {
  padding: 1.7rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.footer-main {
  max-width: 600px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.footer-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.footer-text {
  font-size: 0.84rem;
  color: #9ca3af;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.2rem;
  font-size: 0.85rem;
}

.logo-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.age18 {
  color: #800;
  font-size: 22px;
  font-weight: 900;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px solid #800;
  user-select: none;
  background: #fff;
}
.logo-trust a {
  height: 48px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #fff2;
  display: block;
  margin: 0;
  background: rgba(38, 81, 73, 0.29);
}
.logo-trust img {
  height: 100%;
}

.footer-column h3 {
  font-size: 0.86rem;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.25rem;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: none;
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: 16px;
  color: #ccc;
  text-align: center;
}
.footer-bottom p {
  margin: 10px 0;
}

/* Links */
a {
  color: #bfdbfe;
}

.logo-mark img {
  width: 100%;
}
.logo-mark {
  width: 42px;
}

.legal-wrapper {
  width: 100%;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.legal-wrapper a {
  color: #5989c4
}

.legal-container {
  max-width: 900px;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  font-family: "Inter", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
}

.legal-title {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1c1f24;
}

.legal-domain {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

.legal-container h2 {
  margin-top: 35px;
  font-size: 24px;
  color: #1c1f24;
  font-weight: 600;
}

.legal-container h3 {
  font-size: 19px;
  margin-top: 25px;
  font-weight: 600;
  color: #333;
}

.legal-container ul {
  padding-left: 22px;
  margin-top: 10px;
}

.legal-container li {
  margin-bottom: 8px;
}

.legal-contact {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.legal-note {
  margin-top: 35px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 20px;
}


/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .responsible-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-toggle {
    display: flex;
  }


  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    min-width: 12rem;
    display: none;
  }

  .main-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.5);
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    margin-top: 0.75rem;
  }

  .hero {
    padding-top: 2.7rem;
  }

  .games-grid,
  .steps-grid,
  .responsible-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .banner-inner {
    padding-inline: 0;
  }

  .hero-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
