/*!
 * pgot.homes theme stylesheet
 * Mobile-first casino portal styling
 * Every custom selector uses the s144- prefix to avoid collisions.
 */

:root {
  /* Brand palette */
  --s144-primary: #004D40;       /* deep teal - primary background */
  --s144-primary-2: #00382f;     /* darker teal */
  --s144-secondary: #80CBC4;     /* muted teal */
  --s144-accent: #9AFF9A;        /* bright CTA green */
  --s144-light: #B2DFDB;         /* light teal */
  --s144-ink: #333333;           /* dark text */
  --s144-bg: #06241f;            /* page background */
  --s144-card: #0a352d;          /* card surface */
  --s144-card-2: #0d4036;        /* raised surface */
  --s144-text: #eafff9;          /* primary text */
  --s144-muted: #8fcac2;         /* muted text */
  --s144-gold: #ffd479;          /* gold accent for winners / vip */
  --s144-danger: #ff6b6b;
  --s144-radius: 14px;
  --s144-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --s144-shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.22);
  --s144-header-h: 60px;
  --s144-bottom-h: 62px;
  --s144-max: 430px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, var(--s144-primary) 0%, var(--s144-bg) 60%);
  background-attachment: fixed;
  color: var(--s144-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s144-light); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---- Layout helpers ---- */
.s144-container { width: 100%; max-width: var(--s144-max); margin: 0 auto; padding: 0 1.4rem; }
.s144-wrapper { padding-top: var(--s144-header-h); }
main { display: block; }
.s144-section { padding: 2.6rem 0 1rem; }
.s144-section-alt { background: rgba(255, 255, 255, 0.03); }

.s144-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--s144-accent);
  background: rgba(154, 255, 154, 0.08);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(154, 255, 154, 0.25);
}
.s144-section-title {
  font-size: 2.2rem; font-weight: 800; line-height: 1.25;
  margin: 1rem 0 0.6rem; color: var(--s144-text);
}
.s144-section-title em { color: var(--s144-accent); font-style: normal; }
.s144-section-sub { color: var(--s144-muted); font-size: 1.35rem; margin-bottom: 1.4rem; }

/* ---- Header ---- */
.s144-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--s144-primary-2) 0%, rgba(0, 56, 47, 0.92) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(128, 203, 196, 0.18);
}
.s144-header-row {
  max-width: var(--s144-max); margin: 0 auto;
  height: var(--s144-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.s144-brand { display: flex; align-items: center; gap: 0.7rem; }
.s144-brand-logo {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(154, 255, 154, 0.35);
}
.s144-brand-name {
  font-size: 1.9rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--s144-text);
}
.s144-brand-name span { color: var(--s144-accent); }
.s144-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s144-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; border-radius: 999px;
  padding: 0.65rem 1.2rem; min-height: 38px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.s144-btn:active { transform: scale(0.96); }
.s144-btn-login {
  color: var(--s144-text); background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(128, 203, 196, 0.35);
}
.s144-btn-register {
  color: #04231c; font-weight: 800;
  background: linear-gradient(135deg, var(--s144-accent) 0%, #4fd98f 100%);
  box-shadow: 0 4px 14px rgba(154, 255, 154, 0.35);
}
.s144-burger {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(128, 203, 196, 0.3);
}
.s144-burger i { font-size: 2rem; color: var(--s144-light); }

/* ---- Mobile slide-in menu ---- */
.s144-menu-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
}
.s144-backdrop-active { opacity: 1; visibility: visible; }
.s144-mobile-menu {
  position: fixed; top: 0; right: -84%; width: 80%; max-width: 320px;
  height: 100%; z-index: 9999;
  background: linear-gradient(180deg, var(--s144-primary-2), var(--s144-card));
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(0); transition: right 0.3s ease;
  padding: 1.6rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.s144-menu-active { right: 0; }
.s144-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.s144-menu-head h3 { font-size: 1.8rem; color: var(--s144-accent); }
.s144-menu-close { font-size: 2rem; color: var(--s144-light); }
.s144-menu-link {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1rem; border-radius: 10px;
  color: var(--s144-text); font-weight: 600; font-size: 1.4rem;
  border: 1px solid transparent; transition: all 0.15s ease;
}
.s144-menu-link:hover, .s144-menu-link:focus {
  background: rgba(154, 255, 154, 0.1); border-color: rgba(154, 255, 154, 0.3);
}
.s144-menu-link i { font-size: 1.7rem; color: var(--s144-accent); width: 22px; text-align: center; }
.s144-menu-link small { display: block; font-size: 1.05rem; color: var(--s144-muted); font-weight: 400; }
.s144-menu-cta { margin-top: auto; display: flex; flex-direction: column; gap: 0.7rem; }
.s144-menu-cta .s144-btn { width: 100%; }

/* ---- Carousel ---- */
.s144-carousel {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--s144-shadow); margin-top: 1rem;
}
.s144-carousel-viewport { overflow: hidden; }
.s144-carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.s144-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.s144-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.s144-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem 1.6rem;
  background: linear-gradient(0deg, rgba(0, 36, 31, 0.92) 0%, rgba(0, 36, 31, 0) 100%);
}
.s144-carousel-cap h2 { font-size: 1.8rem; color: var(--s144-accent); margin-bottom: 0.2rem; }
.s144-carousel-cap p { font-size: 1.2rem; color: var(--s144-light); }
.s144-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem; z-index: 2;
}
.s144-carousel-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); transition: all 0.25s ease;
}
.s144-dot-active { background: var(--s144-accent); width: 20px; }

