/*
 * panalo.cyou - layout-bc54.css
 * Mobile-first layout for the panalo gaming website.
 * All custom classes use the sbc5- prefix.
 * Color palette: #141414 / #FF69B4 / #880E4F / #0000CD / #FFB6C1
 */

:root {
  --sbc5-bg: #141414;
  --sbc5-bg-soft: #1f1220;
  --sbc5-bg-card: #25162a;
  --sbc5-primary: #FF69B4;
  --sbc5-primary-deep: #880E4F;
  --sbc5-blue: #0000CD;
  --sbc5-pink-soft: #FFB6C1;
  --sbc5-text: #FFFFFF;
  --sbc5-text-muted: #f3c7d6;
  --sbc5-border: rgba(255, 105, 180, 0.25);
  --sbc5-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --sbc5-radius: 14px;
  --sbc5-header-h: 60px;
  --sbc5-bottom-h: 62px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #2a0f24 0%, var(--sbc5-bg) 70%);
  color: var(--sbc5-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--sbc5-header-h);
}

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

a {
  color: var(--sbc5-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sbc5-pink-soft);
}

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

.sbc5-wrapper {
  padding: 1.6rem 0;
}

/* ===== Header ===== */
.sbc5-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sbc5-header-h);
  background: linear-gradient(90deg, var(--sbc5-primary-deep), #4a0030 60%, var(--sbc5-bg) 100%);
  border-bottom: 2px solid var(--sbc5-primary);
  z-index: 1000;
  box-shadow: var(--sbc5-shadow);
}

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

.sbc5-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sbc5-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.sbc5-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sbc5-text);
  letter-spacing: 0.5px;
}

.sbc5-brand-name span {
  color: var(--sbc5-pink-soft);
}

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

.sbc5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 1.3rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: #fff;
  min-height: 38px;
}

.sbc5-btn:hover {
  transform: translateY(-1px);
}

.sbc5-btn-login {
  background: transparent;
  border: 1.5px solid var(--sbc5-pink-soft);
  color: var(--sbc5-pink-soft);
}

.sbc5-btn-register {
  background: linear-gradient(90deg, var(--sbc5-primary), var(--sbc5-primary-deep));
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.5);
}

.sbc5-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile slide-down menu ===== */
.sbc5-mobile-menu {
  position: fixed;
  top: var(--sbc5-header-h);
  left: 0;
  right: 0;
  background: var(--sbc5-bg-soft);
  border-bottom: 2px solid var(--sbc5-primary);
  transform: translateY(-130%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 1rem 1.2rem;
}

.sbc5-mobile-menu.sbc5-menu-open {
  transform: translateY(0);
}

.sbc5-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--sbc5-text);
  border-bottom: 1px dashed var(--sbc5-border);
  font-size: 1.35rem;
}

.sbc5-mobile-menu a:last-child {
  border-bottom: none;
}

/* ===== Hero carousel ===== */
.sbc5-hero {
  margin: 1.4rem 0;
  border-radius: var(--sbc5-radius);
  overflow: hidden;
  box-shadow: var(--sbc5-shadow);
  position: relative;
}

.sbc5-slides {
  position: relative;
  width: 100%;
  height: 200px;
}

.sbc5-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.sbc5-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sbc5-slide-active {
  opacity: 1;
}

.sbc5-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(20, 20, 20, 0.6);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 1.15rem;
  font-weight: 600;
}

.sbc5-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}

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

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

/* ===== Section ===== */
.sbc5-section {
  margin: 2.4rem 0;
}

.sbc5-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.sbc5-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sbc5-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.sbc5-section-title i {
  color: var(--sbc5-primary);
}

.sbc5-section-title small {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--sbc5-text-muted);
}

.sbc5-more {
  font-size: 1.2rem;
  color: var(--sbc5-pink-soft);
  font-weight: 600;
}

/* ===== Game grid ===== */
.sbc5-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.sbc5-card {
  background: var(--sbc5-bg-card);
  border: 1px solid var(--sbc5-border);
  border-radius: var(--sbc5-radius);
  padding: 0.7rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.sbc5-card:hover {
  transform: translateY(-3px);
  border-color: var(--sbc5-primary);
}

.sbc5-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.sbc5-card-name {
  font-size: 1.15rem;
  color: var(--sbc5-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbc5-card-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--sbc5-pink-soft);
  background: rgba(255, 105, 180, 0.15);
  border-radius: 6px;
  padding: 0.1rem 0.5rem;
  margin-top: 0.3rem;
}

/* ===== Featured banner ===== */
.sbc5-feature {
  background: linear-gradient(135deg, var(--sbc5-primary-deep), var(--sbc5-blue));
  border-radius: var(--sbc5-radius);
  padding: 1.4rem;
  color: #fff;
  margin: 1.8rem 0;
  box-shadow: var(--sbc5-shadow);
}

.sbc5-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.sbc5-feature p {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--sbc5-pink-soft);
}

