/* Perya Games - Core stylesheet (v1c5- prefix) */
/* Mobile-first design, max-width 430px, root font 62.5% (1rem = 10px) */

:root {
  --v1c5-bg: #1A1A1A;
  --v1c5-bg-alt: #0d0d10;
  --v1c5-primary: #0000CD;
  --v1c5-primary-light: #2424d8;
  --v1c5-accent: #FF4500;
  --v1c5-pink: #FF1493;
  --v1c5-coral: #F08080;
  --v1c5-silver: #C0C0C0;
  --v1c5-text: #FFFFFF;
  --v1c5-card-bg: #24242a;
  --v1c5-border: rgba(192,192,192,0.18);
  --v1c5-radius: 1.2rem;
  --v1c5-header-h: 6rem;
  --v1c5-bottomnav-h: 6.4rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v1c5-bg);
  color: var(--v1c5-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.v1c5-wrapper {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--v1c5-bg);
  position: relative;
  box-shadow: 0 0 4rem rgba(0,0,0,0.5);
}

/* ===== Header ===== */
.v1c5-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--v1c5-header-h);
  background: linear-gradient(90deg, #1A1A1A 0%, #0000CD 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 0.2rem solid var(--v1c5-accent);
}
.v1c5-header-left { display: flex; align-items: center; gap: 0.8rem; }
.v1c5-logo { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; object-fit: cover; }
.v1c5-site-name { font-size: 2rem; font-weight: 800; color: var(--v1c5-text); letter-spacing: 0.05rem; }
.v1c5-site-name span { color: var(--v1c5-accent); }
.v1c5-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.v1c5-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  min-height: 3.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}
.v1c5-btn:active { transform: scale(0.96); }
.v1c5-btn i { font-size: 1.4rem; }
.v1c5-btn-register { background: linear-gradient(90deg, var(--v1c5-accent), var(--v1c5-pink)); box-shadow: 0 0.3rem 0.8rem rgba(255,69,0,0.35); }
.v1c5-btn-login { background: linear-gradient(90deg, var(--v1c5-primary), var(--v1c5-primary-light)); box-shadow: 0 0.3rem 0.8rem rgba(0,0,205,0.35); }
.v1c5-btn-cta { background: linear-gradient(90deg, var(--v1c5-pink), var(--v1c5-accent)); padding: 1rem 1.8rem; font-size: 1.5rem; box-shadow: 0 0.4rem 1rem rgba(255,20,147,0.4); }

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

/* ===== Mobile Menu ===== */
.v1c5-mobile-menu {
  position: fixed;
  top: var(--v1c5-header-h);
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--v1c5-bg-alt);
  border-bottom: 0.2rem solid var(--v1c5-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.v1c5-mobile-menu-open { max-height: 60rem; }
.v1c5-mobile-menu ul { list-style: none; padding: 0.6rem 1rem; }
.v1c5-mobile-menu li { border-bottom: 0.1rem solid var(--v1c5-border); }
.v1c5-mobile-menu li:last-child { border-bottom: none; }
.v1c5-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.4rem;
  color: var(--v1c5-silver);
  font-size: 1.4rem;
  font-weight: 600;
}
.v1c5-mobile-menu a i { color: var(--v1c5-accent); width: 2rem; text-align: center; }

/* ===== Main ===== */
.v1c5-main {
  padding-top: calc(var(--v1c5-header-h) + 1rem);
  padding-bottom: calc(var(--v1c5-bottomnav-h) + 1rem);
}

/* ===== Hero Carousel ===== */
.v1c5-hero {
  margin: 1rem 1rem 1.5rem;
  border-radius: var(--v1c5-radius);
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.4);
}
.v1c5-slides { position: relative; width: 100%; padding-top: 42%; background: #000; }
.v1c5-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.v1c5-slide.v1c5-slide-active { opacity: 1; }
.v1c5-slide img { width: 100%; height: 100%; object-fit: cover; }
.v1c5-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}
.v1c5-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.v1c5-dot-active { background: var(--v1c5-accent); transform: scale(1.25); }

