/* phpwin.sbs - Core Stylesheet */
/* All classes prefixed with s1e6- */

:root {
  --s1e6-primary: #DEB887;
  --s1e6-bg: #1A1A1A;
  --s1e6-text: #F5F5F5;
  --s1e6-muted: #696969;
  --s1e6-white: #FFFFFF;
  --s1e6-border: #DCDCDC;
  --s1e6-dark: #1A1A1A;
  --s1e6-accent: #DEB887;
  --s1e6-card-bg: #2A2A2A;
  --s1e6-hover: #C9A86C;
  --s1e6-radius: 1.0rem;
  --s1e6-shadow: 0 0.2rem 1.0rem rgba(0,0,0,0.3);
}

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

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--s1e6-bg);
  color: var(--s1e6-text);
  max-width: 430px;
  margin: 0 auto;
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Header */
.s1e6-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--s1e6-dark), #2D2D2D);
  border-bottom: 0.2rem solid var(--s1e6-accent);
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.5);
}

.s1e6-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}

.s1e6-logo {
  width: 28px; height: 28px; border-radius: 0.5rem;
}

.s1e6-site-name {
  font-size: 1.6rem; font-weight: 700; color: var(--s1e6-accent);
  letter-spacing: 0.5px;
}

.s1e6-header-right {
  display: flex; align-items: center; gap: 0.6rem;
}

.s1e6-btn-register, .s1e6-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 2.0rem;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s ease;
}

.s1e6-btn-register {
  background: linear-gradient(135deg, var(--s1e6-accent), #C9A86C);
  color: var(--s1e6-dark);
}

.s1e6-btn-register:hover { background: linear-gradient(135deg, #C9A86C, #B8975B); transform: scale(1.05); }

.s1e6-btn-login {
  background: transparent; color: var(--s1e6-accent);
  border: 0.15rem solid var(--s1e6-accent);
}

.s1e6-btn-login:hover { background: rgba(222,184,135,0.15); transform: scale(1.05); }

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

/* Mobile Menu */
.s1e6-menu-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.s1e6-mobile-menu {
  position: fixed; top: 0; left: 0; width: 75%; max-width: 300px;
  height: 100%; background: linear-gradient(180deg, #2D2D2D, var(--s1e6-dark));
  z-index: 9999; transform: translateX(-100%);
  transition: transform 0.3s ease; padding-top: 5rem;
}

.s1e6-mobile-menu a {
  display: block; padding: 1.2rem 2.0rem; color: var(--s1e6-text);
  font-size: 1.4rem; border-bottom: 0.1rem solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.s1e6-mobile-menu a:hover { background: rgba(222,184,135,0.15); color: var(--s1e6-accent); }

/* Main Content */
.s1e6-main {
  padding-top: 6rem; min-height: 100vh;
}

@media (max-width: 768px) {
  .s1e6-main { padding-bottom: 8rem; }
}

/* Slider */
.s1e6-slider { position: relative; width: 100%; overflow: hidden; }

.s1e6-slide {
  display: none; opacity: 0; transition: opacity 0.5s ease;
  cursor: pointer;
}

.s1e6-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }

.s1e6-slider-dots {
  position: absolute; bottom: 1.0rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.8rem; z-index: 5;
}

.s1e6-slider-dot {
  width: 1.0rem; height: 1.0rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s;
}

.s1e6-dot-active { background: var(--s1e6-accent); transform: scale(1.3); }

/* Sections */
.s1e6-section { padding: 2.0rem 1.2rem; }

.s1e6-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s1e6-accent);
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 0.2rem solid rgba(222,184,135,0.3);
}

.s1e6-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.s1e6-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.0rem;
}

.s1e6-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}

.s1e6-game-item:hover { transform: translateY(-0.3rem); }

.s1e6-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 1.0rem; border: 0.15rem solid rgba(222,184,135,0.2);
  transition: border-color 0.2s;
}

.s1e6-game-item:hover img { border-color: var(--s1e6-accent); }

