/* philwin.homes - mobile-first styles */
:root {
  --g063-primary: #FF91A4;
  --g063-secondary: #880E4F;
  --g063-bg: #1E1E1E;
  --g063-bg-soft: #2A1A22;
  --g063-text: #FFFFFF;
  --g063-muted: #C9C9FF;
  --g063-accent: #7FFF00;
  --g063-card: #2C1F28;
  --g063-border: rgba(255, 145, 164, 0.28);
  --g063-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
  --g063-radius: 1.2rem;
  --g063-header-h: 5.6rem;
  --g063-bottom-h: 6.2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  background: var(--g063-bg);
  color: var(--g063-text);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--g063-primary);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--g063-accent);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.g063-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g063-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #1E1E1E 0%, #26161F 50%, #1E1E1E 100%);
}

/* Header */
.g063-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--g063-header-h);
  background: rgba(30, 30, 30, 0.96);
  border-bottom: 1px solid var(--g063-border);
  backdrop-filter: blur(8px);
}

.g063-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

.g063-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 1;
}

.g063-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.g063-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--g063-primary);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.g063-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g063-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.g063-btn:active {
  transform: scale(0.96);
}

.g063-btn-primary {
  background: linear-gradient(135deg, var(--g063-primary), var(--g063-secondary));
  color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(136, 14, 79, 0.4);
}

.g063-btn-outline {
  border: 1px solid var(--g063-primary);
  color: var(--g063-primary);
  background: transparent;
}

.g063-btn-accent {
  background: var(--g063-accent);
  color: #1E1E1E;
  font-weight: 800;
}

.g063-btn-sm {
  min-height: 3.6rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
}

.g063-hamburger {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g063-primary);
  font-size: 2.2rem;
}

/* Mobile menu */
.g063-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.g063-overlay-active {
  opacity: 1;
  visibility: visible;
}

.g063-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 320px);
  height: 100%;
  background: #24151C;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
  border-left: 1px solid var(--g063-border);
}

.g063-menu-open {
  transform: translateX(0);
}

.g063-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.g063-menu-close {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g063-muted);
  font-size: 2.4rem;
}

.g063-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.8rem;
  color: var(--g063-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.4rem;
  min-height: 4.4rem;
}

.g063-menu-list a:hover {
  color: var(--g063-primary);
  background: rgba(255, 145, 164, 0.08);
}

.g063-menu-list i,
.g063-menu-list .material-icons,
.g063-menu-list .bi {
  font-size: 2rem;
  width: 2.4rem;
  color: var(--g063-primary);
}

/* Main */
.g063-main {
  padding-top: calc(var(--g063-header-h) + 1.2rem);
  padding-bottom: 8rem;
}

/* Carousel */
.g063-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--g063-radius);
  margin-bottom: 1.6rem;
  box-shadow: var(--g063-shadow);
}

.g063-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.g063-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.g063-carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.g063-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.g063-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
}

.g063-dot-active {
  background: var(--g063-accent);
  transform: scale(1.25);
}

/* Hero / sections */
.g063-hero {
  text-align: center;
  padding: 0.4rem 0 1.6rem;
}

.g063-hero h1 {
  font-size: 2rem;
  line-height: 1.35;
  color: var(--g063-text);
  margin-bottom: 1rem;
  font-weight: 800;
}

