/* ph casino online - Core Stylesheet */
/* All class names use s09c- prefix for namespace isolation */

:root {
  --s09c-light: #F0F0F0;
  --s09c-primary: #6495ED;
  --s09c-dark: #333333;
  --s09c-accent: #E0FFFF;
  --s09c-teal: #48D1CC;
  --s09c-bg: #1a1a2e;
  --s09c-surface: #16213e;
  --s09c-card: #0f3460;
  --s09c-text: #F0F0F0;
  --s09c-muted: #a0a0b0;
  --s09c-border: rgba(100,149,237,0.2);
  --s09c-gold: #FFD700;
  --s09c-radius: 8px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--s09c-bg);
  color: var(--s09c-text);
  max-width: 430px;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--s09c-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Header */
.s09c-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(135deg, var(--s09c-dark), #1a1a3e);
  border-bottom: 2px solid var(--s09c-primary);
  z-index: 1000; padding: 0 10px; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
}
.s09c-logo-area { display: flex; align-items: center; gap: 6px; }
.s09c-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.s09c-logo-area span { font-size: 1.3rem; font-weight: 700; color: var(--s09c-teal); white-space: nowrap; }
.s09c-header-right { display: flex; align-items: center; gap: 6px; }
.s09c-btn-reg {
  background: var(--s09c-teal); color: var(--s09c-dark); border: none;
  padding: 6px 12px; border-radius: 20px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.s09c-btn-reg:hover { transform: scale(1.05); background: var(--s09c-gold); }
.s09c-btn-login {
  background: transparent; color: var(--s09c-primary); border: 1.5px solid var(--s09c-primary);
  padding: 5px 10px; border-radius: 20px; font-size: 1.1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.s09c-btn-login:hover { background: var(--s09c-primary); color: #fff; }
.s09c-menu-btn {
  background: none; border: none; color: var(--s09c-light);
  font-size: 2rem; cursor: pointer; padding: 4px; line-height: 1;
}

/* Mobile Menu Overlay */
.s09c-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.s09c-mobile-menu {
  position: fixed; top: 0; left: 0; width: 75%; max-width: 300px; height: 100%;
  background: var(--s09c-surface); z-index: 9999;
  padding: 20px 16px; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.s09c-mobile-menu h3 {
  font-size: 1.6rem; color: var(--s09c-teal); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--s09c-border);
}
.s09c-mobile-menu a {
  display: block; padding: 10px 8px; color: var(--s09c-light);
  font-size: 1.3rem; border-bottom: 1px solid var(--s09c-border);
  transition: color 0.2s, padding-left 0.2s;
}
.s09c-mobile-menu a:hover { color: var(--s09c-teal); padding-left: 14px; }

/* Slider / Banner */
.s09c-slider { position: relative; width: 100%; overflow: hidden; margin-top: 54px; }
.s09c-slide { display: none; width: 100%; }
.s09c-slide img { width: 100%; height: 180px; object-fit: cover; }
.s09c-slide-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.s09c-slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s; border: none;
}
.s09c-dot-active { background: var(--s09c-teal); }

/* Main Content */
.s09c-main { padding: 10px 12px 80px; }

/* Section titles */
.s09c-section-title {
  font-size: 1.7rem; font-weight: 700; color: var(--s09c-teal);
  margin: 18px 0 10px; padding-left: 10px;
  border-left: 3px solid var(--s09c-primary);
}
.s09c-section-title span { color: var(--s09c-primary); }

/* Game Grid */
.s09c-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 8px 0;
}
.s09c-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.s09c-game-item:hover { transform: translateY(-3px); }
.s09c-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--s09c-radius);
  border: 2px solid var(--s09c-border); object-fit: cover;
  transition: border-color 0.2s;
}
.s09c-game-item:hover img { border-color: var(--s09c-teal); }
.s09c-game-item p {
  font-size: 1rem; color: var(--s09c-light); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Section */
.s09c-cat-section { margin-bottom: 14px; }
.s09c-cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; padding: 6px 0;
  border-bottom: 1px solid var(--s09c-border);
}
.s09c-cat-header h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--s09c-teal);
}
.s09c-cat-header a { font-size: 1.1rem; color: var(--s09c-primary); }