.s1e6-game-name {
  font-size: 1.1rem; color: var(--s1e6-text); margin-top: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Promo Button */
.s1e6-promo-btn {
  display: inline-block; padding: 1.0rem 2.4rem;
  background: linear-gradient(135deg, var(--s1e6-accent), #C9A86C);
  color: var(--s1e6-dark); font-weight: 700; font-size: 1.4rem;
  border-radius: 2.5rem; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}

.s1e6-promo-btn:hover {
  background: linear-gradient(135deg, #C9A86C, #B8975B);
  transform: scale(1.05); box-shadow: 0 0.3rem 1.5rem rgba(222,184,135,0.4);
}

.s1e6-promo-link {
  color: var(--s1e6-accent); font-weight: 600;
  text-decoration: underline; cursor: pointer;
}

.s1e6-promo-link:hover { color: var(--s1e6-hover); }

/* Cards */
.s1e6-card {
  background: var(--s1e6-card-bg); border-radius: var(--s1e6-radius);
  padding: 1.5rem; margin-bottom: 1.5rem;
  border: 0.1rem solid rgba(222,184,135,0.15);
}

.s1e6-card h3 { color: var(--s1e6-accent); margin-bottom: 1.0rem; font-size: 1.5rem; }

.s1e6-card p { color: var(--s1e6-text); line-height: 1.6; font-size: 1.3rem; }

/* Footer */
.s1e6-footer {
  background: linear-gradient(180deg, #2D2D2D, var(--s1e6-dark));
  padding: 2.5rem 1.2rem 3.0rem;
  border-top: 0.2rem solid var(--s1e6-accent);
}

.s1e6-footer-brand { text-align: center; margin-bottom: 2.0rem; }

.s1e6-footer-brand p {
  color: var(--s1e6-border); font-size: 1.2rem; line-height: 1.6;
  max-width: 320px; margin: 0 auto;
}

.s1e6-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem; margin-bottom: 1.5rem;
}

.s1e6-footer-links a {
  color: var(--s1e6-border); font-size: 1.1rem; padding: 0.3rem 0.6rem;
}

.s1e6-footer-links a:hover { color: var(--s1e6-accent); }

.s1e6-footer-promos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem; margin-bottom: 2.0rem;
}

.s1e6-footer-promos .s1e6-promo-btn {
  padding: 0.7rem 1.5rem; font-size: 1.1rem;
}

.s1e6-footer-partners {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.0rem; margin-bottom: 1.5rem;
}

.s1e6-footer-partners img {
  width: 36px; height: 36px; border-radius: 0.5rem;
  opacity: 0.7; transition: opacity 0.2s;
}

.s1e6-footer-partners img:hover { opacity: 1; }

.s1e6-copyright {
  text-align: center; color: var(--s1e6-muted); font-size: 1.1rem;
  border-top: 0.1rem solid rgba(255,255,255,0.1); padding-top: 1.5rem;
}

/* Bottom Nav */
.s1e6-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #2D2D2D, var(--s1e6-dark));
  border-top: 0.15rem solid rgba(222,184,135,0.3);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}

.s1e6-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--s1e6-border);
  min-width: 60px; min-height: 56px; cursor: pointer;
  transition: all 0.2s; gap: 0.2rem; border-radius: 0.8rem;
  padding: 0.4rem 0;
}

.s1e6-bottom-nav-btn:hover { color: var(--s1e6-accent); background: rgba(222,184,135,0.1); }

.s1e6-bottom-nav-btn span {
  font-size: 1.0rem; white-space: nowrap;
}

.s1e6-bottom-nav-btn i, .s1e6-bottom-nav-btn .material-icons {
  font-size: 2.2rem;
}

.s1e6-nav-active { color: var(--s1e6-accent) !important; }
.s1e6-nav-active::after {
  content: ''; display: block; width: 20px; height: 0.2rem;
  background: var(--s1e6-accent); border-radius: 0.1rem;
  margin-top: 0.1rem;
}

@media (min-width: 769px) {
  .s1e6-bottom-nav { display: none; }
  .s1e6-menu-btn { display: none; }
}

