/* ==========================================================================
   PlayAmo DE — Main Stylesheet
   Dark Purple / Charcoal + Electric Yellow + Vivid Green accent
   Energetic, playful, modern — matches actual PlayAmo brand identity
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --pa-bg-deep:    #0b0914;
  --pa-bg:         #16112b;
  --pa-bg-raised:  #1e1840;
  --pa-bg-card:    #221c47;

  --pa-purple:     #2a2057;
  --pa-purple-mid: #352870;
  --pa-purple-rim: #4a3a8a;

  /* Primary accent — electric yellow (PlayAmo signature) */
  --pa-yellow:      #f5e642;
  --pa-yellow-deep: #c9bb1a;
  --pa-yellow-dark: #7a720a;

  /* Secondary accent — vivid green (icons, tags, online indicators) */
  --pa-green:       #36e87a;
  --pa-green-deep:  #1ab558;
  --pa-green-dark:  #0d6b35;

  --pa-white:      #ffffff;
  --pa-offwhite:   #e8e4ff;
  --pa-silver:     #9990cc;
  --pa-muted:      #5a5285;
  --pa-border:     rgba(245, 230, 66, 0.12);
  --pa-border-soft: rgba(255, 255, 255, 0.07);

  --grad-yellow:        linear-gradient(135deg, #f5e642 0%, #c9bb1a 60%, #7a720a 100%);
  --grad-btn-primary:   linear-gradient(135deg, #f5e642 0%, #d4c81a 70%, #a09810 100%);
  --grad-btn-ghost-bg:  rgba(245, 230, 66, 0.08);
  --grad-bg-hero:       linear-gradient(180deg, #0b0914 0%, #16112b 100%);
  --grad-card:          linear-gradient(180deg, #221c47 0%, #1a1538 100%);

  --sh-card:       0 8px 28px -6px rgba(0,0,0,0.7), 0 3px 10px -3px rgba(11, 9, 20, 0.8);
  --sh-card-hover: 0 18px 48px -8px rgba(0,0,0,0.85), 0 6px 20px -4px rgba(245, 230, 66, 0.22);
  --sh-yellow-glow:0 0 28px rgba(245, 230, 66, 0.22);

  --f-display: 'Orbitron', 'Arial Black', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container-max: 1280px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur:      280ms;
  --dur-slow: 500ms;

  --header-h: 78px;
  --sticky-h: 76px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; max-width: 100%; width: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pa-offwhite);
  background-color: var(--pa-bg-deep);
  background-image:
    radial-gradient(ellipse 1000px 700px at 15% 5%,  rgba(42, 32, 87, 0.7), transparent 55%),
    radial-gradient(ellipse 800px 600px at 85% 85%, rgba(245, 230, 66, 0.06), transparent 55%),
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(54, 232, 122, 0.03), transparent 70%),
    linear-gradient(180deg, #0b0914 0%, #16112b 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--sticky-h);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease-out); }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur), opacity var(--dur-fast);
  white-space: nowrap;
  border: none;
  outline: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 0.9; }

.btn--primary {
  background: var(--grad-btn-primary);
  color: #16112b;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 230, 66, 0.35);
}
.btn--primary:hover { box-shadow: 0 8px 30px rgba(245, 230, 66, 0.55); }

.btn--ghost {
  background: var(--grad-btn-ghost-bg);
  color: var(--pa-yellow);
  border: 1.5px solid rgba(245, 230, 66, 0.4);
}
.btn--ghost:hover {
  background: rgba(245, 230, 66, 0.14);
  border-color: var(--pa-yellow);
  box-shadow: 0 0 20px rgba(245, 230, 66, 0.18);
}

.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--sm { padding: 8px 16px; font-size: 12px; gap: 6px; }

/* ---------- Eyebrow / Accent ---------- */
.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pa-green);
  margin-bottom: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(54, 232, 122, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(54, 232, 122, 0.06);
}
.accent { color: var(--pa-yellow); }
.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--pa-white); margin-bottom: 14px; }
.section-lead { font-size: 17px; color: var(--pa-silver); max-width: 560px; margin-inline: auto; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 9, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur);
}
.site-header.is-scrolled {
  border-bottom-color: var(--pa-border);
  background: rgba(11, 9, 20, 0.97);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 230, 66, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__close, .nav__toggle { display: none; }
.nav__backdrop { display: none; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pa-silver);
  border-radius: var(--radius);
  position: relative;
  transition: color var(--dur), background var(--dur);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 65%;
  height: 2px;
  background: var(--pa-yellow);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--pa-yellow); }
