/* =====================================================
   POCKETSPLAY — LAYOUT.CSS  (Wix-style layout)
   ===================================================== */

/* ══════════════════════════════════════════
   HERO — Wix style (Zozzo Games layout)
══════════════════════════════════════════ */
.hero-wix {
  background: #f0f4f8; /* Light blue-gray from Zozzo */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px; /* navbar spacing */
  min-height: 100vh;
}

/* ── 3D Background Shapes ── */
.wix-shape {
  position: absolute;
  pointer-events: none;
  animation: floatShape 4s ease-in-out infinite;
  z-index: 1;
}
.plus-shape  { width: 140px; top: 15%; left: 12%; animation-delay: 0s; }
.ring-shape  { width: 130px; top: 18%; right: 12%; animation-delay: 1s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(6deg); }
}

/* ── Floating mini-cards (Chips) ── */
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.02);
  animation: floatChip 4s ease-in-out infinite;
  z-index: 4;
  min-width: 170px;
}
/* Triangle positioning like Zozzo Games */
.chip-top     { top: 140px; left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
.chip-botleft { bottom: 25%; left: 8%; animation-delay: 1.1s; }
.chip-botright{ bottom: 25%; right: 8%; animation-delay: 0.7s; }

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.chip-top { transform: translateX(-50%) translateY(0); }
.chip-top:hover { transform: translateX(-50%) translateY(-10px); }

.chip-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chip-name  { font-size: 0.95rem; font-weight: 800; color: #111827; }
.chip-genre { font-size: 0.75rem; color: #64748b; }

/* ── Center text ── */
.hero-wix-body {
  position: relative; z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  margin: auto; /* Centers the block vertically inside the flex container */
}

.hero-wix-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #111827; /* Dark navy */
  line-height: 1.1;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* The solid purple pill from Zozzo */
.inline-pill {
  display: inline-block;
  background: #a820ff; /* Bright Zozzo purple */
  color: #fff;
  border-radius: 999px;
  padding: 0.15em 0.5em 0.2em;
  font-weight: 900;
}

.hero-wix-sub {
  font-size: 1.2rem; color: #334155;
  margin-bottom: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Massive 3D Hands Visual ── */
.hero-wix-massive-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: stretch; /* Forces it to span the flex container horizontally */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 90vh; /* Drastically increased height */
  min-height: 900px; /* Provide massive vertical room */
  margin-top: -5vh; /* Pulls the image up slightly so it naturally sits behind the middle-aligned text */
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-layer img {
  width: 100vw;
  height: 100%;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-inline-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inline-content > * {
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1200px) {
  .chip-botleft { left: 2%; }
  .chip-botright { right: 2%; }
}

/* ══════════════════════════════════════════
   GAMES — Wix showcase style
══════════════════════════════════════════ */
.games-wix {
  position: relative;
  z-index: 10;
  background: #f0f4f8; /* Match Zozzo's explicit background */
  padding-bottom: 4rem;
}

.games-wix-header {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 700px;
  margin: 0 auto;
}
.games-wix-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  flex-wrap: wrap;
}
/* "Explore" pill in games heading */
.explore-pill {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  border-radius: 999px;
  padding: 0.1em 0.55em 0.12em;
  font-weight: 900;
  font-size: inherit;
}
.games-wix-sub {
  color: #64748b; font-size: 0.95rem; line-height: 1.7;
}

/* Full-bleed showcase block */
.wix-showcase {
  position: relative;
  height: 520px;
  margin: 0 2rem 2.5rem;
  border-radius: 24px;
  overflow: hidden;
}

.ws-bg {
  position: absolute; inset: 0;
}
.ws-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 7s ease;
  display: block;
}
.wix-showcase:hover .ws-bg img { transform: scale(1.04); }
.ws-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 5, 30, 0.45);
}

/* White info card (COMPACT FORMAT) */
.ws-card-wide {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
  width: auto; max-width: 580px;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 2;
  left: 6%; /* Default card is on the left side */
}

/* If reversed, place on the right side */
.ws-card-wide.reverse { left: auto; right: 6%; flex-direction: row; }

.ws-wide-content {
  flex: 1;
}

.ws-card-top {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.ws-app-icon {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
}
.ws-game-name {
  font-size: 1.3rem; font-weight: 800; color: #0f172a; /* Navy dark */
  margin-bottom: 0.15rem;
}
.ws-game-cat {
  font-size: 0.85rem; color: #1e3a8a; font-weight: 500;
}
.ws-game-desc {
  font-size: 0.85rem; color: #334155;
  line-height: 1.6; margin-bottom: 1.5rem;
}

/* Graphic Store Badges */
.ws-store-badges-img { 
  display: flex; gap: 0.75rem; flex-wrap: wrap; 
}
.ws-store-badges-img a {
  display: block; transition: transform 0.2s;
}
.ws-store-badges-img a:hover {
  transform: translateY(-2px);
}
.ws-store-badges-img img {
  height: 36px; width: auto; object-fit: contain;
}

/* Phone mockup INSIDE the card */
.ws-wide-visual {
  flex-shrink: 0;
}
.ws-phone-body {
  width: 145px; height: 295px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 6px solid #282828;
  background: #000;
  position: relative;
}
.ws-phone-body::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px; background: #282828;
  border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
}
.ws-phone-body img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ══════════════════════════════════════════
   ABOUT — Full purple bg
══════════════════════════════════════════ */
.about-purple {
  background: linear-gradient(135deg, #7c01ff 0%, #9333ea 40%, #6d28d9 70%, #5b21b6 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

/* Decorative background elements */
.abt-deco { position: absolute; pointer-events: none; }
.deco-circle {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.c1 { width: 300px; height: 300px; top: -80px; left: 20%; opacity: 0.4; }
.c2 { width: 180px; height: 180px; bottom: 40px; left: 8%; opacity: 0.25; background: rgba(255,255,255,0.08); }
.c3 { width: 100px; height: 100px; top: 30%; right: 20%; opacity: 0.2; background: rgba(255,160,255,0.15); }
.c4 { width: 60px;  height: 60px;  top: 15%;  left: 40%; opacity: 0.3; background: rgba(255,100,200,0.2); border: none; }
.deco-star {
  color: rgba(255,255,255,0.25);
  font-size: 1.4rem;
}
.s1 { top: 12%;  left: 30%; }
.s2 { top: 55%;  right: 30%; font-size: 1rem; }
.s3 { bottom: 18%; left: 50%; opacity: 0.2; font-size: 1.8rem; }
.deco-line {
  width: 300px; height: 2px;
  background: rgba(255,255,255,0.1);
  transform-origin: center;
}
.l1 { top: 25%;  left: -60px; transform: rotate(45deg); }
.l2 { bottom: 20%; right: -60px; transform: rotate(-45deg); }

.abt-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 2;
}

.abt-label {
  font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.abt-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 1.25rem;
}
.abt-desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.78);
  line-height: 1.8; margin-bottom: 2rem;
}
.abt-btn {
  display: inline-block;
  background: #fff; color: #6d28d9;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.2s;
}
.abt-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

/* 3D Character / Robot */
.abt-character {
  margin-top: 3rem;
  display: flex; align-items: flex-end;
}
.abt-char-inner {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  animation: floatShape 3s ease-in-out infinite;
}

/* Get In Touch form card */
.abt-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.abt-form-title {
  font-size: 1.3rem; font-weight: 800; color: #1a1a2e;
  margin-bottom: 0.4rem;
}
.abt-form-sub {
  font-size: 0.82rem; color: #64748b; margin-bottom: 1.5rem;
  line-height: 1.6;
}
.abt-form {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.form-group {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.form-group label {
  font-size: 0.75rem; font-weight: 600; color: #475569;
}
.form-group input,
.form-group textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: #1a1a2e;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  background: #f8fafc;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #8b5cf6;
  background: #fff;
}
.form-submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  border: none; cursor: pointer;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem; font-weight: 700;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(139,92,246,0.3);
  margin-top: 0.25rem;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(139,92,246,0.4); }

/* ══════════════════════════════════════════
   FOOTER — Wix 4-column style
══════════════════════════════════════════ */
.footer-wix {
  background: #eceef8;
  padding: 3rem 2rem 1.5rem;
}
.fw-top {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}
.fw-logo-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.25rem 0.5rem 0.7rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-size: 1rem; font-weight: 700; color: #1a1a2e;
  margin-bottom: 0.75rem;
}
.fw-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.fw-tagline { font-size: 0.9rem; color: #64748b; margin-bottom: 1.5rem; }
.fw-divider { border: none; border-top: 1.5px solid rgba(0,0,0,0.08); margin: 0; }

.fw-columns {
  max-width: 1200px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
.fw-col-title {
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #1a1a2e; margin-bottom: 0.9rem;
}
.fw-col p { font-size: 0.82rem; color: #64748b; margin-bottom: 0.25rem; }
.fw-menu { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.fw-menu a {
  font-size: 0.82rem; color: #64748b; text-decoration: none;
  transition: color 0.2s;
}
.fw-menu a:hover { color: #7c3aed; }

/* Newsletter */
.fw-newsletter {
  display: flex; gap: 0.5rem;
}
.fw-newsletter input {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem; font-family: inherit;
  outline: none; color: #1a1a2e;
  background: #fff;
}
.fw-newsletter input:focus { border-color: #8b5cf6; }
.fw-newsletter button {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff; border: none; cursor: pointer;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-weight: 700; font-size: 0.8rem;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.fw-newsletter button:hover { opacity: 0.88; }

.fw-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1.5px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.fw-store-badges { display: flex; gap: 0.75rem; }
.fw-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #1a1a2e; color: #fff;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.fw-badge:hover { background: #6d28d9; }
.fw-badge i { font-size: 1.2rem; }
.fw-badge div { display: flex; flex-direction: column; line-height: 1.2; }
.fw-badge small { font-size: 0.6rem; opacity: 0.65; }
.fw-badge span   { font-size: 0.8rem; font-weight: 700; }
.fw-copy { font-size: 0.75rem; color: #94a3b8; }

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .abt-inner { grid-template-columns: 1fr; gap: 2rem; }
  .fw-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Hero Mobile Typography */
  .hero-wix-title { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  
  /* Games Section Mobile Drop */
  .wix-showcase { height: auto; margin: 0 1.5rem 2.5rem; display: flex; flex-direction: column; }
  .ws-bg { position: relative; height: 280px; }
  .ws-bg img { position: absolute; inset: 0; display: block; }
  .ws-card-wide, .ws-card-wide.reverse { 
    position: static; transform: none; width: 100%; border-radius: 0 0 24px 24px;
    flex-direction: column; text-align: center; padding: 2.5rem 1.5rem;
  }
  .ws-wide-visual { display: none; } /* Hide phone mockup on smaller screens to save height */
  .ws-card-top { justify-content: center; flex-direction: column; }
  .ws-store-badges-img { justify-content: center; }
}
@media (max-width: 680px) {
  /* Hero Mobile Beautiful Stack */
  .hero-wix { justify-content: center; padding-top: 85px; gap: 1.5rem; }
  .hero-wix-body { order: 1; padding: 0 1.25rem; }
  .chip-top { order: 2; position: static; transform: none; width: fit-content; margin: 0 auto; }
  .chip-botright { order: 3; position: static; transform: none; width: fit-content; margin: 0 auto; }
  .plus-shape, .ring-shape { opacity: 0.2; width: 90px; } /* Ghost the shapes so they don't overlap text awkwardly */

  /* About & Footer Stack */
  .abt-inner { padding: 0 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .fw-columns { grid-template-columns: 1fr; gap: 2rem; }
  .fw-bottom { flex-direction: column; align-items: flex-start; }
}