/* ---- Category pills ---- */
.s144-cat-bar { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 1rem; -webkit-overflow-scrolling: touch; }
.s144-cat-bar::-webkit-scrollbar { display: none; }
.s144-cat-pill {
  flex: 0 0 auto; padding: 0.6rem 1.1rem; border-radius: 999px;
  font-size: 1.25rem; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, 0.05); color: var(--s144-light);
  border: 1px solid rgba(128, 203, 196, 0.25);
}
.s144-pill-active {
  background: linear-gradient(135deg, var(--s144-accent), #4fd98f);
  color: #04231c; border-color: transparent;
}

/* ---- Game grid ---- */
.s144-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
  margin-top: 0.6rem;
}
.s144-game-card {
  background: var(--s144-card); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(128, 203, 196, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer; text-align: center;
}
.s144-game-card:active { transform: scale(0.95); border-color: var(--s144-accent); }
.s144-game-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #04221c; }
.s144-game-name {
  font-size: 1.15rem; font-weight: 600; color: var(--s144-text);
  padding: 0.5rem 0.4rem 0.7rem; line-height: 1.2; min-height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
}
.s144-cat-head { display: flex; align-items: center; justify-content: space-between; margin: 2rem 0 0.8rem; }
.s144-cat-head h2 { font-size: 1.7rem; font-weight: 800; color: var(--s144-text); display: flex; align-items: center; gap: 0.6rem; }
.s144-cat-head h2 i { color: var(--s144-accent); }
.s144-cat-count { font-size: 1.15rem; color: var(--s144-muted); }

/* ---- Feature / module cards ---- */
.s144-card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 0.6rem; }
.s144-card {
  background: var(--s144-card); border-radius: var(--s144-radius); padding: 1.4rem;
  border: 1px solid rgba(128, 203, 196, 0.15); box-shadow: var(--s144-shadow-soft);
}
.s144-card h3 { font-size: 1.5rem; color: var(--s144-accent); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.s144-card p { color: var(--s144-muted); font-size: 1.3rem; line-height: 1.45; }
.s144-card p a { color: var(--s144-accent); font-weight: 700; text-decoration: underline; }

.s144-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.s144-feature {
  background: var(--s144-card-2); border-radius: 12px; padding: 1.2rem 1rem;
  text-align: center; border: 1px solid rgba(128, 203, 196, 0.15);
}
.s144-feature .s144-ico {
  width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 0.6rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(154, 255, 154, 0.12); color: var(--s144-accent);
}
.s144-feature .s144-ico i { font-size: 2.2rem; }
.s144-feature h4 { font-size: 1.3rem; color: var(--s144-text); margin-bottom: 0.3rem; }
.s144-feature p { font-size: 1.15rem; color: var(--s144-muted); line-height: 1.35; }

/* ---- Steps list ---- */
.s144-steps { display: flex; flex-direction: column; gap: 0.9rem; }
.s144-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--s144-card); border-radius: 12px; padding: 1.1rem;
  border-left: 3px solid var(--s144-accent);
}
.s144-step-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px;
  background: var(--s144-accent); color: #04231c; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.s144-step h4 { font-size: 1.35rem; color: var(--s144-text); margin-bottom: 0.2rem; }
.s144-step p { font-size: 1.2rem; color: var(--s144-muted); line-height: 1.35; }

/* ---- RTP table ---- */
.s144-rtp-list { display: flex; flex-direction: column; gap: 0.7rem; }
.s144-rtp-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: center;
  background: var(--s144-card); border-radius: 10px; padding: 0.9rem 1.1rem;
  border: 1px solid rgba(128, 203, 196, 0.12);
}
.s144-rtp-row strong { color: var(--s144-text); font-size: 1.3rem; display: block; }
.s144-rtp-row small { color: var(--s144-muted); font-size: 1.1rem; }
.s144-rtp-badge {
  font-size: 1.25rem; font-weight: 800; color: #04231c;
  background: var(--s144-accent); padding: 0.3rem 0.8rem; border-radius: 999px;
}
.s144-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); margin-top: 0.4rem; overflow: hidden; grid-column: 1 / -1; }
.s144-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--s144-secondary), var(--s144-accent)); }

/* ---- Testimonials / winners ---- */
.s144-tile-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s144-tile {
  background: var(--s144-card); border-radius: 12px; padding: 1rem;
  border: 1px solid rgba(128, 203, 196, 0.15);
}
.s144-tile-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.s144-avatar {
  width: 34px; height: 34px; border-radius: 999px;
  background: linear-gradient(135deg, var(--s144-secondary), var(--s144-accent));
  display: flex; align-items: center; justify-content: center; color: #04231c; font-weight: 800; font-size: 1.3rem;
}
.s144-tile-name { font-size: 1.25rem; font-weight: 700; color: var(--s144-text); }
.s144-tile-meta { font-size: 1.05rem; color: var(--s144-muted); }
.s144-tile p { font-size: 1.15rem; color: var(--s144-muted); line-height: 1.35; }
.s144-win-amount { color: var(--s144-gold); font-weight: 800; font-size: 1.5rem; }

