/* phspin app login - main stylesheet */
/* All classes use v926- prefix for namespace isolation */
/* English comments only */

:root {
  --v926-bg-dark: #34495E;
  --v926-bg-deep: #4B0082;
  --v926-bg-mid: #8B008B;
  --v926-bg-red: #8B0000;
  --v926-accent: #DA70D6;
  --v926-text-light: #E5E5E5;
  --v926-text-white: #FFFFFF;
  --v926-gold: #FFD700;
  --v926-shadow: rgba(0, 0, 0, 0.35);
  --v926-radius: 1.2rem;
  --v926-radius-sm: 0.8rem;
  --v926-transition: all 0.25s ease;
}

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

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--v926-bg-deep) 0%, var(--v926-bg-mid) 50%, var(--v926-bg-dark) 100%);
  color: var(--v926-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v926-accent); text-decoration: none; }

/* Header */
.v926-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(52, 73, 94, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.1rem solid rgba(218, 112, 214, 0.3);
  padding: 0.6rem 0; transition: var(--v926-transition);
}
.v926-header.v926-scrolled {
  background: rgba(75, 0, 130, 0.98);
  box-shadow: 0 0.4rem 1.2rem var(--v926-shadow);
}
.v926-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto; padding: 0 1.2rem; gap: 0.6rem;
}
.v926-logo { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.v926-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.v926-logo-text {
  font-size: 1.35rem; font-weight: 700; color: var(--v926-text-white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, var(--v926-accent), var(--v926-gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v926-header-actions { display: flex; gap: 0.5rem; align-items: center; }

.v926-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.1rem; border-radius: var(--v926-radius-sm);
  border: none; font-size: 1.25rem; font-weight: 700; cursor: pointer;
  transition: var(--v926-transition); min-height: 3.6rem;
  text-decoration: none; white-space: nowrap; font-family: inherit;
}
.v926-btn-primary {
  background: linear-gradient(135deg, var(--v926-bg-red), #FF4500);
  color: var(--v926-text-white);
  box-shadow: 0 0.3rem 0.8rem rgba(139, 0, 0, 0.5);
}
.v926-btn-primary:hover { transform: translateY(-0.1rem); box-shadow: 0 0.5rem 1.2rem rgba(255, 69, 0, 0.6); }
.v926-btn-secondary {
  background: linear-gradient(135deg, var(--v926-accent), var(--v926-bg-mid));
  color: var(--v926-text-white);
  box-shadow: 0 0.3rem 0.8rem rgba(218, 112, 214, 0.5);
}
.v926-btn-secondary:hover { transform: translateY(-0.1rem); }

.v926-menu-btn {
  background: transparent; border: 0.1rem solid var(--v926-accent);
  color: var(--v926-text-white); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.6rem;
}

/* Mobile slide menu */
.v926-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 82%; max-width: 320px;
  height: 100vh; background: linear-gradient(180deg, var(--v926-bg-deep), var(--v926-bg-dark));
  z-index: 9999; padding: 6rem 1.8rem 2rem;
  transition: right 0.3s ease; overflow-y: auto;
  box-shadow: -0.4rem 0 1.6rem var(--v926-shadow);
}
.v926-mobile-menu.v926-open { right: 0; }
.v926-mobile-menu h3 {
  color: var(--v926-accent); font-size: 1.3rem; margin: 1.4rem 0 0.6rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.v926-mobile-menu a {
  display: block; padding: 0.9rem 0; color: var(--v926-text-light);
  border-bottom: 0.1rem solid rgba(218, 112, 214, 0.15);
  font-size: 1.25rem; transition: var(--v926-transition);
}
.v926-mobile-menu a:hover { color: var(--v926-accent); padding-left: 0.6rem; }
.v926-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--v926-bg-red); color: var(--v926-text-white);
  border: none; width: 3.6rem; height: 3.6rem;
  border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.v926-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}
.v926-overlay.v926-open { opacity: 1; visibility: visible; }

/* Main content */
.v926-main { padding-top: 6rem; padding-bottom: 8rem; }

/* Carousel */
.v926-carousel {
  position: relative; margin: 1.5rem 0; border-radius: var(--v926-radius);
  overflow: hidden; box-shadow: 0 0.6rem 1.6rem var(--v926-shadow);
}
.v926-slide {
  display: none; position: relative; width: 100%; padding-top: 50%;
  overflow: hidden; cursor: pointer;
}
.v926-slide.v926-active { display: block; }
.v926-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v926-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(75, 0, 130, 0.92) 0%, transparent 100%);
  padding: 2.4rem 1.2rem 1.2rem;
}
.v926-slide-title { color: var(--v926-text-white); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.3rem; }
.v926-slide-cta { color: var(--v926-accent); font-weight: 700; font-size: 1.25rem; }
.v926-dots {
  position: absolute; bottom: 1rem; right: 1rem;
  display: flex; gap: 0.5rem; z-index: 2;
}
.v926-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); cursor: pointer;
  transition: var(--v926-transition); border: none;
}
.v926-dot.v926-active { background: var(--v926-accent); width: 2.4rem; border-radius: 0.4rem; }