/* Content Cards */
.s09c-card {
  background: var(--s09c-surface); border-radius: var(--s09c-radius);
  padding: 14px; margin: 10px 0; border: 1px solid var(--s09c-border);
}
.s09c-card h3 {
  font-size: 1.4rem; color: var(--s09c-teal); margin-bottom: 8px;
}
.s09c-card p { font-size: 1.25rem; color: var(--s09c-light); line-height: 1.6; }

/* Promo buttons & links */
.s09c-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--s09c-teal), var(--s09c-primary));
  color: #fff; padding: 10px 22px; border-radius: 25px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.s09c-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(72,209,204,0.4);
}
.s09c-promo-link {
  color: var(--s09c-teal); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.s09c-promo-link:hover { color: var(--s09c-gold); }

/* Footer */
.s09c-footer {
  background: var(--s09c-surface); padding: 20px 12px 80px;
  border-top: 2px solid var(--s09c-primary); margin-top: 20px;
}
.s09c-footer-brand {
  font-size: 1.2rem; color: var(--s09c-muted); line-height: 1.6;
  margin-bottom: 14px;
}
.s09c-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; justify-content: center;
}
.s09c-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center;
  margin: 12px 0; padding: 10px 0; border-top: 1px solid var(--s09c-border);
}
.s09c-footer-links a { font-size: 1.1rem; color: var(--s09c-muted); }
.s09c-footer-links a:hover { color: var(--s09c-teal); }
.s09c-footer-copy {
  text-align: center; font-size: 1rem; color: var(--s09c-muted);
  padding-top: 10px; border-top: 1px solid var(--s09c-border);
}

/* Bottom Mobile Navigation */
.s09c-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 58px;
  background: linear-gradient(180deg, var(--s09c-dark), #0d0d1a);
  border-top: 2px solid var(--s09c-teal);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 4px;
}
.s09c-nav-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 60px; min-height: 50px; justify-content: center;
  cursor: pointer; transition: transform 0.2s;
  background: none; border: none; color: var(--s09c-muted);
}
.s09c-nav-item:hover, .s09c-nav-item.s09c-nav-active { color: var(--s09c-teal); transform: scale(1.1); }
.s09c-nav-item .material-icons { font-size: 22px; }
.s09c-nav-item span { font-size: 0.9rem; margin-top: 2px; }

/* FAQ / Accordion */
.s09c-faq-item { margin: 8px 0; }
.s09c-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--s09c-teal);
  margin-bottom: 4px;
}
.s09c-faq-a { font-size: 1.2rem; color: var(--s09c-light); line-height: 1.5; padding-left: 10px; }

/* Info list */
.s09c-info-list { padding-left: 16px; }
.s09c-info-list li {
  font-size: 1.2rem; color: var(--s09c-light); line-height: 1.5;
  margin-bottom: 4px; position: relative; padding-left: 12px;
}
.s09c-info-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--s09c-teal);
}

/* Testimonial */
.s09c-testimonial {
  background: var(--s09c-card); border-radius: var(--s09c-radius);
  padding: 12px; margin: 8px 0; border-left: 3px solid var(--s09c-teal);
}
.s09c-testimonial p { font-size: 1.2rem; font-style: italic; color: var(--s09c-light); }
.s09c-testimonial cite { font-size: 1rem; color: var(--s09c-muted); margin-top: 6px; display: block; }

/* Winner showcase */
.s09c-winner-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--s09c-border);
}
.s09c-winner-row img { width: 36px; height: 36px; border-radius: 50%; }
.s09c-winner-info { flex: 1; }
.s09c-winner-name { font-size: 1.1rem; color: var(--s09c-light); }
.s09c-winner-amount { font-size: 1.3rem; color: var(--s09c-gold); font-weight: 700; }

/* Payment methods */
.s09c-payment-grid {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.s09c-payment-item {
  background: var(--s09c-surface); border: 1px solid var(--s09c-border);
  border-radius: var(--s09c-radius); padding: 8px 14px;
  font-size: 1.1rem; color: var(--s09c-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .s09c-main { padding-bottom: 80px; }
  .s09c-footer { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .s09c-bottom-nav { display: none; }
  .s09c-footer { padding-bottom: 20px; }
}