/* ---- Payment / app CTA ---- */
.s144-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s144-pay-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: 999px; font-size: 1.2rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); color: var(--s144-light);
  border: 1px solid rgba(128, 203, 196, 0.25);
}
.s144-pay-chip i { color: var(--s144-accent); }
.s144-cta-box {
  background: linear-gradient(135deg, var(--s144-primary), var(--s144-card));
  border-radius: 16px; padding: 1.6rem; text-align: center;
  border: 1px solid rgba(154, 255, 154, 0.25); box-shadow: var(--s144-shadow-soft);
}
.s144-cta-box h3 { font-size: 1.8rem; color: var(--s144-accent); margin-bottom: 0.4rem; }
.s144-cta-box p { color: var(--s144-light); margin-bottom: 1.1rem; font-size: 1.3rem; }
.s144-cta-big {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 1.5rem; font-weight: 800; padding: 1rem 2rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--s144-accent), #4fd98f); color: #04231c;
  box-shadow: 0 6px 18px rgba(154, 255, 154, 0.4);
}

/* ---- FAQ ---- */
.s144-faq { display: flex; flex-direction: column; gap: 0.7rem; }
.s144-faq details {
  background: var(--s144-card); border-radius: 10px; padding: 1rem 1.2rem;
  border: 1px solid rgba(128, 203, 196, 0.15);
}
.s144-faq summary { font-size: 1.35rem; font-weight: 700; color: var(--s144-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.s144-faq summary::after { content: "+"; color: var(--s144-accent); font-size: 1.8rem; }
.s144-faq details[open] summary::after { content: "\2212"; }
.s144-faq p { margin-top: 0.6rem; color: var(--s144-muted); font-size: 1.25rem; line-height: 1.45; }

/* ---- Footer ---- */
.s144-footer {
  margin-top: 2rem; padding: 2.2rem 0 1rem;
  background: linear-gradient(180deg, var(--s144-primary-2), #021814);
  border-top: 1px solid rgba(128, 203, 196, 0.2);
}
.s144-footer-brand { color: var(--s144-light); font-size: 1.25rem; line-height: 1.5; margin-bottom: 1.2rem; }
.s144-footer-brand strong { color: var(--s144-accent); }
.s144-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.s144-footer-promos a {
  flex: 1 1 auto; text-align: center; padding: 0.7rem 1rem; border-radius: 999px;
  font-size: 1.2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--s144-accent), #4fd98f); color: #04231c;
}
.s144-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.s144-footer-col h4 { font-size: 1.3rem; color: var(--s144-accent); margin-bottom: 0.6rem; }
.s144-footer-col a { display: block; font-size: 1.2rem; color: var(--s144-light); padding: 0.25rem 0; }
.s144-footer-col a:hover { color: var(--s144-accent); }
.s144-footer-copy { text-align: center; font-size: 1.1rem; color: var(--s144-muted); padding: 1rem 0; border-top: 1px solid rgba(128, 203, 196, 0.15); }

/* ---- Mobile bottom nav ---- */
.s144-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s144-bottom-h);
  background: linear-gradient(180deg, rgba(0, 56, 47, 0.96), rgba(2, 24, 20, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(128, 203, 196, 0.25);
  display: flex; justify-content: space-around; align-items: stretch;
}
.s144-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--s144-muted); font-size: 1rem; font-weight: 600;
  position: relative; transition: color 0.15s ease, transform 0.15s ease;
}
.s144-nav-btn i { font-size: 2.2rem; }
.s144-nav-btn:active { transform: scale(0.92); color: var(--s144-text); }
.s144-nav-btn.s144-nav-current { color: var(--s144-accent); }
.s144-nav-btn.s144-nav-current::before {
  content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 999px;
  background: var(--s144-accent);
}
.s144-nav-promo { color: var(--s144-gold); }
.s144-nav-promo i { filter: drop-shadow(0 0 6px rgba(255, 212, 121, 0.5)); }

/* ---- Reveal animation ---- */
.s144-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.s144-revealed { opacity: 1; transform: none; }

/* ---- Mobile bottom padding ---- */
main { padding-bottom: calc(var(--s144-bottom-h) + 12px); }

/* ---- Desktop ---- */
@media (min-width: 769px) {
  body { background: radial-gradient(circle at top, var(--s144-primary) 0%, var(--s144-bg) 50%); }
  .s144-container, .s144-header-row { max-width: 760px; }
  .s144-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s144-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .s144-tile-row { grid-template-columns: repeat(4, 1fr); }
  .s144-bottom-nav { display: none; }
  main { padding-bottom: 1rem; }
  .s144-carousel-slide img { height: 320px; }
}