/* Headings */
.v926-h1 {
  font-size: 2rem; font-weight: 800; text-align: center;
  color: var(--v926-text-white); margin: 1rem 0; padding: 0 1rem; line-height: 1.4;
}
.v926-section { margin: 2.5rem 0; padding: 0 1.2rem; }
.v926-section-title {
  font-size: 1.65rem; font-weight: 700; color: var(--v926-text-white);
  margin-bottom: 1rem; padding-left: 1rem;
  border-left: 0.4rem solid var(--v926-accent);
  display: flex; align-items: center; gap: 0.6rem;
}
.v926-section-title i, .v926-section-title .material-icons { color: var(--v926-accent); font-size: 1.8rem; }

/* Game grid */
.v926-game-section { margin: 2rem 0; }
.v926-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem; padding: 0 1.2rem;
}
.v926-game-card {
  background: rgba(255, 255, 255, 0.05); border-radius: var(--v926-radius-sm);
  overflow: hidden; cursor: pointer; transition: var(--v926-transition);
  border: 0.1rem solid rgba(218, 112, 214, 0.2);
}
.v926-game-card:hover {
  transform: translateY(-0.3rem); border-color: var(--v926-accent);
  box-shadow: 0 0.6rem 1.2rem rgba(218, 112, 214, 0.3);
}
.v926-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.v926-game-name {
  padding: 0.4rem 0.3rem; font-size: 1.05rem; text-align: center;
  color: var(--v926-text-light); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Info card */
.v926-info-card {
  background: rgba(255, 255, 255, 0.04); border-radius: var(--v926-radius);
  padding: 1.5rem; margin: 1rem 1.2rem;
  border: 0.1rem solid rgba(218, 112, 214, 0.2);
}
.v926-info-card h2 { color: var(--v926-text-white); font-size: 1.6rem; margin-bottom: 0.8rem; }
.v926-info-card h3 { color: var(--v926-accent); font-size: 1.35rem; margin: 1rem 0 0.5rem; }
.v926-info-card p { color: var(--v926-text-light); margin-bottom: 0.8rem; line-height: 1.6; font-size: 1.3rem; }
.v926-info-card ul { padding-left: 1.6rem; color: var(--v926-text-light); }
.v926-info-card li { margin-bottom: 0.4rem; line-height: 1.6; font-size: 1.3rem; }

/* CTA Banner */
.v926-cta-banner {
  background: linear-gradient(135deg, var(--v926-bg-red), var(--v926-bg-mid));
  padding: 1.5rem; border-radius: var(--v926-radius);
  text-align: center; margin: 1.5rem 1.2rem;
  box-shadow: 0 0.6rem 1.6rem rgba(139, 0, 0, 0.4);
}
.v926-cta-banner h3 { color: var(--v926-text-white); font-size: 1.6rem; margin-bottom: 0.5rem; }
.v926-cta-banner p { color: var(--v926-text-light); margin-bottom: 1rem; }

/* RTP stats */
.v926-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem; padding: 0 1.2rem;
}
.v926-stat-card {
  background: rgba(75, 0, 130, 0.4); padding: 1rem;
  border-radius: var(--v926-radius-sm); text-align: center;
  border: 0.1rem solid rgba(218, 112, 214, 0.25);
}
.v926-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--v926-accent); }
.v926-stat-label { font-size: 1.1rem; color: var(--v926-text-light); margin-top: 0.3rem; }

/* Testimonials */
.v926-testimonial {
  background: rgba(255, 255, 255, 0.04); border-left: 0.3rem solid var(--v926-accent);
  padding: 1rem; margin: 0.7rem 1.2rem; border-radius: 0 0.6rem 0.6rem 0;
}
.v926-testimonial p { font-style: italic; color: var(--v926-text-light); margin-bottom: 0.5rem; }
.v926-testimonial-author { color: var(--v926-accent); font-weight: 700; font-size: 1.2rem; }