.nav__link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.25;
}

/* Decorative glowing orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  top: -80px; left: -100px;
  background: radial-gradient(circle, #4a3a8a 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  bottom: 0; right: -80px;
  background: radial-gradient(circle, rgba(245, 230, 66, 0.5) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  top: 40%; left: 55%;
  background: radial-gradient(circle, rgba(54, 232, 122, 0.4) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite 2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero__content { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pa-green);
  border: 1px solid rgba(54, 232, 122, 0.3);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  margin-bottom: 28px;
  background: rgba(54, 232, 122, 0.06);
}
.hero__badge img { filter: invert(63%) sepia(80%) saturate(500%) hue-rotate(90deg); }

.hero h1 {
  font-size: clamp(56px, 11vw, 100px);
  color: var(--pa-white);
  margin-bottom: 8px;
  line-height: 1.05;
}
/* Yellow gradient only on last word / accent */
.hero h1 .hl {
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 18px;
  color: var(--pa-silver);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__stats { display: flex; justify-content: center; gap: 52px; }
.stat__num {
  display: block;
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--pa-yellow);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(245, 230, 66, 0.4);
}
.stat__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pa-muted);
}

/* ============================================================
   BRAND SECTION
   ============================================================ */
.brand-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #16112b 0%, #1e1840 100%);
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.brand-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 60px rgba(245, 230, 66, 0.12)) drop-shadow(0 0 1px rgba(74, 58, 138, 0.6));
}
.brand-text p { color: var(--pa-silver); line-height: 1.75; margin-bottom: 18px; }
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(245, 230, 66, 0.04);
  border: 1px solid var(--pa-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pa-offwhite);
  transition: background var(--dur), border-color var(--dur);
}
.features li:hover {
  background: rgba(245, 230, 66, 0.09);
  border-color: rgba(245, 230, 66, 0.28);
}
/* Green icons for feature list */
.features li img {
  flex-shrink: 0;
  filter: invert(63%) sepia(80%) saturate(500%) hue-rotate(90deg);
}

/* ============================================================
   GAMES SECTION
   ============================================================ */
.games {
  padding: 110px 0;
  background: var(--pa-bg-deep);
}
.section-head {
  text-align: center;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slider { display: flex; align-items: center; gap: 16px; }
.slider__viewport { flex: 1; overflow: hidden; }
.slider__track {
  display: flex;
  gap: 20px;
  transition: transform 400ms var(--ease-out);
  will-change: transform;
}
.slider__btn {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pa-bg-card);
  border: 1px solid var(--pa-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), border-color var(--dur), transform var(--dur-fast);
  cursor: pointer;
}
.slider__btn:hover {
  background: rgba(245, 230, 66, 0.10);
  border-color: var(--pa-yellow);
  transform: scale(1.08);
}
.slider__btn--prev img { transform: rotate(180deg); }
.slider__btn img { filter: invert(90%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1.2); }

.game-card {
  flex-shrink: 0;
  flex-basis: calc((100% - 80px) / 5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-card);
  border: 1px solid var(--pa-border-soft);
  box-shadow: var(--sh-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card-hover);
  border-color: rgba(245, 230, 66, 0.22);
}
.game-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pa-purple-mid);
}
.game-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.game-card:hover .game-card__image img { transform: scale(1.07); }
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(11, 9, 20, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  opacity: 0;
  transition: opacity var(--dur);
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__meta { padding: 13px 15px 15px; border-top: 1px solid var(--pa-border-soft); }
.game-card__title {
  font-size: 13px; font-weight: 700;
  color: var(--pa-offwhite);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card__tag { font-size: 10px; color: var(--pa-green); font-weight: 600; letter-spacing: 0.06em; }
.games__footer { text-align: center; margin-top: 48px; }

/* ============================================================
   BANNER SECTION
   ============================================================ */
.banner-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--pa-bg-deep) 0%, #1e1840 100%);
}
.promo-banner {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 230, 66, 0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--sh-yellow-glow);
  transition: transform var(--dur), box-shadow var(--dur);
}
.promo-banner:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 40px rgba(245, 230, 66, 0.28); }
.promo-banner__img { width: 100%; display: block; }
.promo-banner__shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.07) 50%, transparent 80%);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%{ left:-100%; } 50%{ left:140%; } 100%{ left:140%; } }