/* ===== Sections ===== */
.v1c5-section { padding: 1.2rem 1.4rem 1.4rem; margin-bottom: 0.4rem; }
.v1c5-section h1 { font-size: 2rem; line-height: 2.4rem; margin-bottom: 0.8rem; color: var(--v1c5-text); }
.v1c5-section h1 span { color: var(--v1c5-accent); }
.v1c5-section h2 {
  font-size: 1.8rem;
  line-height: 2.2rem;
  margin: 0.6rem 0 0.8rem;
  color: var(--v1c5-coral);
  border-left: 0.3rem solid var(--v1c5-accent);
  padding-left: 0.8rem;
}
.v1c5-section h3 { font-size: 1.5rem; margin: 0.4rem 0 0.3rem; color: var(--v1c5-text); }
.v1c5-section p { margin-bottom: 0.8rem; color: var(--v1c5-silver); font-size: 1.4rem; line-height: 1.5rem; }
.v1c5-section strong { color: var(--v1c5-text); }
.v1c5-intro { font-size: 1.4rem; color: var(--v1c5-silver); }
.v1c5-text-link { color: var(--v1c5-accent); font-weight: 700; text-decoration: underline; }

/* ===== Games ===== */
.v1c5-games { padding: 0.5rem 1rem 1rem; }
.v1c5-game-section { margin-bottom: 1.6rem; }
.v1c5-game-section-title {
  font-size: 1.7rem;
  color: var(--v1c5-text);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, rgba(0,0,205,0.6), transparent);
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  border-left: 0.3rem solid var(--v1c5-pink);
}
.v1c5-game-section-title i { color: var(--v1c5-accent); font-size: 1.6rem; }

.v1c5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.v1c5-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--v1c5-card-bg);
  border: 0.1rem solid var(--v1c5-border);
  border-radius: 0.8rem;
  padding: 0.5rem;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}
