/**
 * Earn Php - Core Stylesheet
 * Class prefix: s020-
 * Site: earnphp.cfd
 * Colors: #34495E #E9ECEF #DCDCDC #00BFFF #262626 #5F9EA0
 */

/* ===== CSS Variables ===== */
:root {
  --s020-primary: #34495E;
  --s020-secondary: #5F9EA0;
  --s020-accent: #00BFFF;
  --s020-dark: #262626;
  --s020-light: #E9ECEF;
  --s020-gray: #DCDCDC;
  --s020-white: #FFFFFF;
  --s020-danger: #E74C3C;
  --s020-success: #27AE60;
  --s020-gold: #F1C40F;
  --s020-radius: 10px;
  --s020-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  --s020-transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--s020-dark);
  color: var(--s020-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--s020-accent); transition: var(--s020-transition); }
a:hover { color: var(--s020-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Header ===== */
.s020-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s020-dark) 0%, var(--s020-primary) 100%);
  border-bottom: 2px solid var(--s020-secondary);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  backdrop-filter: blur(10px);
}
.s020-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s020-logo-area img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.s020-site-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--s020-accent);
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}
.s020-header-btns {
  display: flex;
  gap: 6px;
  align-items: center;
}
.s020-btn-register {
  background: linear-gradient(135deg, var(--s020-accent), #0099CC);
  color: var(--s020-dark);
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: var(--s020-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.s020-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(0, 191, 255, 0.5); }
.s020-btn-login {
  background: transparent;
  color: var(--s020-accent);
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: 2px solid var(--s020-accent);
  cursor: pointer;
  font-size: 13px;
  transition: var(--s020-transition);
  text-transform: uppercase;
}
.s020-btn-login:hover { background: rgba(0, 191, 255, 0.15); }
.s020-menu-btn {
  background: none;
  border: none;
  color: var(--s020-light);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ===== Mobile Menu ===== */
.s020-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--s020-dark);
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 20px 0;
  border-left: 2px solid var(--s020-secondary);
}
.s020-menu-active { right: 0 !important; }
.s020-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--s020-transition);
}
.s020-overlay-active { opacity: 1 !important; visibility: visible !important; }
.s020-no-scroll { overflow: hidden !important; }
.s020-menu-close {
  background: none;
  border: none;
  color: var(--s020-light);
  font-size: 28px;
  cursor: pointer;
  padding: 8px 16px;
  display: block;
  margin-left: auto;
}
.s020-menu-link {
  display: block;
  padding: 14px 20px;
  color: var(--s020-light);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--s020-transition);
}
.s020-menu-link:hover { background: rgba(0, 191, 255, 0.1); color: var(--s020-accent); padding-left: 28px; }

/* ===== Main Content ===== */
.s020-main {
  padding-top: 60px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .s020-main { padding-bottom: 80px; }
}

/* ===== Carousel ===== */
.s020-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}
.s020-carousel-track {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
}
.s020-carousel-slide {
  min-width: 100%;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}
.s020-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}
.s020-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.s020-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--s020-transition);
}

/* ===== Sections ===== */
.s020-section {
  padding: 20px 12px;
}
.s020-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--s020-accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--s020-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.s020-section-title i, .s020-section-title span.material-symbols-outlined {
  font-size: 24px;
  color: var(--s020-secondary);
}

/* ===== Category Tabs ===== */
.s020-cat-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.s020-cat-tabs::-webkit-scrollbar { display: none; }
.s020-cat-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--s020-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--s020-transition);
  white-space: nowrap;
}
.s020-cat-tab:hover { background: rgba(0, 191, 255, 0.15); color: var(--s020-accent); }
.s020-cat-tab-active {
  background: linear-gradient(135deg, var(--s020-accent), var(--s020-secondary)) !important;
  color: var(--s020-dark) !important;
  border-color: transparent !important;
}

/* ===== Game Grid ===== */
.s020-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 430px) {
  .s020-game-grid { grid-template-columns: repeat(5, 1fr); }
}
.s020-game-item {
  cursor: pointer;
  text-align: center;
  transition: var(--s020-transition);
  border-radius: var(--s020-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}
.s020-game-item:hover { transform: translateY(-3px); background: rgba(0, 191, 255, 0.1); }
.s020-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
}
.s020-game-name {
  font-size: 11px;
  color: var(--s020-gray);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Promo Module ===== */
.s020-promo-card {
  background: linear-gradient(135deg, var(--s020-primary), rgba(0, 191, 255, 0.15));
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: var(--s020-radius);
  padding: 20px 16px;
  margin-bottom: 16px;
  text-align: center;
}
.s020-promo-card h3 {
  font-size: 18px;
  color: var(--s020-accent);
  margin-bottom: 10px;
}
.s020-promo-card p {
  font-size: 14px;
  color: var(--s020-gray);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ===== Buttons ===== */
.s020-btn-aff {
  display: inline-block;
  background: linear-gradient(135deg, var(--s020-accent), #0099CC);
  color: var(--s020-dark);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: var(--s020-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.s020-btn-aff:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 191, 255, 0.4); }
.s020-btn-aff-outline {
  display: inline-block;
  background: transparent;
  color: var(--s020-accent);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 25px;
  border: 2px solid var(--s020-accent);
  cursor: pointer;
  font-size: 14px;
  transition: var(--s020-transition);
}
.s020-btn-aff-outline:hover { background: rgba(0, 191, 255, 0.15); }
.s020-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--s020-gold), #E67E22);
  color: var(--s020-dark);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: var(--s020-transition);
}
.s020-btn-gold:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(241, 196, 15, 0.4); }