.sbc5-feature .sbc5-btn-register {
  background: #fff;
  color: var(--sbc5-primary-deep);
}

/* ===== SEO text block ===== */
.sbc5-prose {
  background: var(--sbc5-bg-card);
  border-radius: var(--sbc5-radius);
  padding: 1.5rem;
  border: 1px solid var(--sbc5-border);
}

.sbc5-prose h2 {
  font-size: 1.7rem;
  margin: 0 0 0.8rem;
  color: var(--sbc5-primary);
}

.sbc5-prose h3 {
  font-size: 1.4rem;
  margin: 1.2rem 0 0.5rem;
  color: var(--sbc5-pink-soft);
}

.sbc5-prose p {
  font-size: 1.28rem;
  color: var(--sbc5-text-muted);
  margin: 0 0 0.8rem;
}

.sbc5-prose strong {
  color: var(--sbc5-primary);
}

.sbc5-prose ul {
  padding-left: 1.4rem;
  color: var(--sbc5-text-muted);
  font-size: 1.25rem;
}

.sbc5-prose li {
  margin-bottom: 0.4rem;
}

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

.sbc5-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--sbc5-text);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 1.2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sbc5-faq-q::after {
  content: "+";
  color: var(--sbc5-primary);
  font-size: 1.6rem;
}

.sbc5-faq-open .sbc5-faq-q::after {
  content: "-";
}

.sbc5-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  color: var(--sbc5-text-muted);
  font-size: 1.22rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.sbc5-faq-open .sbc5-faq-a {
  max-height: 320px;
  padding: 0 1.2rem 1rem;
}

/* ===== Testimonials ===== */
.sbc5-testi {
  background: var(--sbc5-bg-card);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--sbc5-primary);
}

.sbc5-testi-name {
  font-weight: 700;
  color: var(--sbc5-pink-soft);
  font-size: 1.25rem;
}

.sbc5-stars {
  color: #ffd54a;
  font-size: 1.2rem;
  margin: 0.2rem 0;
}

/* ===== Payment chips ===== */
.sbc5-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sbc5-chip {
  background: var(--sbc5-bg-card);
  border: 1px solid var(--sbc5-border);
  color: var(--sbc5-text);
  border-radius: 30px;
  padding: 0.5rem 1.1rem;
  font-size: 1.15rem;
}

/* ===== Winners ===== */
.sbc5-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--sbc5-bg-card);
  border-radius: 10px;
  margin-bottom: 0.6rem;
}

.sbc5-winner-name {
  font-weight: 700;
  color: var(--sbc5-text);
}

.sbc5-winner-amount {
  color: var(--sbc5-primary);
  font-weight: 800;
}

/* ===== Reveal animation ===== */
.sbc5-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sbc5-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Footer ===== */
.sbc5-footer {
  background: var(--sbc5-bg-soft);
  border-top: 2px solid var(--sbc5-primary);
  padding: 2rem 1.2rem calc(var(--sbc5-bottom-h) + 2rem);
  margin-top: 2rem;
}

.sbc5-footer h4 {
  color: var(--sbc5-pink-soft);
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
}

.sbc5-footer p {
  color: var(--sbc5-text-muted);
  font-size: 1.2rem;
}

.sbc5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.sbc5-footer-links a {
  color: var(--sbc5-text);
  background: var(--sbc5-bg-card);
  border: 1px solid var(--sbc5-border);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 1.15rem;
}

.sbc5-footer-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.sbc5-copyright {
  text-align: center;
  color: var(--sbc5-text-muted);
  font-size: 1.1rem;
  margin-top: 1.4rem;
}

/* ===== Bottom navigation ===== */
.sbc5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sbc5-bottom-h);
  background: linear-gradient(90deg, var(--sbc5-primary-deep), var(--sbc5-bg-soft));
  border-top: 2px solid var(--sbc5-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.sbc5-bottom-btn {
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
  position: relative;
}

.sbc5-bottom-btn i,
.sbc5-bottom-btn span.material-icons-outlined {
  font-size: 22px;
}

.sbc5-bottom-btn:hover {
  transform: scale(1.08);
  color: var(--sbc5-pink-soft);
}

.sbc5-bottom-btn.sbc5-active {
  color: var(--sbc5-primary);
}

.sbc5-bottom-btn.sbc5-active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  background: var(--sbc5-primary);
  border-radius: 0 0 4px 4px;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  body {
    background: radial-gradient(circle at top, #3a1430 0%, var(--sbc5-bg) 70%);
  }
  .sbc5-container {
    max-width: 768px;
  }
  .sbc5-header-inner {
    max-width: 768px;
  }
  .sbc5-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .sbc5-bottom-nav {
    display: none;
  }
  .sbc5-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

.sbc5-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
