/**
 * 365 Casino Login - Theme Stylesheet
 * Prefix: we2c4-
 * Color Palette: #F08080 | #C71585 | #DDA0DD | #A0522D | #0A0A0A | #BBBBBB
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
  --we2c4-primary: #F08080;
  --we2c4-accent: #C71585;
  --we2c4-highlight: #DDA0DD;
  --we2c4-warm: #A0522D;
  --we2c4-bg: #0A0A0A;
  --we2c4-text: #BBBBBB;
  --we2c4-bg-card: #1A1A1A;
  --we2c4-bg-card-hover: #222222;
  --we2c4-border: #333333;
  --we2c4-white: #FFFFFF;
  --we2c4-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--we2c4-font);
  background: var(--we2c4-bg);
  color: var(--we2c4-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--we2c4-primary); text-decoration: none; }
a:hover { color: var(--we2c4-highlight); }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.we2c4-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A0A1A 100%);
  border-bottom: 2px solid var(--we2c4-accent);
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; height: 5.2rem;
}
.we2c4-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.we2c4-logo-area img { width: 3rem; height: 3rem; border-radius: 0.4rem; }
.we2c4-site-name { color: var(--we2c4-white); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.we2c4-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.we2c4-btn-register {
  background: linear-gradient(135deg, var(--we2c4-accent), var(--we2c4-primary));
  color: var(--we2c4-white); border: none; border-radius: 2rem;
  padding: 0.6rem 1.2rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.we2c4-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(199,21,133,0.5); }
.we2c4-btn-login {
  background: transparent; color: var(--we2c4-primary);
  border: 1.5px solid var(--we2c4-primary); border-radius: 2rem;
  padding: 0.5rem 1rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.we2c4-btn-login:hover { background: rgba(240,128,128,0.15); }
.we2c4-hamburger {
  background: none; border: none; color: var(--we2c4-white);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.we2c4-hamburger:hover { color: var(--we2c4-primary); }

/* === Mobile Menu === */
.we2c4-mobile-menu {
  display: none; position: fixed; top: 5.2rem; left: 0; right: 0;
  z-index: 9999; background: rgba(10,10,10,0.98);
  max-width: 430px; margin: 0 auto;
  border-bottom: 2px solid var(--we2c4-accent);
  padding: 1rem 0; max-height: 80vh; overflow-y: auto;
}
.we2c4-menu-active { display: block !important; }
.we2c4-menu-link {
  display: block; padding: 1rem 1.5rem; color: var(--we2c4-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--we2c4-border);
  transition: all 0.3s;
}
.we2c4-menu-link:hover { color: var(--we2c4-primary); background: rgba(240,128,128,0.08); padding-left: 2rem; }

/* === Carousel === */
.we2c4-carousel {
  position: relative; width: 100%; margin-top: 5.2rem;
  overflow: hidden; aspect-ratio: 430/200;
}
.we2c4-slide {
  display: none; width: 100%; height: 100%;
  cursor: pointer;
}
.we2c4-slide-active { display: block; }
.we2c4-slide img { width: 100%; height: 100%; object-fit: cover; }
.we2c4-dots {
  position: absolute; bottom: 0.8rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.5rem;
}
.we2c4-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s; border: none;
}
.we2c4-dot-active { background: var(--we2c4-primary); transform: scale(1.3); }

/* === Main Content === */
.we2c4-main { padding: 1rem; padding-bottom: 2rem; }
@media (max-width: 768px) {
  .we2c4-main { padding-bottom: 8rem; }
}

/* === Section Headings === */
.we2c4-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--we2c4-white);
  margin: 2rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--we2c4-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.we2c4-section-title i { color: var(--we2c4-primary); font-size: 2rem; }

/* === Game Grid === */
.we2c4-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.we2c4-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.3s;
  padding: 0.5rem; border-radius: 0.8rem;
  background: var(--we2c4-bg-card);
}
.we2c4-game-item:hover { transform: translateY(-3px); background: var(--we2c4-bg-card-hover); }
.we2c4-game-item img {
  width: 5.5rem; height: 5.5rem; border-radius: 0.6rem;
  margin-bottom: 0.3rem; object-fit: cover;
}
.we2c4-game-name {
  font-size: 1rem; color: var(--we2c4-text); text-align: center;
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 100%;
}

/* === Category Label === */
.we2c4-cat-label {
  font-size: 1.3rem; font-weight: 600; color: var(--we2c4-primary);
  margin: 1.5rem 0 0.5rem; padding-left: 0.5rem;
  border-left: 3px solid var(--we2c4-accent);
}

/* === Content Modules === */
.we2c4-module {
  background: var(--we2c4-bg-card); border-radius: 1rem;
  padding: 1.5rem; margin: 1.5rem 0;
  border: 1px solid var(--we2c4-border);
}
.we2c4-module h2 {
  font-size: 1.6rem; color: var(--we2c4-white); margin-bottom: 1rem;
  border-bottom: 1px solid var(--we2c4-border); padding-bottom: 0.5rem;
}
.we2c4-module h3 {
  font-size: 1.4rem; color: var(--we2c4-primary); margin: 1rem 0 0.5rem;
}
.we2c4-module p {
  font-size: 1.3rem; line-height: 2rem; color: var(--we2c4-text); margin-bottom: 0.8rem;
}
.we2c4-module ul { padding-left: 1.5rem; margin: 0.5rem 0; }
.we2c4-module li {
  font-size: 1.3rem; line-height: 2rem; color: var(--we2c4-text); margin-bottom: 0.3rem;
}
.we2c4-promo-text {
  color: var(--we2c4-primary); font-weight: 700; cursor: pointer;
  transition: color 0.3s;
}
.we2c4-promo-text:hover { color: var(--we2c4-highlight); }

