/* ==========================================================================
   pinas77 casino - pinas77-casino.css
   All custom classes use the gd05- prefix. CSS variables use --gd05-*.
   Palette: #FF7F50 primary | #1A1A2E background | dark-first mobile design.
   ========================================================================== */

:root {
  --gd05-primary: #FF7F50;
  --gd05-primary-dark: #E7673C;
  --gd05-primary-soft: #FFB59A;
  --gd05-bg: #1A1A2E;
  --gd05-bg-2: #20213A;
  --gd05-bg-3: #2B2D52;
  --gd05-text: #FFFFFF;
  --gd05-text-muted: #C7CAD8;
  --gd05-text-dim: #8A8FA8;
  --gd05-gold: #FFD17A;
  --gd05-border: rgba(255, 255, 255, 0.08);
  --gd05-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --gd05-shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.5);
  --gd05-radius: 14px;
  --gd05-radius-sm: 10px;
  --gd05-radius-lg: 22px;
  --gd05-maxw: 430px;
  --gd05-header-h: 60px;
  --gd05-bottomnav-h: 62px;
}

/* Reset and base typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Helvetica Neue", "Segoe UI", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--gd05-bg);
  color: var(--gd05-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gd05-primary); text-decoration: none; }
a:hover { color: var(--gd05-primary-soft); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p { font-size: 1.4rem; color: var(--gd05-text-muted); }

/* Page layout */
.gd05-wrapper {
  width: 100%;
  max-width: var(--gd05-maxw);
  margin: 0 auto;
  position: relative;
}
.gd05-container {
  width: 100%;
  padding: 0 12px;
}
.gd05-no-scroll { overflow: hidden; }

/* ============================== HEADER ============================== */
.gd05-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--gd05-header-h);
  background: linear-gradient(180deg, #181930 0%, #1A1A2E 100%);
  border-bottom: 1px solid var(--gd05-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.gd05-header__inner {
  width: 100%;
  max-width: var(--gd05-maxw);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gd05-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gd05-logo__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(255, 127, 80, 0.45);
}
.gd05-logo__text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  text-transform: lowercase;
}
.gd05-logo__text b { color: var(--gd05-primary); }
.gd05-header__spacer { flex: 1; }
.gd05-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gd05-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.gd05-btn--primary {
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.45);
}
.gd05-btn--primary:active { transform: scale(0.95); }
.gd05-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.gd05-btn--ghost:active { transform: scale(0.95); background: rgba(255, 255, 255, 0.06); }
.gd05-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gd05-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}
.gd05-quicknav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: var(--gd05-maxw);
  margin: var(--gd05-header-h) auto 0;
  padding: 10px 12px;
  background: rgba(26, 26, 46, .97);
  border-bottom: 1px solid var(--gd05-border);
}
.gd05-quicknav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px;
  border-radius: var(--gd05-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gd05-text);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.gd05-quicknav a:hover { background: rgba(255, 127, 80, .18); }

/* ============================== MOBILE MENU ============================== */
.gd05-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.gd05-overlay--active {
  opacity: 1;
  visibility: visible;
}
.gd05-mobile-menu {
  position: fixed;
  top: 0;
  right: -85%;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: var(--gd05-bg-2);
  z-index: 9999;
  transition: right 0.28s ease;
  padding: 22px 18px 40px;
  overflow-y: auto;
  box-shadow: var(--gd05-shadow-strong);
}
.gd05-menu--open { right: 0; }
.gd05-mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.gd05-mobile-menu__title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}
.gd05-mobile-menu__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gd05-border);
}
.gd05-mobile-menu__group { margin-top: 14px; }
.gd05-mobile-menu__label {
  font-size: 1.15rem;
  color: var(--gd05-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  padding-left: 4px;
}
.gd05-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 10px;
  transition: background 0.18s ease;
}
.gd05-mobile-menu__link:hover,
.gd05-mobile-menu__link:active {
  background: rgba(255, 127, 80, 0.12);
  color: #fff;
}
.gd05-mobile-menu__cta {
  margin-top: 18px;
  width: 100%;
  height: 44px;
}

