/* Nustar Casino - Core Stylesheet */
/* Color palette: #FF8000 (orange) | #228B22 (green) | #1B263B (dark navy) */
/* All classes use pg93- prefix for namespace isolation */

:root {
  --pg93-primary: #FF8000;
  --pg93-secondary: #228B22;
  --pg93-bg: #1B263B;
  --pg93-bg-dark: #141c2e;
  --pg93-bg-card: #233149;
  --pg93-text: #f5f7fa;
  --pg93-text-muted: #b4c0d6;
  --pg93-accent: #ffd24a;
  --pg93-border: rgba(255, 255, 255, 0.08);
  --pg93-radius: 12px;
  --pg93-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--pg93-bg);
  color: var(--pg93-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--pg93-primary);
  text-decoration: none;
}

/* Header */
.pg93-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--pg93-bg-dark), var(--pg93-bg));
  border-bottom: 1px solid var(--pg93-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pg93-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg93-text);
}

.pg93-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pg93-logo span {
  background: linear-gradient(90deg, var(--pg93-primary), var(--pg93-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pg93-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pg93-menu-btn {
  background: transparent;
  border: none;
  color: var(--pg93-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem;
}

.pg93-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.pg93-btn-register {
  background: linear-gradient(135deg, var(--pg93-primary), #ff9d33);
  color: #fff;
}

.pg93-btn-login {
  background: var(--pg93-secondary);
  color: #fff;
}

.pg93-btn-promo {
  background: linear-gradient(135deg, var(--pg93-primary), var(--pg93-secondary));
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile menu */
.pg93-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg93-bg-dark);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.pg93-mobile-menu.open {
  right: 0;
}

.pg93-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.pg93-menu-overlay.open {
  display: block;
}

.pg93-menu-close {
  background: transparent;
  border: none;
  color: var(--pg93-text);
  font-size: 2rem;
  float: right;
  cursor: pointer;
}

.pg93-menu-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pg93-primary);
  margin: 1.5rem 0 1rem;
}

.pg93-menu-list {
  list-style: none;
}

.pg93-menu-list li a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--pg93-text);
  font-size: 1.3rem;
  border-bottom: 1px solid var(--pg93-border);
}

.pg93-menu-list li a:hover {
  color: var(--pg93-primary);
}

/* Layout */
.pg93-main {
  padding-top: 5.5rem;
  padding-bottom: 1rem;
}

.pg93-container {
  padding: 1rem;
  width: 100%;
}

.pg93-section {
  margin-bottom: 2rem;
}

.pg93-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg93-text);
  margin-bottom: 1rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--pg93-primary);
}

/* Hero carousel */
.pg93-hero {
  position: relative;
  border-radius: var(--pg93-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--pg93-shadow);
}

.pg93-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.pg93-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.pg93-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.pg93-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg93-carousel-slide .pg93-slide-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 1.5rem 1rem 1rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

.pg93-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.pg93-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.pg93-carousel-dot.active {
  background: var(--pg93-primary);
}

/* H1 */
.pg93-h1 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--pg93-primary), var(--pg93-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Game grid */
.pg93-cat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
}

.pg93-cat-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg93-text);
}

.pg93-cat-icon {
  color: var(--pg93-primary);
  font-size: 1.8rem;
}

.pg93-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.pg93-game-card {
  background: var(--pg93-bg-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  border: 1px solid var(--pg93-border);
}

.pg93-game-card:active {
  transform: scale(0.95);
}

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

.pg93-game-card .pg93-game-name {
  font-size: 1rem;
  color: var(--pg93-text-muted);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards & content */
.pg93-card {
  background: var(--pg93-bg-card);
  border-radius: var(--pg93-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pg93-border);
}

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

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

.pg93-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.pg93-feature-list li {
  background: var(--pg93-bg-dark);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  text-align: center;
  color: var(--pg93-text);
}

.pg93-feature-list li i {
  display: block;
  font-size: 1.8rem;
  color: var(--pg93-primary);
  margin-bottom: 0.4rem;
}

/* Testimonials */
.pg93-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.pg93-testimonial {
  background: var(--pg93-bg-dark);
  border-radius: 10px;
  padding: 1rem;
  border-left: 3px solid var(--pg93-secondary);
}

.pg93-testimonial p {
  font-size: 1.2rem;
  color: var(--pg93-text);
  margin-bottom: 0.5rem;
}

.pg93-testimonial .pg93-author {
  font-size: 1.1rem;
  color: var(--pg93-primary);
  font-weight: 600;
}

/* Winners */
.pg93-winner-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.pg93-winner-list li {
  display: flex;
  justify-content: space-between;
  background: var(--pg93-bg-dark);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
}

.pg93-winner-list .pg93-amount {
  color: var(--pg93-accent);
  font-weight: 700;
}

/* Payment */
.pg93-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.pg93-payment-grid div {
  background: var(--pg93-bg-dark);
  border-radius: 8px;
  padding: 0.8rem 0.3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--pg93-text-muted);
}

.pg93-payment-grid div i {
  display: block;
  font-size: 1.6rem;
  color: var(--pg93-primary);
  margin-bottom: 0.3rem;
}

/* RTP table */
.pg93-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.pg93-rtp-table th,
.pg93-rtp-table td {
  padding: 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--pg93-border);
}

