/**
 * phwin apk - Main Stylesheet
 * File: css/style-3502.css
 * Prefix: s350-
 */

/* === CSS Variables === */
:root {
  --s350-primary: #6495ED;
  --s350-secondary: #48D1CC;
  --s350-dark: #212F3D;
  --s350-deep: #191970;
  --s350-bg: #0d1520;
  --s350-surface: #162030;
  --s350-card: #1a2940;
  --s350-border: #2a3f5f;
  --s350-text: #e8edf5;
  --s350-muted: #8899b0;
  --s350-accent: #48D1CC;
  --s350-gold: #f0c040;
  --s350-danger: #e74c3c;
  --s350-success: #2ecc71;
  --s350-radius: 10px;
  --s350-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

/* === 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', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--s350-bg);
  color: var(--s350-text);
  line-height: 1.6rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--s350-secondary);
  text-decoration: none;
  transition: color 0.25s;
}
a:hover { color: var(--s350-primary); }

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

/* === Header === */
.s350-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s350-deep), var(--s350-dark));
  border-bottom: 2px solid var(--s350-primary);
  max-width: 430px;
  margin: 0 auto;
}

.s350-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 52px;
}

.s350-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.s350-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex-shrink: 0;
}

.s350-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s350-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s350-header-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.s350-btn-register,
.s350-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.s350-btn-register {
  background: linear-gradient(135deg, var(--s350-gold), #e6a800);
  color: #1a1a2e;
}

.s350-btn-login {
  background: transparent;
  color: var(--s350-primary);
  border: 1.5px solid var(--s350-primary);
}

.s350-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(240,192,64,0.5);
}

.s350-btn-login:hover {
  background: rgba(100,149,237,0.15);
}

.s350-menu-toggle {
  background: none;
  border: none;
  color: var(--s350-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 4px;
}

/* === Mobile Menu === */
.s350-mobile-menu {
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: var(--s350-surface);
  border-top: 1px solid var(--s350-border);
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.s350-mobile-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--s350-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.s350-mobile-menu a:hover {
  background: rgba(100,149,237,0.15);
  color: var(--s350-primary);
}

/* === Main Content === */
.s350-main {
  padding-top: 60px;
  padding-bottom: 20px;
}

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

.s350-container {
  padding: 0 12px;
}

/* === Carousel === */
.s350-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s350-radius);
  margin: 10px 12px;
}

.s350-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.s350-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.s350-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--s350-radius);
}

/* === Section Titles === */
.s350-section {
  padding: 16px 12px;
}

.s350-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s350-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--s350-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.s350-section-title i {
  color: var(--s350-accent);
}

/* === Game Grid === */
.s350-game-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s350-accent);
  margin: 14px 0 8px;
  padding-left: 4px;
  border-left: 3px solid var(--s350-primary);
  padding-left: 10px;
}

.s350-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.s350-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 8px;
  padding: 4px;
}

.s350-game-item:hover {
  transform: scale(1.05);
  background: rgba(100,149,237,0.1);
}

.s350-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
  border: 1.5px solid var(--s350-border);
}

.s350-game-name {
  font-size: 1.1rem;
  color: var(--s350-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Promo CTA === */
.s350-cta-box {
  background: linear-gradient(135deg, var(--s350-deep), var(--s350-card));
  border: 1.5px solid var(--s350-primary);
  border-radius: var(--s350-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 14px 12px;
}

.s350-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s350-gold);
  margin-bottom: 8px;
}

.s350-cta-text {
  font-size: 1.3rem;
  color: var(--s350-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.s350-cta-btn {
  display: inline-block;
  padding: 10px 32px;
  background: linear-gradient(135deg, var(--s350-gold), #e6a800);
  color: #1a1a2e;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.s350-cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(240,192,64,0.5);
}

/* === Info Cards === */
.s350-info-card {
  background: var(--s350-card);
  border: 1px solid var(--s350-border);
  border-radius: var(--s350-radius);
  padding: 14px;
  margin-bottom: 12px;
}

.s350-info-card h3 {
  font-size: 1.5rem;
  color: var(--s350-primary);
  margin-bottom: 8px;
}

.s350-info-card p,
.s350-info-card ul {
  font-size: 1.3rem;
  color: var(--s350-muted);
  line-height: 1.6;
}

.s350-info-card ul {
  padding-left: 18px;
}

.s350-info-card li {
  margin-bottom: 4px;
}

/* === Testimonials === */
.s350-testimonial {
  background: var(--s350-surface);
  border-left: 3px solid var(--s350-accent);
  padding: 12px 14px;
  border-radius: 0 var(--s350-radius) var(--s350-radius) 0;
  margin-bottom: 10px;
}

.s350-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--s350-primary);
}

.s350-testimonial-text {
  font-size: 1.2rem;
  color: var(--s350-muted);
  font-style: italic;
  margin-top: 4px;
}

/* === Winners === */
.s350-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--s350-surface);
  border-radius: 8px;
  margin-bottom: 6px;
}