/* ============================== MAIN ============================== */
main {
  padding-top: calc(var(--gd05-header-h) + 6px);
  padding-bottom: 0;
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ============================== HERO / CAROUSEL ============================== */
.gd05-hero {
  position: relative;
  width: 100%;
  margin: 0 0 16px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.gd05-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}
.gd05-carousel__track {
  display: flex;
  transition: transform 0.42s ease;
  will-change: transform;
}
.gd05-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}
.gd05-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.gd05-slide__overlay {
  position: absolute;
  left: 14px;
  bottom: 16px;
  max-width: 78%;
}
.gd05-slide__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
}
.gd05-slide__text {
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 8px;
}
.gd05-carousel__nav {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.gd05-carousel__nav--prev { left: 8px; }
.gd05-carousel__nav--next { right: 8px; }
.gd05-carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gd05-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}
.gd05-dot--active {
  background: var(--gd05-primary);
  width: 22px;
  border-radius: 6px;
}

/* ============================== SECTION ============================== */
.gd05-section {
  padding: 18px 12px;
}
.gd05-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gd05-section__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd05-section__title .gd05-bar {
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gd05-primary), var(--gd05-gold));
}
.gd05-section__more {
  font-size: 1.25rem;
  color: var(--gd05-primary);
  font-weight: 600;
}