/* === Promo CTA Button === */
.we2c4-cta {
  display: inline-block; background: linear-gradient(135deg, var(--we2c4-accent), var(--we2c4-primary));
  color: var(--we2c4-white); border: none; border-radius: 2.5rem;
  padding: 1rem 2.5rem; font-size: 1.5rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; text-align: center;
  margin: 0.5rem 0;
}
.we2c4-cta:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(199,21,133,0.5); }

/* === Data Tables (RTP) === */
.we2c4-data-table {
  width: 100%; border-collapse: collapse; margin: 0.5rem 0;
  font-size: 1.2rem;
}
.we2c4-data-table th {
  background: var(--we2c4-accent); color: var(--we2c4-white);
  padding: 0.6rem; text-align: left; font-weight: 600;
}
.we2c4-data-table td {
  padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--we2c4-border);
  color: var(--we2c4-text);
}
.we2c4-data-table tr:hover td { background: rgba(240,128,128,0.05); }

/* === Stats Grid === */
.we2c4-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.we2c4-stat-card {
  background: var(--we2c4-bg-card); border-radius: 0.8rem;
  padding: 1rem; text-align: center; border: 1px solid var(--we2c4-border);
}
.we2c4-stat-value {
  font-size: 2rem; font-weight: 700; color: var(--we2c4-primary);
}
.we2c4-stat-label { font-size: 1.1rem; color: var(--we2c4-text); margin-top: 0.3rem; }

/* === Testimonial Cards === */
.we2c4-testimonial {
  background: var(--we2c4-bg-card); border-radius: 0.8rem;
  padding: 1rem; margin: 0.5rem 0; border-left: 3px solid var(--we2c4-primary);
}
.we2c4-testimonial-name { font-weight: 700; color: var(--we2c4-primary); font-size: 1.2rem; }
.we2c4-testimonial-text { font-size: 1.2rem; line-height: 1.8rem; margin-top: 0.3rem; }

/* === Winner List === */
.we2c4-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--we2c4-border);
  font-size: 1.2rem;
}
.we2c4-winner-name { color: var(--we2c4-primary); font-weight: 600; }
.we2c4-winner-amount { color: var(--we2c4-highlight); font-weight: 700; }

/* === Footer === */
.we2c4-footer {
  background: #0D0D0D; padding: 2rem 1rem; margin-top: 2rem;
  border-top: 2px solid var(--we2c4-accent);
}
.we2c4-footer-desc { font-size: 1.2rem; color: var(--we2c4-text); line-height: 1.8rem; margin-bottom: 1rem; }
.we2c4-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1rem 0; }
.we2c4-footer-link {
  display: inline-block; padding: 0.5rem 1rem;
  background: var(--we2c4-bg-card); color: var(--we2c4-text);
  border-radius: 0.5rem; font-size: 1.1rem; border: 1px solid var(--we2c4-border);
  transition: all 0.3s;
}
.we2c4-footer-link:hover { color: var(--we2c4-primary); border-color: var(--we2c4-primary); }
.we2c4-partners {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 1rem 0;
}
.we2c4-partners img { height: 2.5rem; opacity: 0.7; transition: opacity 0.3s; }
.we2c4-partners img:hover { opacity: 1; }
.we2c4-copyright {
  text-align: center; font-size: 1.1rem; color: #666;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--we2c4-border);
}

/* === Bottom Navigation === */
.we2c4-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A0A1A 0%, #0A0A0A 100%);
  border-top: 2px solid var(--we2c4-accent);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.3rem;
}
@media (min-width: 769px) { .we2c4-bottom-nav { display: none; } }
.we2c4-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5rem; background: none; border: none;
  color: var(--we2c4-text); cursor: pointer; transition: all 0.3s;
  border-radius: 0.8rem; padding: 0.3rem;
}
.we2c4-bottom-nav-btn i,
.we2c4-bottom-nav-btn .material-icons,
.we2c4-bottom-nav-btn ion-icon { font-size: 2.4rem; margin-bottom: 0.2rem; }
.we2c4-bottom-nav-btn span {
  font-size: 1rem; font-weight: 500; white-space: nowrap;
}
.we2c4-bottom-nav-btn:hover,
.we2c4-bottom-nav-btn.we2c4-btn-current {
  color: var(--we2c4-primary); background: rgba(240,128,128,0.1);
  transform: scale(1.08);
}
.we2c4-btn-touch { transform: scale(0.92) !important; }

/* === Payment Icons === */
.we2c4-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1rem 0;
}
.we2c4-payment-item {
  background: var(--we2c4-bg-card); border-radius: 0.6rem;
  padding: 0.6rem 1rem; font-size: 1.1rem; color: var(--we2c4-text);
  border: 1px solid var(--we2c4-border);
}

/* === Utility === */
.we2c4-text-center { text-align: center; }
.we2c4-mt-1 { margin-top: 1rem; }
.we2c4-mb-1 { margin-bottom: 1rem; }
.we2c4-flex-center { display: flex; justify-content: center; align-items: center; }

/* === Desktop Adjustments === */
@media (min-width: 769px) {
  body { border-left: 1px solid var(--we2c4-border); border-right: 1px solid var(--we2c4-border); }
  .we2c4-header { left: auto; right: auto; }
  .we2c4-mobile-menu { left: auto; right: auto; }
  .we2c4-bottom-nav { left: auto; right: auto; }
}