/* ===== Affiliate Text Link ===== */
.s020-aff-link {
  color: var(--s020-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--s020-transition);
}
.s020-aff-link:hover { color: var(--s020-secondary); text-shadow: 0 0 8px rgba(0, 191, 255, 0.3); }

/* ===== Features Grid ===== */
.s020-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.s020-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--s020-radius);
  padding: 16px;
  text-align: center;
  transition: var(--s020-transition);
}
.s020-feature-item:hover { border-color: var(--s020-accent); background: rgba(0, 191, 255, 0.05); }
.s020-feature-item i, .s020-feature-item span.material-symbols-outlined {
  font-size: 32px;
  color: var(--s020-accent);
  margin-bottom: 8px;
}
.s020-feature-item h4 {
  font-size: 14px;
  color: var(--s020-light);
  margin-bottom: 4px;
}
.s020-feature-item p {
  font-size: 12px;
  color: var(--s020-gray);
}

/* ===== Footer ===== */
.s020-footer {
  background: linear-gradient(135deg, var(--s020-dark), var(--s020-primary));
  padding: 30px 12px 20px;
  border-top: 2px solid var(--s020-secondary);
}
.s020-footer-brand {
  text-align: center;
  margin-bottom: 20px;
}
.s020-footer-brand h3 {
  font-size: 22px;
  color: var(--s020-accent);
  margin-bottom: 8px;
}
.s020-footer-brand p {
  font-size: 13px;
  color: var(--s020-gray);
  line-height: 1.5;
}
.s020-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.s020-footer-btns button {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--s020-secondary);
  background: rgba(95, 158, 160, 0.15);
  color: var(--s020-light);
  font-size: 12px;
  cursor: pointer;
  transition: var(--s020-transition);
  font-weight: 600;
}
.s020-footer-btns button:hover { background: var(--s020-accent); color: var(--s020-dark); }
.s020-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.s020-footer-links a {
  font-size: 12px;
  color: var(--s020-gray);
  transition: var(--s020-transition);
}
.s020-footer-links a:hover { color: var(--s020-accent); }
.s020-footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Bottom Nav ===== */
.s020-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(135deg, var(--s020-dark), var(--s020-primary));
  border-top: 2px solid var(--s020-secondary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0;
}
@media (min-width: 769px) {
  .s020-bottom-nav { display: none; }
}
.s020-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--s020-gray);
  cursor: pointer;
  transition: var(--s020-transition);
  padding: 4px;
  border-radius: 10px;
}
.s020-bottom-btn:hover { color: var(--s020-accent); background: rgba(0, 191, 255, 0.1); }
.s020-bottom-btn-active {
  color: var(--s020-accent) !important;
  background: rgba(0, 191, 255, 0.12) !important;
}
.s020-bottom-btn i, .s020-bottom-btn span.material-symbols-outlined {
  font-size: 24px;
  margin-bottom: 2px;
}
.s020-bottom-btn ion-icon { font-size: 24px; margin-bottom: 2px; }
.s020-bottom-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

/* ===== Help Page Content ===== */
.s020-help-content {
  padding: 20px 14px;
  max-width: 600px;
  margin: 0 auto;
}
.s020-help-content h1 {
  font-size: 24px;
  color: var(--s020-accent);
  margin-bottom: 16px;
  text-align: center;
}
.s020-help-content h2 {
  font-size: 18px;
  color: var(--s020-accent);
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--s020-secondary);
}
.s020-help-content h3 {
  font-size: 16px;
  color: var(--s020-light);
  margin: 16px 0 8px;
}
.s020-help-content p {
  font-size: 14px;
  color: var(--s020-gray);
  margin-bottom: 12px;
  line-height: 1.7;
}
.s020-help-content ol, .s020-help-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.s020-help-content li {
  font-size: 14px;
  color: var(--s020-gray);
  margin-bottom: 8px;
  line-height: 1.6;
}
.s020-help-content .s020-info-box {
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: var(--s020-radius);
  padding: 14px;
  margin: 14px 0;
}
.s020-help-content .s020-info-box p {
  margin-bottom: 0;
  font-size: 13px;
}

/* ===== Scroll to Top ===== */
.s020-scroll-top {
  position: fixed;
  bottom: 75px;
  right: 14px;
  z-index: 999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--s020-secondary);
  color: var(--s020-white);
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--s020-transition);
  box-shadow: var(--s020-shadow);
}
.s020-scroll-top:hover { background: var(--s020-accent); }

/* ===== Partners ===== */
.s020-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}
.s020-partners img {
  height: 28px;
  opacity: 0.6;
  transition: var(--s020-transition);
  filter: grayscale(50%);
}
.s020-partners img:hover { opacity: 1; filter: grayscale(0%); }

/* ===== Utilities ===== */
.s020-text-center { text-align: center; }
.s020-mt-10 { margin-top: 10px; }
.s020-mb-10 { margin-bottom: 10px; }
.s020-mb-20 { margin-bottom: 20px; }
.s020-hidden { display: none !important; }