.v1c5-card:active { transform: scale(0.95); border-color: var(--v1c5-accent); }
.v1c5-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 0.6rem; }
.v1c5-card-name {
  font-size: 1.15rem;
  color: var(--v1c5-silver);
  margin-top: 0.4rem;
  font-weight: 600;
  line-height: 1.3rem;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Info Grid ===== */
.v1c5-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.v1c5-info-card {
  background: var(--v1c5-card-bg);
  border: 0.1rem solid var(--v1c5-border);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
}
.v1c5-info-card i,
.v1c5-info-card .material-icons,
.v1c5-info-card .material-icons-outlined,
.v1c5-info-card .bi { font-size: 2.4rem; color: var(--v1c5-accent); margin-bottom: 0.4rem; }
.v1c5-info-card h3 { color: var(--v1c5-coral); }
.v1c5-info-card p { font-size: 1.3rem; margin-top: 0.3rem; }

/* ===== RTP Table ===== */
.v1c5-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
  background: var(--v1c5-card-bg);
  border-radius: 0.6rem;
  overflow: hidden;
}
.v1c5-rtp-table th, .v1c5-rtp-table td { padding: 0.7rem 0.6rem; text-align: center; border-bottom: 0.1rem solid var(--v1c5-border); }
.v1c5-rtp-table th { background: var(--v1c5-primary); color: #fff; font-weight: 700; }
.v1c5-rtp-table td { color: var(--v1c5-silver); }
.v1c5-rtp-high { color: var(--v1c5-accent); font-weight: 800; }

/* ===== Winners ===== */
.v1c5-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.v1c5-winner {
  background: linear-gradient(135deg, rgba(0,0,205,0.4), rgba(255,20,147,0.2));
  border: 0.1rem solid var(--v1c5-border);
  border-radius: 0.8rem;
  padding: 0.8rem;
  text-align: center;
}
.v1c5-winner-name { font-size: 1.3rem; font-weight: 700; color: var(--v1c5-text); }
.v1c5-winner-amount { font-size: 1.6rem; font-weight: 800; color: var(--v1c5-accent); margin: 0.2rem 0; }
.v1c5-winner-game { font-size: 1.2rem; color: var(--v1c5-coral); }

/* ===== Testimonials ===== */
.v1c5-testimonials { display: flex; flex-direction: column; gap: 0.8rem; }
.v1c5-testimonial { background: var(--v1c5-card-bg); border-left: 0.3rem solid var(--v1c5-pink); border-radius: 0.6rem; padding: 0.9rem 1rem; }
.v1c5-testimonial p { color: var(--v1c5-silver); font-style: italic; margin-bottom: 0.4rem; }
.v1c5-author { font-size: 1.3rem; color: var(--v1c5-coral); font-weight: 600; }

/* ===== Payments ===== */
.v1c5-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v1c5-payment {
  flex: 1 1 calc(33% - 0.6rem);
  min-width: 9rem;
  background: var(--v1c5-card-bg);
  border: 0.1rem solid var(--v1c5-border);
  border-radius: 0.6rem;
  padding: 0.8rem;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--v1c5-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.v1c5-payment i, .v1c5-payment .material-icons, .v1c5-payment .bi { color: var(--v1c5-accent); font-size: 1.6rem; }

/* ===== App CTA ===== */
.v1c5-app-cta {
  background: linear-gradient(135deg, var(--v1c5-primary), var(--v1c5-pink));
  border-radius: var(--v1c5-radius);
  padding: 1.2rem 1.4rem;
  text-align: center;
}
.v1c5-app-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.5rem; }
.v1c5-app-cta h3 i { color: var(--v1c5-accent); }
.v1c5-app-cta p { color: #fff; margin-bottom: 0.8rem; }
.v1c5-app-cta .v1c5-btn { background: #fff; color: var(--v1c5-primary); }

/* ===== FAQ ===== */
.v1c5-faq-item {
  background: var(--v1c5-card-bg);
  border: 0.1rem solid var(--v1c5-border);
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}
.v1c5-faq-item h3 { color: var(--v1c5-coral); font-size: 1.4rem; margin-bottom: 0.3rem; }
.v1c5-faq-item p { font-size: 1.3rem; margin: 0; }

/* ===== Footer ===== */
.v1c5-footer { background: var(--v1c5-bg-alt); padding: 1.4rem 1.2rem 1rem; border-top: 0.2rem solid var(--v1c5-primary); }
.v1c5-footer-brand { font-size: 1.3rem; color: var(--v1c5-silver); margin-bottom: 0.8rem; line-height: 1.6rem; }
.v1c5-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 0.8rem; }
.v1c5-footer-links a { font-size: 1.2rem; color: var(--v1c5-coral); font-weight: 600; }
.v1c5-footer-copy { font-size: 1.2rem; color: var(--v1c5-silver); text-align: center; border-top: 0.1rem solid var(--v1c5-border); padding-top: 0.7rem; }

/* ===== Mobile Bottom Navigation ===== */
.v1c5-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--v1c5-bottomnav-h);
  background: linear-gradient(180deg, #1A1A1A, #0d0d10);
  border-top: 0.2rem solid var(--v1c5-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.5);
}
.v1c5-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v1c5-silver);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.2s, transform 0.15s;
}
.v1c5-bottomnav-btn i,
.v1c5-bottomnav-btn .material-icons,
.v1c5-bottomnav-btn .material-icons-outlined,
.v1c5-bottomnav-btn .bi { font-size: 2.2rem; }
.v1c5-bottomnav-btn:active { transform: scale(0.92); }
.v1c5-bottomnav-active { color: var(--v1c5-accent); }
.v1c5-bottomnav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  background: var(--v1c5-accent);
  border-radius: 0 0 0.3rem 0.3rem;
}
.v1c5-bottomnav-badge {
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  background: var(--v1c5-pink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

/* ===== Desktop / Responsive ===== */
@media (min-width: 769px) {
  .v1c5-bottomnav { display: none; }
  .v1c5-main { padding-bottom: 2rem; }
  .v1c5-menu-btn { display: none; }
}
@media (max-width: 768px) {
  .v1c5-main { padding-bottom: 8rem; }
}
@media (max-width: 360px) {
  .v1c5-grid { grid-template-columns: repeat(2, 1fr); }
  .v1c5-info-grid { grid-template-columns: 1fr; }
}