/* ============================================================
   SEO SECTION
   ============================================================ */
.seo-section {
  padding: 80px 0;
  background: var(--pa-bg);
}
.seo-section h2, .seo-section h3 { color: var(--pa-yellow); margin-bottom: 14px; margin-top: 30px; }
.seo-section p { color: var(--pa-silver); line-height: 1.8; margin-bottom: 16px; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--pa-bg-deep);
}
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--pa-border-soft);
  border-radius: var(--radius);
  background: var(--pa-bg-card);
  overflow: hidden;
  transition: border-color var(--dur);
}
.faq-item.is-open { border-color: rgba(245, 230, 66, 0.35); }
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pa-offwhite);
  cursor: pointer;
  text-align: left;
  background: transparent;
  border: none;
  transition: color var(--dur);
}
.faq-item.is-open .faq-item__question { color: var(--pa-yellow); }
.faq-item__arrow {
  flex-shrink: 0;
  filter: invert(90%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1.2);
  transition: transform var(--dur) var(--ease-out);
  transform: rotate(90deg);
}
.faq-item.is-open .faq-item__arrow { transform: rotate(-90deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer p { padding: 0 22px 22px; color: var(--pa-silver); line-height: 1.75; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0b0914;
  border-top: 1px solid var(--pa-border);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-about { font-size: 14px; color: var(--pa-muted); line-height: 1.75; max-width: 340px; margin-bottom: 26px; }
.footer-title {
  font-family: var(--f-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pa-yellow); margin-bottom: 18px;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  font-size: 14px; color: var(--pa-muted);
  display: inline-block;
  transition: color var(--dur), padding-left var(--dur);
}
.footer-list a:hover { color: var(--pa-yellow); padding-left: 5px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pa-bg-card);
  border: 1px solid var(--pa-border-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur), border-color var(--dur), transform var(--dur-fast);
}
.social:hover {
  background: rgba(245, 230, 66, 0.10);
  border-color: rgba(245, 230, 66, 0.4);
  transform: translateY(-2px);
}
.social img { filter: invert(90%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1.2); }
.footer-bottom { border-top: 1px solid var(--pa-border); padding: 22px 0; }
.footer-bottom__inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer-copy { font-size: 13px; color: var(--pa-muted); }
.footer-legal { font-size: 12px; color: #362e60; max-width: 700px; }

/* ============================================================
   STICKY PROMO
   ============================================================ */
.sticky-promo {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #16112b 0%, #2a2057 50%, #16112b 100%);
  border-top: 1px solid rgba(245, 230, 66, 0.3);
  height: var(--sticky-h);
  display: flex; align-items: center;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.65);
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.sticky-promo.is-hidden { transform: translateY(100%); }
.sticky-promo__inner {
  width: 100%; max-width: var(--container-max);
  margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; gap: 20px;
}
.sticky-promo__brand { display: flex; align-items: center; gap: 14px; flex: 1; }
.sticky-promo__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(245, 230, 66, 0.10);
  border: 1px solid rgba(245, 230, 66, 0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sticky-promo__icon img { filter: invert(90%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1.2); }
.sticky-promo__text { display: flex; flex-direction: column; }
.sticky-promo__name { font-size: 15px; font-weight: 800; color: var(--pa-yellow); letter-spacing: 0.04em; }
.sticky-promo__offer { font-size: 13px; color: var(--pa-silver); }
.sticky-promo__cta { flex-shrink: 0; }
.sticky-promo__close {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(245, 230, 66, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background var(--dur), border-color var(--dur);
}
.sticky-promo__close:hover { background: rgba(245, 230, 66, 0.10); border-color: rgba(245, 230, 66, 0.4); }
.sticky-promo__close img { filter: invert(90%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1.2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
