/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #FFD700;
  --gold-dark: #e6b800;
  --dark: #0a0a1a;
  --dark2: #111128;
  --dark3: #1a1a35;
  --accent: #6c63ff;
  --accent2: #ff6584;
  --text: #e0e0f0;
  --text-muted: #8888aa;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

.accent { color: var(--gold); }
a { text-decoration: none; color: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.8rem; }
.logo-text { font-size: 1.3rem; font-weight: 900; color: var(--white); letter-spacing: 1px; }
.logo-accent { color: var(--gold); }

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  transition: color 0.3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1035 50%, #0a1a2a 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,215,0,0.1) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,215,0,0.05) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(255,215,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  transition: all 0.3s; cursor: pointer;
}
.cta-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); box-shadow: 0 4px 20px rgba(255,215,0,0.35);
}
.cta-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,215,0,0.5); }
.cta-btn.secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.cta-btn.secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* TICKER */
.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,215,0,0.12);
  border-top: 1px solid rgba(255,215,0,0.25);
  display: flex; align-items: center;
  height: 46px; overflow: hidden; z-index: 2;
}
.ticker-label {
  background: var(--gold); color: var(--dark);
  padding: 4px 16px; font-weight: 800; font-size: 0.8rem;
  white-space: nowrap; z-index: 1; border-radius: 0 4px 4px 0;
  margin-right: 12px; min-width: 60px;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark3);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item {
  display: flex; align-items: center; gap: 14px;
  padding: 28px 48px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-item i { font-size: 1.8rem; color: var(--gold); }
.stat-item div { display: flex; flex-direction: column; }
.stat-item strong { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.stat-item span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ===== GAMES SECTION ===== */
.games-section {
  padding: 90px 5%;
  background: var(--dark2);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}

.game-card {
  position: relative; overflow: hidden;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,215,0,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.game-card:hover .card-glow { opacity: 1; }

.game-icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.game-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.game-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }

.game-balls {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.ball {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(255,215,0,0.3);
}
.ball.revealed { animation: popIn 0.4s ease forwards; }

.game-tag {
  display: inline-block; background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3); color: var(--gold);
  padding: 4px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
}
.card-footer {
  margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 0.88rem;
  opacity: 0; transform: translateY(6px); transition: all 0.3s;
}
.game-card:hover .card-footer { opacity: 1; transform: translateY(0); }

/* Game card color accents */
.lucky3:hover { border-color: rgba(100,220,100,0.4); }
.lucky3 .ball { background: linear-gradient(135deg, #4CAF50, #2e7d32); }
.great4:hover { border-color: rgba(255,215,0,0.5); }
.win5:hover { border-color: rgba(100,150,255,0.4); }
.win5 .ball { background: linear-gradient(135deg, #4fc3f7, #0277bd); }
.supper6:hover { border-color: rgba(200,100,255,0.4); }
.supper6 .ball { background: linear-gradient(135deg, #ce93d8, #7b1fa2); }
.real7:hover { border-color: rgba(255,100,100,0.4); }
.real7 .ball { background: linear-gradient(135deg, #ef9a9a, #c62828); }
.victory6:hover { border-color: rgba(255,160,20,0.4); }
.victory6 .ball { background: linear-gradient(135deg, #ffcc02, #e65100); }

/* ===== RESULTS SECTION ===== */
.results-section {
  position: relative;
  padding: 90px 5%;
  background: var(--dark);
}
.results-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.results-controls {
  display: flex; align-items: flex-end; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px; position: relative; z-index: 2;
}
.control-group {
  display: flex; flex-direction: column; gap: 8px;
}
.control-group label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--gold); letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.control-group input[type="date"],
.control-group select {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  padding: 12px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  min-width: 200px;
  outline: none;
  transition: border-color 0.3s;
}
.control-group input[type="date"]:focus,
.control-group select:focus { border-color: var(--gold); }
.control-group select option { background: var(--dark3); }

.search-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); border: none; cursor: pointer;
  padding: 13px 32px; border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.4); }

/* Results display */
.results-container {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}

.no-results-msg {
  text-align: center; padding: 80px 20px; color: var(--text-muted);
}
.no-results-msg i { color: rgba(255,215,0,0.3); margin-bottom: 20px; }
.no-results-msg h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text); }

.results-date-header {
  text-align: center; margin-bottom: 32px;
  font-size: 1.1rem; color: var(--text-muted);
}
.results-date-header strong { color: var(--gold); font-size: 1.3rem; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.result-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
  animation: fadeInUp 0.5s ease forwards;
}
.result-card:hover {
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.result-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.result-game-icon { font-size: 2rem; }
.result-game-name { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.result-draw-time { font-size: 0.78rem; color: var(--text-muted); }

.result-numbers {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.result-ball {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  animation: popIn 0.4s ease forwards;
}
.result-ball:nth-child(1) { animation-delay: 0.05s; }
.result-ball:nth-child(2) { animation-delay: 0.1s; }
.result-ball:nth-child(3) { animation-delay: 0.15s; }
.result-ball:nth-child(4) { animation-delay: 0.2s; }
.result-ball:nth-child(5) { animation-delay: 0.25s; }
.result-ball:nth-child(6) { animation-delay: 0.3s; }
.result-ball:nth-child(7) { animation-delay: 0.35s; }

.result-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem; color: var(--text-muted);
}
.result-status {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  color: #4CAF50; padding: 3px 10px; border-radius: 20px; font-weight: 600;
}

.no-data-card {
  background: var(--dark3);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 40px;
  text-align: center; color: var(--text-muted);
}
.no-data-card i { font-size: 2rem; margin-bottom: 12px; opacity: 0.4; }

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 90px 5%;
  background: var(--dark2);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
  counter-reset: steps;
}
.step-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255,215,0,0.3); }
.step-num {
  position: absolute; top: -10px; right: 18px;
  font-size: 4rem; font-weight: 900;
  color: rgba(255,215,0,0.06); line-height: 1;
}
.step-icon { font-size: 2.4rem; color: var(--gold); margin-bottom: 16px; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-section {
  padding: 90px 5%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
}
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.contact-inner p { color: var(--text-muted); margin-bottom: 48px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 32px 24px;
  transition: all 0.3s;
}
.contact-card:hover { border-color: rgba(255,215,0,0.4); transform: translateY(-4px); }
.contact-card i { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.contact-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 1px; }
.contact-card span { font-size: 0.95rem; color: var(--white); font-weight: 500; }

/* ===== FOOTER ===== */
.footer { background: #060610; }
.footer-top {
  display: flex;
  justify-content: center;
  padding: 60px 5%; max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { text-align: center; }
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-links h4, .footer-games h4 {
  color: var(--white); font-size: 0.9rem; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 1px;
}
.footer-links a, .footer-games a {
  display: block; color: var(--text-muted); font-size: 0.88rem;
  margin-bottom: 10px; transition: color 0.3s;
}
.footer-links a:hover, .footer-games a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px 5%; text-align: center;
  color: var(--text-muted); font-size: 0.82rem;
}
.footer-note { margin-top: 6px; color: rgba(255,255,255,0.3); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  border: none; cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(255,215,0,0.4);
  transition: all 0.3s; z-index: 999;
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== RESULT BALL COLORS BY GAME ===== */
.rb-lucky3 { background: linear-gradient(135deg, #4CAF50, #1b5e20); color: #fff; box-shadow: 0 3px 12px rgba(76,175,80,0.4); }
.rb-great4  { background: linear-gradient(135deg, #FFD700, #e65100); color: #111; box-shadow: 0 3px 12px rgba(255,215,0,0.4); }
.rb-win5    { background: linear-gradient(135deg, #4fc3f7, #0277bd); color: #fff; box-shadow: 0 3px 12px rgba(79,195,247,0.4); }
.rb-supper6 { background: linear-gradient(135deg, #ce93d8, #7b1fa2); color: #fff; box-shadow: 0 3px 12px rgba(206,147,216,0.4); }
.rb-real7   { background: linear-gradient(135deg, #ef9a9a, #c62828); color: #fff; box-shadow: 0 3px 12px rgba(239,154,154,0.4); }
.rb-victory6{ background: linear-gradient(135deg, #ffcc02, #e65100); color: #111; box-shadow: 0 3px 12px rgba(255,204,2,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-brand { width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: var(--dark2); flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(255,215,0,0.1); z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 16px 5%; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger { display: block; }
  .hero-title { font-size: 3rem; }
  .stat-item { padding: 20px 24px; }
  .results-controls { flex-direction: column; align-items: stretch; }
  .control-group input, .control-group select, .search-btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ===== HERO SOCIAL STRIP ===== */
.hero-socials {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-top: 28px;
}
.hero-socials span {
  font-size: 0.82rem; color: var(--text-muted); font-weight: 600; letter-spacing: 1px;
}
.hero-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.hero-socials a:hover { transform: translateY(-3px) scale(1.1); border-color: var(--gold); color: var(--gold); }

/* ===== FOOTER SOCIALS ===== */
.footer-socials {
  display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: center;
}
.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: all 0.3s; color: #fff;
  border: 2px solid rgba(255,255,255,0.1);
}
.social-link:hover { transform: translateY(-4px) scale(1.1); }
.social-link.whatsapp  { background: rgba(37,211,102,0.15);  border-color: rgba(37,211,102,0.4); }
.social-link.instagram { background: rgba(225,48,108,0.15);  border-color: rgba(225,48,108,0.4); }
.social-link.facebook  { background: rgba(24,119,242,0.15);  border-color: rgba(24,119,242,0.4); }
.social-link.tiktok    { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.social-link.whatsapp:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.social-link.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; box-shadow: 0 6px 20px rgba(225,48,108,0.4); }
.social-link.facebook:hover  { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 20px rgba(24,119,242,0.4); }
.social-link.tiktok:hover    { background: #010101; border-color: #69C9D0; box-shadow: 0 6px 20px rgba(105,201,208,0.3); }

/* ===== FLOATING SOCIAL BAR (left side) ===== */
.floating-socials {
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 997;
  display: flex; flex-direction: column; gap: 2px;
}
.float-social {
  display: flex; align-items: center;
  gap: 0; overflow: hidden;
  width: 46px; height: 46px;
  border-radius: 0 8px 8px 0;
  color: #fff; font-size: 1.1rem;
  transition: width 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.float-social i { min-width: 46px; text-align: center; }
.float-social span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  opacity: 0; transition: opacity 0.2s 0.1s;
  padding-right: 14px;
}
.float-social:hover { width: 140px; }
.float-social:hover span { opacity: 1; }

.float-social.whatsapp  { background: #25D366; }
.float-social.instagram { background: linear-gradient(160deg,#f09433,#dc2743,#bc1888); }
.float-social.facebook  { background: #1877f2; }
.float-social.tiktok    { background: #010101; border-right: 2px solid #69C9D0; }

/* Hide floating bar on very small screens */
@media (max-width: 480px) {
  .floating-socials { display: none; }
}

/* Prize amount in result card */
.result-prize {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.88rem;
}

/* ===== LATEST RESULTS SECTION ===== */
.latest-section {
  padding: 90px 5%;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 0;
}

.latest-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.3s;
  animation: fadeInUp 0.5s ease forwards;
  position: relative;
  overflow: hidden;
}
.latest-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.latest-card.lc-lucky3::before   { background: linear-gradient(90deg, #4CAF50, #1b5e20); }
.latest-card.lc-great4::before   { background: linear-gradient(90deg, #FFD700, #e65100); }
.latest-card.lc-win5::before     { background: linear-gradient(90deg, #4fc3f7, #0277bd); }
.latest-card.lc-supper6::before  { background: linear-gradient(90deg, #ce93d8, #7b1fa2); }
.latest-card.lc-real7::before    { background: linear-gradient(90deg, #ef9a9a, #c62828); }
.latest-card.lc-victory6::before { background: linear-gradient(90deg, #ffcc02, #e65100); }

.latest-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.latest-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.latest-game-icon { font-size: 2rem; }
.latest-game-name { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.latest-game-prize {
  font-size: 0.82rem; color: var(--gold); font-weight: 700;
}

.latest-numbers {
  display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px;
}

.latest-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: var(--text-muted);
}

@media (max-width: 480px) {
  .latest-grid { grid-template-columns: 1fr; }
}

/* Victory 6 — last 2 balls are red */
.rb-victory6-red {
  background: linear-gradient(135deg, #ff4444, #b71c1c);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255, 68, 68, 0.5);
}

/* ===== LIVE ACTIVITY FEED ===== */
.live-feed-bar {
  background: rgba(10,10,26,0.95);
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  height: 48px;
  overflow: hidden;
  position: relative;
}

.live-feed-label {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #e53935;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2px;
  padding: 0 18px;
  height: 100%;
  white-space: nowrap;
  z-index: 2;
  min-width: 80px;
}

.live-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.live-feed-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: feedScroll 300s linear infinite;
  will-change: transform;
}

.live-feed-track:hover { animation-play-state: paused; }

@keyframes feedScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feed-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 0.85rem;
  color: var(--text);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.feed-item .feed-name { color: var(--gold); font-weight: 700; }
.feed-item .feed-game { font-weight: 600; }
.feed-item .feed-tickets {
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.feed-item .feed-icon { font-size: 1rem; }

.feed-game.lucky3   { color: #4CAF50; }
.feed-game.great4   { color: #FFD700; }
.feed-game.win5     { color: #4fc3f7; }
.feed-game.supper6  { color: #ce93d8; }
.feed-game.real7    { color: #ef9a9a; }
.feed-game.victory6 { color: #ffcc02; }

/* ===== ANNOUNCEMENTS SECTION ===== */
.announce-section {
  padding: 90px 5%;
  background: var(--dark2);
}

.announce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.announce-col-header {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 0;
}
.announce-col-header.winners {
  background: linear-gradient(135deg, #b8860b, #FFD700);
  color: #111;
}
.announce-col-header.offers {
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  color: #fff;
}
.announce-col-header i { font-size: 1.3rem; }
.announce-col-header h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.5px; }

.announce-list {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 0 0;
  max-height: 680px;
  overflow-y: auto;
  padding-right: 4px;
}
.announce-list::-webkit-scrollbar { width: 4px; }
.announce-list::-webkit-scrollbar-thumb { background: rgba(255,215,0,0.3); border-radius: 2px; }

.announce-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
  position: relative;
}
.announce-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.winner-card { border-left: 3px solid var(--gold); }
.offer-card  { border-left: 3px solid #42a5f5; }
.winner-card:hover { border-color: var(--gold); box-shadow: 0 10px 28px rgba(255,215,0,0.1); }
.offer-card:hover  { border-color: #42a5f5;    box-shadow: 0 10px 28px rgba(66,165,245,0.1); }

.announce-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.winner-badge { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.offer-badge  { background: rgba(66,165,245,0.15); color: #42a5f5;   border: 1px solid rgba(66,165,245,0.3); }

.announce-meta { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 6px; }

.announce-card h4 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.announce-card p {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px;
}
.announce-card p strong { color: var(--text); }

.prize-tag {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  color: var(--gold); font-weight: 700;
  padding: 1px 8px; border-radius: 6px;
}

.announce-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: var(--text-muted);
}
.announce-footer i { margin-right: 4px; }

.verified {
  color: #4CAF50; font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; gap: 4px;
}

.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.offer-tag {
  background: rgba(66,165,245,0.1);
  border: 1px solid rgba(66,165,245,0.25);
  color: #42a5f5; font-size: 0.73rem; font-weight: 600;
  padding: 2px 10px; border-radius: 20px;
}

.offer-live {
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  color: #4CAF50; font-weight: 700; font-size: 0.72rem;
  padding: 2px 10px; border-radius: 20px;
  letter-spacing: 1px;
}
.offer-soon {
  background: rgba(255,152,0,0.15);
  border: 1px solid rgba(255,152,0,0.3);
  color: #FF9800; font-weight: 700; font-size: 0.72rem;
  padding: 2px 10px; border-radius: 20px;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .announce-grid { grid-template-columns: 1fr; }
  .announce-list { max-height: none; }
}

/* ===== REAL 7 OFFER CARD ===== */
.real7-offer-card { border-left: 3px solid #ef9a9a; }
.real7-offer-card:hover { box-shadow: 0 10px 28px rgba(239,154,154,0.15); border-color: #ef5350; }

.real7-offer-badge {
  background: rgba(239,83,80,0.15);
  border: 1px solid rgba(239,83,80,0.4);
  color: #ef5350;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
  display: inline-block;
}

.real7-prize-table {
  display: flex; flex-direction: column; gap: 8px;
  margin: 14px 0;
}

.r7-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 9px 14px;
  transition: background 0.2s;
}
.r7-row:hover { background: rgba(255,255,255,0.07); }

.r7-match {
  font-size: 0.88rem; font-weight: 600; color: var(--white);
}
.r7-prize {
  font-size: 0.95rem; font-weight: 800; color: #FFD700;
  background: rgba(255,215,0,0.1);
  padding: 2px 12px; border-radius: 20px;
  border: 1px solid rgba(255,215,0,0.25);
}

.r7-jackpot {
  background: linear-gradient(135deg, rgba(239,83,80,0.15), rgba(255,215,0,0.1));
  border: 1px solid rgba(239,83,80,0.4);
}
.r7-jackpot .r7-match { color: #ef5350; font-size: 0.95rem; }
.r7-jackpot .r7-prize {
  color: #fff; font-size: 1rem;
  background: linear-gradient(135deg, #ef5350, #b71c1c);
  border: none;
  box-shadow: 0 3px 12px rgba(239,83,80,0.4);
}

/* ===== SUPER 6 OFFER CARD ===== */
.super6-offer-card { border-left: 3px solid #ce93d8; }
.super6-offer-card:hover { box-shadow: 0 10px 28px rgba(206,147,216,0.15); border-color: #ab47bc; }

.super6-offer-badge {
  background: rgba(171,71,188,0.15);
  border: 1px solid rgba(171,71,188,0.4);
  color: #ce93d8;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
  display: inline-block;
}
.s6-jackpot {
  background: linear-gradient(135deg, rgba(171,71,188,0.2), rgba(255,215,0,0.1));
  border: 1px solid rgba(171,71,188,0.4);
}
.s6-jackpot .r7-match { color: #ce93d8; font-size: 0.95rem; }
.s6-jackpot .r7-prize {
  color: #fff; font-size: 1rem;
  background: linear-gradient(135deg, #ab47bc, #6a1b9a);
  border: none;
  box-shadow: 0 3px 12px rgba(171,71,188,0.4);
}

/* ===== VICTORY 6 OFFER CARD ===== */
.victory6-offer-card { border-left: 3px solid #ffcc02; }
.victory6-offer-card:hover { box-shadow: 0 10px 28px rgba(255,204,2,0.15); border-color: #ffcc02; }

.victory6-offer-badge {
  background: rgba(255,204,2,0.12);
  border: 1px solid rgba(255,204,2,0.4);
  color: #ffcc02;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.multiplier-tag {
  background: #ef5350; color: #fff;
  padding: 1px 8px; border-radius: 10px;
  font-size: 0.68rem; font-weight: 800;
}
.v6-jackpot {
  background: linear-gradient(135deg, rgba(255,204,2,0.15), rgba(230,81,0,0.1));
  border: 1px solid rgba(255,204,2,0.4);
}
.v6-jackpot .r7-match { color: #ffcc02; font-size: 0.95rem; }
.v6-jackpot .r7-prize {
  color: #111; font-size: 1rem;
  background: linear-gradient(135deg, #ffcc02, #e65100);
  border: none;
  box-shadow: 0 3px 12px rgba(255,204,2,0.4);
}
.multiplier-offer-tag {
  background: rgba(239,83,80,0.1) !important;
  border: 1px solid rgba(239,83,80,0.3) !important;
  color: #ef5350 !important;
}

/* ===== EXPIRED OFFER STATE ===== */
.offer-expired {
  background: rgba(150,150,150,0.15);
  border: 1px solid rgba(150,150,150,0.3);
  color: #888;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.expired-banner {
  margin-top: 14px;
  background: rgba(239,83,80,0.1);
  border: 1px solid rgba(239,83,80,0.3);
  border-radius: 8px;
  padding: 9px 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef5350;
  letter-spacing: 0.5px;
}

/* ===== WINNER CARD — IMAGE STYLE ===== */
.winner-card-new {
  background: #0a0a1a;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: all 0.3s;
}
.winner-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(255,215,0,0.15);
  border-color: rgba(255,215,0,0.5);
}

.wcn-top-label {
  background: linear-gradient(135deg, #b8860b, #FFD700);
  color: #111;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 2px;
  padding: 8px 20px;
  text-align: left;
}

.wcn-body {
  padding: 20px;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(255,215,0,0.06) 0%, transparent 70%);
}

.wcn-shop {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.wcn-city {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.wcn-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.wcn-photo-placeholder {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 4px solid #4fc3f7;
  box-shadow: 0 0 0 3px rgba(79,195,247,0.3), 0 0 24px rgba(79,195,247,0.2);
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: var(--text-muted);
  overflow: hidden;
}

.wcn-photo-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.wcn-crown {
  position: absolute;
  font-size: 1.6rem;
  top: 50%; transform: translateY(-50%);
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.6));
}
.wcn-crown.left  { left: -32px; }
.wcn-crown.right { right: -32px; }

.wcn-game-tag {
  display: inline-block;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 7px 28px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.supper6-tag  { background: linear-gradient(135deg, #FF6B35, #e65100); color: #fff; box-shadow: 0 4px 14px rgba(255,107,53,0.4); }
.lucky3-tag   { background: linear-gradient(135deg, #4CAF50, #1b5e20); color: #fff; box-shadow: 0 4px 14px rgba(76,175,80,0.4); }
.great4-tag   { background: linear-gradient(135deg, #FFD700, #e65100); color: #111; box-shadow: 0 4px 14px rgba(255,215,0,0.4); }
.win5-tag     { background: linear-gradient(135deg, #4fc3f7, #0277bd); color: #fff; box-shadow: 0 4px 14px rgba(79,195,247,0.4); }
.real7-tag    { background: linear-gradient(135deg, #ef5350, #b71c1c); color: #fff; box-shadow: 0 4px 14px rgba(239,83,80,0.4); }
.victory6-tag { background: linear-gradient(135deg, #ffcc02, #e65100); color: #111; box-shadow: 0 4px 14px rgba(255,204,2,0.4); }

.wcn-prize {
  display: inline-block;
  background: #FFD700;
  color: #111;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 6px 24px;
  border-radius: 30px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(255,215,0,0.4);
  letter-spacing: 1px;
}

.wcn-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.wcn-winner-label {
  color: #4CAF50;
  font-weight: 800;
}

.wcn-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: flex-end;
}
