/* dailyjili.cfd - Core Stylesheet
   Prefix: v741-
   Palette: #DEB887 gold | #0F0F23 dark | #FFEBCD light | #FFA500 orange
   Mobile-first, max-width 430px, root font 62.5% */

:root {
  --v741-primary: #DEB887;
  --v741-bg: #0F0F23;
  --v741-text: #FFEBCD;
  --v741-accent: #FFA500;
  --v741-dark-surface: #161630;
  --v741-card-bg: #1a1a3e;
  --v741-border: #2a2a5e;
  --v741-gold-dark: #b8941f;
  --v741-navy: #0a0a1a;
  --v741-success: #4ade80;
  --v741-gradient-gold: linear-gradient(135deg, #DEB887 0%, #FFA500 100%);
  --v741-gradient-dark: linear-gradient(180deg, #0F0F23 0%, #161630 100%);
  --v741-shadow: 0 2px 12px rgba(222,184,135,0.15);
  --v741-radius: 8px;
  --v741-header-h: 56px;
  --v741-bottom-nav-h: 62px;
}

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

/* Header */
.v741-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--v741-navy);
  border-bottom: 1px solid var(--v741-border);
  height: var(--v741-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 430px; margin: 0 auto;
}
.v741-header-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.v741-header-logo {
  width: 28px; height: 28px; border-radius: 6px;
}
.v741-header-brand {
  font-size: 1.8rem; font-weight: 700; color: var(--v741-primary);
  letter-spacing: 0.5px;
}
.v741-header-right {
  display: flex; align-items: center; gap: 0.6rem;
}
.v741-btn-register {
  background: var(--v741-gradient-gold); color: #0F0F23;
  border: none; border-radius: 20px; padding: 0.5rem 1.2rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.v741-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(222,184,135,0.4); }
.v741-btn-login {
  background: transparent; color: var(--v741-primary);
  border: 1.5px solid var(--v741-primary); border-radius: 20px;
  padding: 0.45rem 1rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.v741-btn-login:hover { background: rgba(222,184,135,0.1); }
.v741-hamburger {
  background: none; border: none; color: var(--v741-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu Overlay */
.v741-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.v741-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
  background: var(--v741-navy); z-index: 9999;
  transform: translateX(-100%); transition: transform 0.3s ease;
  padding: 2rem 0; overflow-y: auto;
}
.v741-mobile-menu-header {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0 1.5rem 1.5rem; border-bottom: 1px solid var(--v741-border);
}
.v741-mobile-menu-header img { width: 32px; height: 32px; border-radius: 6px; }
.v741-mobile-menu-header span { font-size: 1.8rem; font-weight: 700; color: var(--v741-primary); }
.v741-mobile-menu nav { padding: 1rem 0; }
.v741-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem; color: var(--v741-text); font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.v741-mobile-menu a:hover { background: rgba(222,184,135,0.1); }
.v741-mobile-menu a span.material-symbols-outlined,
.v741-mobile-menu a i { font-size: 2rem; color: var(--v741-primary); }

/* Main Content */
.v741-main {
  padding-top: var(--v741-header-h);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .v741-main { padding-bottom: 80px; }
}

/* Carousel */
.v741-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-bottom: 2px solid var(--v741-border);
}
.v741-carousel-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.v741-carousel-slide img { width: 100%; aspect-ratio: 430/200; object-fit: cover; }
.v741-carousel-slide:first-child { display: block; }
.v741-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v741-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.2s;
}
.v741-dot-active { background: var(--v741-accent); width: 20px; border-radius: 4px; }
.v741-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.v741-carousel-arrow:hover { background: rgba(222,184,135,0.6); }
.v741-arrow-left { left: 8px; }
.v741-arrow-right { right: 8px; }

/* Section Title */
.v741-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v741-primary);
  padding: 1.5rem 1.2rem 0.8rem; border-left: 3px solid var(--v741-accent);
  margin-left: 1.2rem; margin-top: 1rem;
}
.v741-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.v741-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.8rem 1rem;
}
.v741-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.15s;
  border-radius: var(--v741-radius); padding: 0.4rem;
}
.v741-game-item:hover { transform: translateY(-2px); }
.v741-game-item:active { transform: scale(0.95); }
.v741-game-img {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  border: 1.5px solid var(--v741-border); object-fit: cover;
  transition: border-color 0.2s;
}
.v741-game-item:hover .v741-game-img { border-color: var(--v741-primary); }
.v741-game-name {
  font-size: 1rem; color: var(--v741-text); text-align: center;
  margin-top: 0.3rem; line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}

