/* Complete Clean Redesign - No Fluff, Real Design */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #1a202c;
  line-height: 1.6;
}

/* Hide all old content */
.marquee2, .notice, #matkaPopup, .heart, .ball, .shape1 { 
  display: none !important; 
}

/* Top Slider Section */
.top-slider {
  background: linear-gradient(135deg, #a10a11 0%, #ea5004a6 100%);
  color: white;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topSlider {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 20px;
  text-align: center;
}

.slide-icon {
  flex-shrink: 0;
}

.slide-icon i {
  font-size: 40px;
  color: #ffd700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-text {
  flex: 1;
  text-align: left;
}

.slide-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.slide-text p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}

/* Slider Animation Effects */
.slide-content {
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-icon i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .slide-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .slide-text {
    text-align: center;
  }
  
  .slide-icon i {
    font-size: 32px;
  }
  
  .slide-text h3 {
    font-size: 18px;
  }
  
  .slide-text p {
    font-size: 14px;
  }
}

/* Professional Header */
.modern-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

.site-tagline {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #2563eb;
}

.download-btn {
  background: #2563eb;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.download-btn:hover {
  background: #1d4ed8;
  color: white;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #a10a11 0%, #ea5004a6 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 50px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Results Section */
.results-section {
  padding: 80px 20px;
  background: white;
}

.results-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a202c;
}

.section-title p {
  color: #64748b;
  font-size: 16px;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Attractive Game Cards */
.game-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 20px;
  padding: 0;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a10a11, #ea5004a6, #f093fb, #f5576c);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.15),
    0 8px 32px rgba(0,0,0,0.08);
}

/* Game Header with Icon */
.game-header {
  background: linear-gradient(135deg, #a10a11, #ea5004a6);
  color: white;
  padding: 25px 30px;
  margin: 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.game-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 6s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.game-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.game-status {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Stylish Result Display */
.game-result {
  text-align: center;
  margin: 0;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.result-numbers {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #a10a11, #ea5004a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Courier New', monospace;
  padding: 25px;
  margin: 20px 0;
  border-radius: 16px;
  background-color: rgba(102, 126, 234, 0.05);
  border: 2px solid rgba(102, 126, 234, 0.1);
  position: relative;
  text-shadow: none;
  letter-spacing: 3px;
}

.result-numbers::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #a10a11, #ea5004a6, #f093fb, #f5576c);
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .result-numbers::before {
  opacity: 1;
}

.game-card:hover .result-numbers {
  background-color: rgba(255,255,255,0.9);
}

/* Attractive Timing Section */
.game-timing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 25px 30px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.time-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.time-item i {
  font-size: 16px;
  color: #a10a11;
  width: 20px;
  text-align: center;
}

.time-item span {
  color: #374151;
  font-weight: 600;
  font-size: 14px;
}

/* Attractive Chart Button */
.chart-btn {
  display: block;
  background: linear-gradient(135deg, #a10a11, #ea5004a6);
  color: white;
  text-align: center;
  padding: 16px 20px;
  margin: 0;
  border-radius: 0 0 20px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.chart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.chart-btn:hover::before {
  left: 100%;
}

.chart-btn:hover {
  background: linear-gradient(135deg, #5a67d8, #a10a11);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.chart-btn i {
  margin-right: 10px;
  font-size: 18px;
}

/* Special Effects */
.game-card:nth-child(odd) {
  animation: floatUp 6s ease-in-out infinite;
}

.game-card:nth-child(even) {
  animation: floatDown 6s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .result-numbers {
    font-size: 32px;
    padding: 20px;
  }
  
  .game-timing {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .game-header {
    padding: 20px 25px;
  }
  
  .game-name {
    font-size: 18px;
  }
}

/* Tables - Clean Design */
table {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th {
  background: #f8fafc;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e2e8f0;
}

td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
}

tr:last-child td {
  border-bottom: none;
}

/* Section Styling */
.how-section, .faq-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.how-section .container, .faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a202c;
}

.section-header__title i {
  margin-right: 10px;
  color: #2563eb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
    height: 60px;
  }
  
  .main-nav {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 14px;
  }
  
  .download-btn {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .game-card {
    padding: 20px;
  }
  
  .result-numbers {
    font-size: 24px;
    padding: 15px;
  }
  
  .game-timing {
    flex-direction: column;
    gap: 10px;
  }
  
  th, td {
    padding: 15px 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .main-nav .nav-link {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .site-logo {
    font-size: 20px;
  }
  
  .hero-title {
    font-size: 28px;
  }
}

/* Footer */
.site-footer {
  background: #1a202c;
  color: white;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #2563eb;
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #a0aec0;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  color: white;
  font-size: 18px;
}

.footer-links a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2563eb;
}

.footer-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-download:hover {
  background: #1d4ed8;
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #a0aec0;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .site-footer {
    padding: 40px 15px 20px;
  }
}