/* Content Helpers */
.s1e6-text-center { text-align: center; }
.s1e6-mt-1 { margin-top: 1.0rem; }
.s1e6-mt-2 { margin-top: 2.0rem; }
.s1e6-mb-1 { margin-bottom: 1.0rem; }
.s1e6-mb-2 { margin-bottom: 2.0rem; }

.s1e6-highlight {
  color: var(--s1e6-accent); font-weight: 600;
}

.s1e6-badge {
  display: inline-block; background: var(--s1e6-accent);
  color: var(--s1e6-dark); padding: 0.2rem 0.8rem;
  border-radius: 1.5rem; font-size: 1.0rem; font-weight: 700;
}

.s1e6-divider {
  border: none; border-top: 0.1rem solid rgba(222,184,135,0.2);
  margin: 2.0rem 0;
}

/* Winner Marquee */
.s1e6-winner-list { list-style: none; }

.s1e6-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 0.1rem solid rgba(255,255,255,0.06);
}

.s1e6-winner-name { font-size: 1.2rem; color: var(--s1e6-text); }
.s1e6-winner-amount { font-size: 1.2rem; color: var(--s1e6-accent); font-weight: 700; }
.s1e6-winner-game { font-size: 1.1rem; color: var(--s1e6-muted); }

/* Testimonial */
.s1e6-testimonial {
  background: var(--s1e6-card-bg); border-radius: var(--s1e6-radius);
  padding: 1.2rem; margin-bottom: 1.0rem;
  border-left: 0.3rem solid var(--s1e6-accent);
}

.s1e6-testimonial p { font-size: 1.2rem; font-style: italic; color: var(--s1e6-border); }
.s1e6-testimonial strong { color: var(--s1e6-accent); font-style: normal; }

/* Payment icons */
.s1e6-payment-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.0rem;
}

.s1e6-payment-item {
  background: var(--s1e6-card-bg); padding: 0.8rem 1.2rem;
  border-radius: 0.8rem; font-size: 1.2rem; color: var(--s1e6-border);
  border: 0.1rem solid rgba(222,184,135,0.15);
}

/* Feature grid */
.s1e6-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.0rem;
}

.s1e6-feature-item {
  background: var(--s1e6-card-bg); border-radius: var(--s1e6-radius);
  padding: 1.2rem; text-align: center;
  border: 0.1rem solid rgba(222,184,135,0.1);
}

.s1e6-feature-item i { font-size: 2.4rem; color: var(--s1e6-accent); margin-bottom: 0.6rem; }
.s1e6-feature-item h4 { font-size: 1.2rem; color: var(--s1e6-accent); margin-bottom: 0.3rem; }
.s1e6-feature-item p { font-size: 1.1rem; color: var(--s1e6-border); }

/* FAQ styles */
.s1e6-faq-item { margin-bottom: 1.0rem; }
.s1e6-faq-q { font-weight: 700; color: var(--s1e6-accent); font-size: 1.3rem; margin-bottom: 0.3rem; }
.s1e6-faq-a { color: var(--s1e6-border); font-size: 1.2rem; line-height: 1.6; padding-left: 1.0rem; }

/* Internal link style */
.s1e6-internal-link {
  color: var(--s1e6-accent); text-decoration: underline;
  font-weight: 500;
}

.s1e6-internal-link:hover { color: var(--s1e6-hover); }

/* Responsive adjustments */
@media (max-width: 320px) {
  .s1e6-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .s1e6-game-name { font-size: 1.0rem; }
}

/* Desktop enhancements */
@media (min-width: 769px) {
  .s1e6-desktop-nav { display: flex !important; gap: 1.5rem; align-items: center; }
  .s1e6-desktop-nav a { color: var(--s1e6-border); font-size: 1.3rem; padding: 0.5rem; }
  .s1e6-desktop-nav a:hover { color: var(--s1e6-accent); }
}

/* Breadcrumb */
.s1e6-breadcrumb {
  padding: 0.8rem 1.2rem; font-size: 1.1rem; color: var(--s1e6-muted);
}

.s1e6-breadcrumb a { color: var(--s1e6-accent); }
.s1e6-breadcrumb span { margin: 0 0.5rem; }