.s350-winner-name {
  font-size: 1.3rem;
  color: var(--s350-text);
  font-weight: 600;
}

.s350-winner-game {
  font-size: 1.1rem;
  color: var(--s350-muted);
}

.s350-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--s350-gold);
}

/* === Payment Methods === */
.s350-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.s350-payment-item {
  background: var(--s350-surface);
  border: 1px solid var(--s350-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--s350-text);
  text-align: center;
}

/* === Footer === */
.s350-footer {
  background: linear-gradient(180deg, var(--s350-dark), var(--s350-deep));
  border-top: 2px solid var(--s350-primary);
  padding: 20px 12px 10px;
}

.s350-footer-brand {
  font-size: 1.3rem;
  color: var(--s350-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.s350-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.s350-footer-promo-btn {
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--s350-primary), var(--s350-accent));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 18px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.s350-footer-promo-btn:hover {
  transform: scale(1.05);
}

.s350-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-bottom: 14px;
}

.s350-footer-links a {
  font-size: 1.2rem;
  color: var(--s350-muted);
  transition: color 0.2s;
}

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

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

/* === Bottom Nav === */
.s350-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--s350-dark), #0a0f18);
  border-top: 2px solid var(--s350-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 58px;
  max-width: 430px;
  margin: 0 auto;
}

.s350-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--s350-muted);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 8px;
  padding: 2px 4px;
}

.s350-bnav-btn i,
.s350-bnav-btn .material-icons-outlined,
.s350-bnav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.s350-bnav-label {
  font-size: 1rem;
  line-height: 1.2;
}

.s350-bnav-btn:hover,
.s350-bnav-active {
  color: var(--s350-primary);
  background: rgba(100,149,237,0.12);
}

.s350-bnav-btn:active {
  transform: scale(0.92);
}

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

/* === Utility === */
.s350-text-center { text-align: center; }
.s350-text-gold { color: var(--s350-gold); }
.s350-text-accent { color: var(--s350-accent); }
.s350-mt-8 { margin-top: 8px; }
.s350-mb-8 { margin-bottom: 8px; }
.s350-promo-link {
  color: var(--s350-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.s350-promo-link:hover {
  color: var(--s350-primary);
}

/* === Article Content === */
.s350-article {
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: var(--s350-text);
}

.s350-article h2 {
  font-size: 1.7rem;
  color: var(--s350-primary);
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--s350-border);
}

.s350-article h3 {
  font-size: 1.5rem;
  color: var(--s350-accent);
  margin: 12px 0 6px;
}

.s350-article p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.s350-article ul,
.s350-article ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

.s350-article li {
  margin-bottom: 4px;
  line-height: 1.6;
}

.s350-article strong {
  color: var(--s350-gold);
}

/* === FAQ === */
.s350-faq-item {
  background: var(--s350-card);
  border: 1px solid var(--s350-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.s350-faq-q {
  padding: 10px 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s350-primary);
  cursor: pointer;
}

.s350-faq-a {
  padding: 0 12px 10px;
  font-size: 1.3rem;
  color: var(--s350-muted);
  line-height: 1.6;
}

/* === Responsive === */
@media (min-width: 769px) {
  body {
    max-width: 430px;
  }
}