.pg93-rtp-table th {
  color: var(--pg93-primary);
  font-size: 1.1rem;
}

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

.pg93-rtp-table td.pg93-rtp-high {
  color: var(--pg93-secondary);
  font-weight: 700;
}

/* Play now CTA */
.pg93-play-cta {
  background: linear-gradient(135deg, var(--pg93-primary), #ff9d33);
  border-radius: var(--pg93-radius);
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  margin: 1.5rem 0;
}

.pg93-play-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pg93-play-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* App download */
.pg93-app-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pg93-app-cta button {
  flex: 1;
  min-width: 140px;
}

/* Footer */
.pg93-footer {
  background: var(--pg93-bg-dark);
  padding: 2rem 1rem 5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--pg93-border);
}

.pg93-footer-brand {
  font-size: 1.3rem;
  color: var(--pg93-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pg93-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.pg93-footer-links a {
  font-size: 1.1rem;
  color: var(--pg93-text-muted);
}

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

.pg93-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pg93-footer-promo button {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

.pg93-copyright {
  font-size: 1.1rem;
  color: var(--pg93-text-muted);
  text-align: center;
  border-top: 1px solid var(--pg93-border);
  padding-top: 1rem;
}

/* Mobile bottom nav */
.pg93-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--pg93-bg-dark);
  border-top: 1px solid var(--pg93-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

.pg93-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg93-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  gap: 2px;
  position: relative;
}

.pg93-nav-btn i,
.pg93-nav-btn .bi,
.pg93-nav-btn .ion,
.pg93-nav-btn .material-icons-outlined,
.pg93-nav-btn .material-icons-two-tone,
.pg93-nav-btn ion-icon {
  font-size: 22px;
}

.pg93-nav-btn:hover,
.pg93-nav-btn.active {
  color: var(--pg93-primary);
}

.pg93-nav-btn:active {
  transform: scale(0.92);
}

.pg93-nav-btn .pg93-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  background: var(--pg93-primary);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop: hide bottom nav, show desktop nav */
@media (min-width: 769px) {
  .pg93-bottom-nav {
    display: none;
  }
}

/* Mobile: bottom padding clearance */
@media (max-width: 768px) {
  .pg93-main,
  .pg93-footer {
    padding-bottom: 80px;
  }
}

/* Utility */
.pg93-text-link {
  color: var(--pg93-primary);
  font-weight: 600;
  cursor: pointer;
}

.pg93-inline-link {
  color: var(--pg93-secondary);
  font-weight: 600;
}

.pg93-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}

.pg93-achievements div {
  background: var(--pg93-bg-dark);
  border-radius: 8px;
  padding: 1rem 0.5rem;
}

.pg93-achievements div .pg93-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pg93-accent);
}

.pg93-achievements div .pg93-label {
  font-size: 1rem;
  color: var(--pg93-text-muted);
}

.pg93-tricks-list {
  list-style: none;
  counter-reset: trick;
}

.pg93-tricks-list li {
  counter-increment: trick;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  position: relative;
  font-size: 1.2rem;
  color: var(--pg93-text-muted);
  border-bottom: 1px solid var(--pg93-border);
}

.pg93-tricks-list li::before {
  content: counter(trick);
  position: absolute;
  left: 0.5rem;
  top: 0.8rem;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--pg93-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.pg93-faq-item {
  border-bottom: 1px solid var(--pg93-border);
  padding: 0.8rem 0;
}

.pg93-faq-item h4 {
  font-size: 1.2rem;
  color: var(--pg93-text);
  margin-bottom: 0.4rem;
}

.pg93-faq-item p {
  font-size: 1.1rem;
  color: var(--pg93-text-muted);
  line-height: 1.6;
}