/* ============================== GAME GRID ============================== */
.gd05-gamegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gd05-gamecard {
  background: var(--gd05-bg-2);
  border-radius: var(--gd05-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--gd05-border);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.gd05-gamecard:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 2px rgba(255, 127, 80, 0.5);
}
.gd05-gamecard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #131429;
}
.gd05-gamecard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gd05-gamecard__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-primary-dark));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gd05-gamecard__name {
  font-size: 1.2rem;
  color: #fff;
  padding: 6px 8px;
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================== CONTENT CARD ============================== */
.gd05-card {
  background: var(--gd05-bg-2);
  border-radius: var(--gd05-radius);
  padding: 16px;
  border: 1px solid var(--gd05-border);
}
.gd05-card + .gd05-card { margin-top: 12px; }
.gd05-card__title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd05-card__title i { color: var(--gd05-primary); font-size: 1.8rem; }
.gd05-card__body { font-size: 1.35rem; color: var(--gd05-text-muted); line-height: 1.55; }
.gd05-card__body strong { color: var(--gd05-primary); font-weight: 700; }
.gd05-card__body a { color: var(--gd05-primary); font-weight: 600; text-decoration: underline; }
.gd05-card__list { padding-left: 18px; margin: 8px 0; }
.gd05-card__list li {
  list-style: disc;
  margin-bottom: 4px;
  font-size: 1.35rem;
  color: var(--gd05-text-muted);
}
.gd05-card__list a { color: var(--gd05-primary); text-decoration: underline; }

/* FAQ accordion */
.gd05-faq__item {
  background: var(--gd05-bg-2);
  border: 1px solid var(--gd05-border);
  border-radius: var(--gd05-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.gd05-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gd05-faq__q i { color: var(--gd05-primary); font-size: 1.6rem; }
.gd05-faq__a {
  padding: 0 14px 12px;
  font-size: 1.32rem;
  color: var(--gd05-text-muted);
}

/* Promotions list */
.gd05-promolist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.gd05-promo {
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.12), rgba(255, 209, 122, 0.06));
  border: 1px solid rgba(255, 127, 80, 0.28);
  border-radius: var(--gd05-radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.gd05-promo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}
.gd05-promo__body { flex: 1; min-width: 0; }
.gd05-promo__title { font-size: 1.45rem; color: #fff; font-weight: 700; margin-bottom: 2px; }
.gd05-promo__desc { font-size: 1.22rem; color: var(--gd05-text-muted); line-height: 1.4; }

/* Feature grid */
.gd05-featuregrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gd05-feature {
  background: var(--gd05-bg-2);
  border: 1px solid var(--gd05-border);
  border-radius: var(--gd05-radius-sm);
  padding: 12px;
  text-align: center;
}
.gd05-feature__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(255, 127, 80, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gd05-primary);
  font-size: 1.9rem;
}
.gd05-feature__title { font-size: 1.32rem; color: #fff; font-weight: 700; margin-bottom: 2px; }
.gd05-feature__desc { font-size: 1.15rem; color: var(--gd05-text-muted); }

/* Winners / testimonials */
.gd05-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gd05-winner {
  background: var(--gd05-bg-2);
  border-radius: var(--gd05-radius-sm);
  border: 1px solid var(--gd05-border);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd05-winner__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}
.gd05-winner__name { font-size: 1.2rem; color: #fff; font-weight: 600; }
.gd05-winner__amount { font-size: 1.15rem; color: var(--gd05-gold); font-weight: 700; }

/* Payment chips */
.gd05-payrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gd05-pay {
  background: var(--gd05-bg-2);
  border: 1px solid var(--gd05-border);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CTA banner */
.gd05-cta {
  background: linear-gradient(135deg, var(--gd05-primary), var(--gd05-primary-dark));
  border-radius: var(--gd05-radius);
  padding: 18px;
  text-align: center;
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.35);
}
.gd05-cta__title { font-size: 1.7rem; color: #fff; font-weight: 800; margin-bottom: 6px; }
.gd05-cta__text { font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.gd05-cta .gd05-btn {
  background: #fff;
  color: var(--gd05-primary-dark);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0 24px;
  height: 42px;
}

/* Inline text link used inside paragraphs */
.gd05-text-link {
  color: var(--gd05-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* Reveal animation */
.gd05-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.gd05-reveal.gd05-inview {
  opacity: 1;
  transform: none;
}

/* ============================== FOOTER ============================== */
.gd05-footer {
  background: #15162A;
  border-top: 1px solid var(--gd05-border);
  padding: 22px 12px 18px;
  margin-top: 18px;
}
.gd05-footer__brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.gd05-footer__brand b { color: var(--gd05-primary); }
.gd05-footer__about {
  font-size: 1.25rem;
  color: var(--gd05-text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
}
.gd05-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin-bottom: 14px;
}
.gd05-footer__link {
  font-size: 1.22rem;
  color: var(--gd05-text-muted);
  text-decoration: none;
}
.gd05-footer__link:hover { color: var(--gd05-primary); }
.gd05-footer__cta {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.gd05-footer__cta .gd05-btn { flex: 1; }
.gd05-footer__copy {
  font-size: 1.15rem;
  color: var(--gd05-text-dim);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--gd05-border);
}

/* ============================== BOTTOM NAV ============================== */
.gd05-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--gd05-bottomnav-h);
  background: linear-gradient(180deg, #20213A 0%, #15162A 100%);
  border-top: 1px solid var(--gd05-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.gd05-bottomnav__btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--gd05-text-dim);
  transition: color 0.2s ease, transform 0.15s ease;
  padding: 4px;
}
.gd05-bottomnav__btn:active { transform: scale(0.92); }
.gd05-bottomnav__icon {
  font-size: 2.2rem;
  line-height: 1;
}
.gd05-bottomnav__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.gd05-bottomnav__btn--active,
.gd05-bottomnav__btn:hover {
  color: var(--gd05-primary);
}
.gd05-bottomnav__btn--active .gd05-bottomnav__icon,
.gd05-bottomnav__btn--promo .gd05-bottomnav__icon {
  text-shadow: 0 0 8px rgba(255, 127, 80, 0.45);
}
.gd05-bottomnav__btn--promo {
  color: var(--gd05-gold);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .gd05-bottomnav { display: none; }
  main { padding-bottom: 0; }
  .gd05-wrapper { max-width: 760px; }
  .gd05-header__inner { max-width: 760px; }
  .gd05-gamegrid { grid-template-columns: repeat(5, 1fr); }
  .gd05-promolist { grid-template-columns: repeat(2, 1fr); }
  .gd05-featuregrid { grid-template-columns: repeat(4, 1fr); }
}

/* Accessibility focus */
:focus-visible {
  outline: 2px solid var(--gd05-primary);
  outline-offset: 2px;
  border-radius: 6px;
}