.g063-hero p {
  color: var(--g063-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.g063-section {
  margin-bottom: 2.4rem;
}

.g063-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g063-primary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.g063-section-title .material-icons,
.g063-section-title i {
  font-size: 2.2rem;
  color: var(--g063-accent);
}

.g063-section-text {
  color: var(--g063-muted);
  font-size: 1.3rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.g063-section-text a {
  color: var(--g063-accent);
}

/* Game grid */
.g063-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.g063-game-card {
  background: var(--g063-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-align: center;
}

.g063-game-card:active {
  transform: scale(0.96);
}

.g063-game-card:hover {
  border-color: var(--g063-primary);
  box-shadow: 0 0 0.8rem rgba(255, 145, 164, 0.35);
}

.g063-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.g063-game-card span {
  display: block;
  padding: 0.5rem 0.3rem 0.7rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--g063-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards / modules */
.g063-card {
  background: var(--g063-card);
  border: 1px solid var(--g063-border);
  border-radius: var(--g063-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--g063-shadow);
}

.g063-card h3 {
  font-size: 1.5rem;
  color: var(--g063-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.g063-card p {
  color: var(--g063-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.g063-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.g063-feature-item {
  background: rgba(136, 14, 79, 0.2);
  border: 1px solid var(--g063-border);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
}

.g063-feature-item i,
.g063-feature-item .material-icons,
.g063-feature-item .ti {
  font-size: 2.4rem;
  color: var(--g063-accent);
  margin-bottom: 0.6rem;
  display: block;
}

.g063-feature-item h3 {
  font-size: 1.3rem;
  color: var(--g063-text);
  margin-bottom: 0.4rem;
}

.g063-feature-item p {
  font-size: 1.1rem;
  color: var(--g063-muted);
  line-height: 1.45;
}

/* RTP table */
.g063-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.g063-rtp-table th,
.g063-rtp-table td {
  padding: 0.8rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.g063-rtp-table th {
  color: var(--g063-primary);
  font-weight: 700;
}

.g063-rtp-table td {
  color: var(--g063-muted);
}

.g063-rtp-high {
  color: var(--g063-accent) !important;
  font-weight: 700;
}

/* FAQ */
.g063-faq-item {
  background: var(--g063-card);
  border: 1px solid var(--g063-border);
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.g063-faq-q {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g063-text);
  min-height: 4.4rem;
}

.g063-faq-q i {
  color: var(--g063-primary);
  transition: transform 0.2s;
}

.g063-faq-open .g063-faq-q i {
  transform: rotate(180deg);
}

.g063-faq-a {
  display: none;
  padding: 0 1.4rem 1.2rem;
  color: var(--g063-muted);
  font-size: 1.25rem;
  line-height: 1.6;
}

.g063-faq-open .g063-faq-a {
  display: block;
}

/* Testimonials */
.g063-testimonial {
  background: linear-gradient(135deg, rgba(136, 14, 79, 0.35), rgba(30, 30, 30, 0.9));
  border-left: 3px solid var(--g063-accent);
  border-radius: 0 1rem 1rem 0;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.g063-testimonial p {
  color: var(--g063-muted);
  font-size: 1.25rem;
  line-height: 1.55;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.g063-testimonial strong {
  color: var(--g063-primary);
  font-size: 1.2rem;
}

/* Payment / winners */
.g063-pay-grid,
.g063-winner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.g063-pay-item,
.g063-winner-item {
  background: var(--g063-card);
  border-radius: 1rem;
  padding: 1rem 0.6rem;
  text-align: center;
  border: 1px solid var(--g063-border);
  font-size: 1.1rem;
  color: var(--g063-muted);
}

.g063-pay-item i,
.g063-winner-item i {
  display: block;
  font-size: 2.2rem;
  color: var(--g063-primary);
  margin-bottom: 0.4rem;
}

.g063-winner-item strong {
  display: block;
  color: var(--g063-accent);
  font-size: 1.2rem;
}

/* CTA block */
.g063-cta {
  background: linear-gradient(135deg, var(--g063-secondary), #4A0A2C);
  border-radius: var(--g063-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  margin: 2rem 0;
  border: 1px solid var(--g063-primary);
}

.g063-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #fff;
  line-height: 1.35;
}

.g063-cta p {
  color: var(--g063-muted);
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
  line-height: 1.55;
}

.g063-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1.2rem 0;
}

/* Footer */
.g063-footer {
  background: #160E13;
  border-top: 1px solid var(--g063-border);
  padding: 2.4rem 0 2rem;
  margin-bottom: var(--g063-bottom-h);
}

.g063-footer-brand {
  text-align: center;
  margin-bottom: 1.6rem;
}

.g063-footer-brand p {
  color: var(--g063-muted);
  font-size: 1.2rem;
  line-height: 1.55;
  margin-top: 0.6rem;
}

.g063-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.6rem;
}

.g063-footer-links a {
  color: var(--g063-muted);
  font-size: 1.2rem;
  font-weight: 600;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
}

.g063-footer-links a:hover {
  color: var(--g063-primary);
}

.g063-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.g063-seo-links {
  margin: 1.2rem 0;
  text-align: center;
}

.g063-seo-links a {
  display: inline-block;
  margin: 0.4rem 0.6rem;
  color: var(--g063-primary);
  font-size: 1.2rem;
}

.g063-copyright {
  text-align: center;
  color: rgba(201, 201, 255, 0.55);
  font-size: 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bottom nav */
.g063-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--g063-bottom-h);
  background: linear-gradient(180deg, #2A1520 0%, #1A0E14 100%);
  border-top: 1px solid var(--g063-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -0.4rem 1.6rem rgba(0, 0, 0, 0.4);
}

.g063-bottom-nav a,
.g063-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--g063-muted);
  font-size: 1rem;
  gap: 0.3rem;
  transition: color 0.2s, transform 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.g063-bottom-nav a i,
.g063-bottom-nav a .material-icons,
.g063-bottom-nav a .bi,
.g063-bottom-nav button i,
.g063-bottom-nav button .material-icons,
.g063-bottom-nav button .bi {
  font-size: 2.2rem;
  line-height: 1;
}

.g063-bottom-nav a:active,
.g063-bottom-nav button:active {
  transform: scale(0.9);
  color: var(--g063-accent);
}

.g063-bottom-nav .g063-nav-active {
  color: var(--g063-accent);
}

.g063-bottom-nav .g063-nav-active i,
.g063-bottom-nav .g063-nav-active .material-icons {
  text-shadow: 0 0 0.8rem rgba(127, 255, 0, 0.5);
}

/* Utility */
.g063-text-center { text-align: center; }
.g063-mt-1 { margin-top: 1rem; }
.g063-mb-1 { margin-bottom: 1rem; }
.g063-mb-2 { margin-bottom: 2rem; }

.g063-highlight {
  color: var(--g063-accent);
  font-weight: 700;
}

.g063-text-link {
  color: var(--g063-primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 769px) {
  .g063-bottom-nav {
    display: none;
  }

  .g063-main {
    padding-bottom: 2rem;
  }

  .g063-footer {
    margin-bottom: 0;
  }

  .g063-wrapper,
  .g063-container,
  .g063-header-inner {
    max-width: 430px;
  }

  body {
    background: #0F0A0C;
  }
}

@media (max-width: 360px) {
  .g063-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .g063-btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 1rem;
  }
}