/* Content Cards */
.v741-card {
  background: var(--v741-card-bg); border-radius: var(--v741-radius);
  border: 1px solid var(--v741-border); padding: 1.2rem;
  margin: 0.8rem 1.2rem;
}
.v741-card h2 {
  font-size: 1.6rem; color: var(--v741-primary); margin-bottom: 0.8rem;
}
.v741-card h3 {
  font-size: 1.4rem; color: var(--v741-accent); margin: 0.6rem 0 0.4rem;
}
.v741-card p {
  font-size: 1.3rem; color: var(--v741-text); line-height: 1.6rem;
  margin-bottom: 0.6rem;
}

/* Promo Button */
.v741-btn-promo {
  display: inline-block; background: var(--v741-gradient-gold);
  color: #0F0F23; font-weight: 700; font-size: 1.3rem;
  padding: 0.8rem 2rem; border-radius: 25px; border: none;
  cursor: pointer; text-align: center; transition: all 0.2s;
}
.v741-btn-promo:hover { box-shadow: 0 0 20px rgba(222,184,135,0.4); transform: scale(1.03); }
.v741-promo-text {
  display: inline-block; color: var(--v741-accent);
  font-weight: 600; cursor: pointer; text-decoration: underline;
  transition: color 0.2s;
}
.v741-promo-text:hover { color: var(--v741-primary); }

/* Promo banner */
.v741-promo-banner {
  background: linear-gradient(135deg, rgba(222,184,135,0.15) 0%, rgba(255,165,0,0.1) 100%);
  border: 1px solid var(--v741-primary); border-radius: var(--v741-radius);
  padding: 1.2rem; margin: 1rem 1.2rem; text-align: center;
}
.v741-promo-banner p { font-size: 1.3rem; margin-bottom: 0.8rem; }

/* Footer */
.v741-footer {
  background: var(--v741-navy); border-top: 1px solid var(--v741-border);
  padding: 2rem 1.2rem 6rem; text-align: center;
}
@media (min-width: 769px) {
  .v741-footer { padding-bottom: 2rem; }
}
.v741-footer-brand {
  font-size: 1.6rem; font-weight: 700; color: var(--v741-primary);
  margin-bottom: 0.8rem;
}
.v741-footer-desc {
  font-size: 1.2rem; color: rgba(255,235,205,0.7); line-height: 1.5rem;
  margin-bottom: 1.2rem; max-width: 380px; margin-left: auto; margin-right: auto;
}
.v741-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.v741-footer-links a {
  background: var(--v741-card-bg); color: var(--v741-text);
  padding: 0.4rem 0.8rem; border-radius: 4px; font-size: 1.1rem;
  border: 1px solid var(--v741-border); transition: all 0.15s;
}
.v741-footer-links a:hover { border-color: var(--v741-primary); color: var(--v741-primary); }
.v741-footer-partners {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin: 1rem 0;
}
.v741-footer-partners img { width: 40px; height: 40px; opacity: 0.7; transition: opacity 0.2s; }
.v741-footer-partners img:hover { opacity: 1; }
.v741-footer-copy {
  font-size: 1.1rem; color: rgba(255,235,205,0.5); margin-top: 1rem;
}

/* Bottom Navigation */
.v741-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--v741-navy); border-top: 1px solid var(--v741-border);
  height: var(--v741-bottom-nav-h);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
@media (min-width: 769px) {
  .v741-bottom-nav { display: none; }
}
.v741-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 54px;
  background: none; border: none; color: rgba(255,235,205,0.6);
  cursor: pointer; transition: all 0.2s; padding: 0.3rem;
  border-radius: 8px;
}
.v741-bottom-nav-btn:hover,
.v741-bottom-nav-btn:focus {
  color: var(--v741-primary); background: rgba(222,184,135,0.08);
}
.v741-bottom-nav-btn i,
.v741-bottom-nav-btn .material-symbols-outlined {
  font-size: 22px; margin-bottom: 2px;
}
.v741-bottom-nav-btn span.v741-nav-label {
  font-size: 1rem; line-height: 1.2rem;
}
.v741-bottom-nav-btn.v741-nav-active {
  color: var(--v741-accent);
}
.v741-bottom-nav-btn.v741-nav-active i,
.v741-bottom-nav-btn.v741-nav-active .material-symbols-outlined {
  transform: scale(1.1);
}