/* Payment grid */
.v926-payment-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem; padding: 0 1.2rem;
}
.v926-payment-item {
  background: rgba(255, 255, 255, 0.06); padding: 0.8rem 0.3rem;
  border-radius: 0.6rem; text-align: center; font-size: 1rem;
  color: var(--v926-text-light); border: 0.1rem solid rgba(218, 112, 214, 0.2);
}
.v926-payment-item i, .v926-payment-item .material-icons { font-size: 1.6rem; color: var(--v926-accent); }

/* Winners */
.v926-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 1rem; background: rgba(255, 255, 255, 0.04);
  border-radius: 0.6rem; margin: 0.4rem 1.2rem; font-size: 1.2rem;
}
.v926-winner-name { color: var(--v926-accent); font-weight: 600; }
.v926-winner-game { color: var(--v926-text-light); font-size: 1.05rem; }
.v926-winner-amount { color: var(--v926-gold); font-weight: 700; }

/* Promo text link */
.v926-promo-link {
  color: var(--v926-accent); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.v926-promo-link:hover { color: var(--v926-gold); }

/* Feature list */
.v926-feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.7rem; padding: 0 1.2rem;
}
.v926-feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  background: rgba(75, 0, 130, 0.3); padding: 0.9rem;
  border-radius: var(--v926-radius-sm); border: 0.1rem solid rgba(218, 112, 214, 0.2);
}
.v926-feature-item i, .v926-feature-item .material-icons {
  font-size: 2rem; color: var(--v926-accent); flex-shrink: 0;
}
.v926-feature-item div h4 { color: var(--v926-text-white); font-size: 1.25rem; margin-bottom: 0.2rem; }
.v926-feature-item div p { color: var(--v926-text-light); font-size: 1.15rem; line-height: 1.4; }

/* Footer */
.v926-footer {
  background: linear-gradient(180deg, var(--v926-bg-dark), #1a1a2e);
  padding: 2rem 1.2rem 8rem; margin-top: 3rem;
  border-top: 0.2rem solid var(--v926-accent);
}
.v926-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.v926-footer-brand h4 { color: var(--v926-accent); font-size: 1.5rem; margin-bottom: 0.5rem; }
.v926-footer-brand p { color: var(--v926-text-light); font-size: 1.2rem; line-height: 1.5; }
.v926-footer-promos {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem; margin: 1.5rem 0;
}
.v926-footer-promos .v926-btn { font-size: 1.15rem; padding: 0.7rem 0.5rem; min-height: 3.4rem; }
.v926-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem; margin: 1rem 0;
}
.v926-footer-links a {
  color: var(--v926-text-light); font-size: 1.15rem; padding: 0.5rem 0;
  transition: var(--v926-transition);
}
.v926-footer-links a:hover { color: var(--v926-accent); }
.v926-footer-copy {
  text-align: center; color: rgba(229, 229, 229, 0.6);
  font-size: 1.1rem; margin-top: 1.5rem; padding-top: 1rem;
  border-top: 0.1rem solid rgba(218, 112, 214, 0.2);
}

/* Bottom nav */
.v926-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 6rem;
  background: linear-gradient(180deg, var(--v926-bg-deep), var(--v926-bg-dark));
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -0.4rem 1.2rem var(--v926-shadow);
  border-top: 0.2rem solid var(--v926-accent);
}
.v926-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--v926-text-light);
  min-width: 60px; min-height: 60px; padding: 0.4rem; cursor: pointer;
  transition: var(--v926-transition); text-decoration: none;
  flex: 1; position: relative; font-family: inherit;
}
.v926-bottom-nav-btn i, .v926-bottom-nav-btn .material-icons, .v926-bottom-nav-btn ion-icon {
  font-size: 2.2rem; margin-bottom: 0.2rem; transition: var(--v926-transition);
}
.v926-bottom-nav-btn span { font-size: 1rem; font-weight: 600; }
.v926-bottom-nav-btn:hover, .v926-bottom-nav-btn.v926-active { color: var(--v926-accent); }
.v926-bottom-nav-btn:hover i, .v926-bottom-nav-btn.v926-active i { transform: translateY(-0.2rem) scale(1.1); }
.v926-bottom-nav-btn.v926-active::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 3rem; height: 0.3rem;
  background: var(--v926-accent); border-radius: 0 0 0.3rem 0.3rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v926-bottom-nav { display: none; }
  .v926-footer { padding-bottom: 2rem; }
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  .v926-main { padding-bottom: 8rem; }
}