/* Help page styles */
.v741-help-section {
  padding: 1rem 1.2rem;
}
.v741-help-section h2 {
  font-size: 1.5rem; color: var(--v741-primary); margin-bottom: 0.6rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid var(--v741-border);
}
.v741-help-section p {
  font-size: 1.3rem; line-height: 1.6rem; margin-bottom: 0.8rem;
}
.v741-faq-item {
  background: var(--v741-card-bg); border: 1px solid var(--v741-border);
  border-radius: var(--v741-radius); margin-bottom: 0.8rem; overflow: hidden;
}
.v741-faq-q {
  padding: 1rem; font-weight: 600; color: var(--v741-primary);
  font-size: 1.3rem; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.v741-faq-a {
  padding: 0 1rem 1rem; font-size: 1.2rem; color: var(--v741-text);
  line-height: 1.5rem; display: none;
}
.v741-faq-item.open .v741-faq-a { display: block; }
.v741-faq-item.open .v741-faq-arrow { transform: rotate(180deg); }

/* Winners table */
.v741-winners-table {
  width: 100%; border-collapse: collapse; font-size: 1.2rem;
}
.v741-winners-table th {
  background: var(--v741-card-bg); color: var(--v741-primary);
  padding: 0.6rem; text-align: left; font-size: 1.1rem;
  border-bottom: 1px solid var(--v741-border);
}
.v741-winners-table td {
  padding: 0.5rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--v741-text); font-size: 1.1rem;
}
.v741-winners-table tr:hover td { background: rgba(222,184,135,0.05); }

/* Testimonial */
.v741-testimonial {
  background: var(--v741-card-bg); border-left: 3px solid var(--v741-accent);
  border-radius: 0 var(--v741-radius) var(--v741-radius) 0;
  padding: 1rem; margin: 0.6rem 1.2rem;
}
.v741-testimonial p { font-size: 1.2rem; font-style: italic; margin-bottom: 0.4rem; }
.v741-testimonial cite { font-size: 1.1rem; color: var(--v741-primary); font-style: normal; }

/* Payment icons row */
.v741-payment-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem; padding: 0.8rem 1.2rem;
}
.v741-payment-item {
  background: var(--v741-card-bg); border: 1px solid var(--v741-border);
  border-radius: 6px; padding: 0.5rem 0.8rem;
  font-size: 1.1rem; color: var(--v741-text);
}

/* Achievement badge */
.v741-achievement {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, rgba(255,165,0,0.2), rgba(222,184,135,0.1));
  border: 1px solid var(--v741-gold-dark); border-radius: 20px;
  padding: 0.3rem 0.8rem; font-size: 1.1rem; color: var(--v741-accent);
  margin: 0.3rem;
}

/* App download CTA */
.v741-app-cta {
  background: var(--v741-gradient-dark); border: 1.5px solid var(--v741-primary);
  border-radius: var(--v741-radius); padding: 1.5rem;
  margin: 1rem 1.2rem; text-align: center;
}
.v741-app-cta h3 { font-size: 1.5rem; color: var(--v741-primary); margin-bottom: 0.5rem; }
.v741-app-cta p { font-size: 1.2rem; margin-bottom: 1rem; }

/* Category tabs */
.v741-cat-tabs {
  display: flex; overflow-x: auto; gap: 0.4rem;
  padding: 0.8rem 1rem; scrollbar-width: none;
}
.v741-cat-tabs::-webkit-scrollbar { display: none; }
.v741-cat-tab {
  flex-shrink: 0; padding: 0.5rem 1.2rem; border-radius: 20px;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  background: var(--v741-card-bg); color: var(--v741-text);
  border: 1px solid var(--v741-border); transition: all 0.2s;
  white-space: nowrap;
}
.v741-cat-tab:hover, .v741-cat-tab.v741-tab-active {
  background: var(--v741-gradient-gold); color: #0F0F23; border-color: transparent;
}

/* Scroll to top */
.v741-scroll-top {
  position: fixed; bottom: 76px; right: 12px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--v741-primary); color: #0F0F23;
  border: none; font-size: 2rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (max-width: 768px) { .v741-scroll-top { bottom: 72px; } }

/* Desktop adjustments */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .v741-header { max-width: 100%; }
  .v741-bottom-nav { display: none; }
  .v741-main { padding-bottom: 0; }
  .v741-footer { padding-bottom: 2rem; }
}
