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

body {
  background-color: #1a001f;
  font-family: 'Share Tech Mono', monospace;
  color: #ffffff;
}

/* Header */
.neon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  background: #2a0033;
  border-bottom: 2px solid #ff00cc;
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.3);
  position: relative;
  z-index: 1000;
}

/* Logo */
.logo {
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span {
  color: #ff00cc;
}

/* Navbar */
.navbar a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 1.7rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ff00cc;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.navbar a:hover {
  color: #ff00cc;
}

.navbar a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .neon-header {
    
    align-items: flex-start;
    padding: 20px;
  }

  .navbar {
    margin-top: 15px;
    display: flex;
    
    gap: 10px;
    width: 100%;
  }

  .navbar a {
    margin-left: 0;
  }
}


/* Container */
.result-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background: #1a001f;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}

/* Subtitle / Slogan */
.result-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f2f2f2;
    margin-bottom: 30px;
}

/* Game Title */
.game-title {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 5px;
}

.game-title-small {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 5px;
}

/* Hindi name */
.game-subtitle {
    font-size: 1.2rem;
    color: #ff66cc;
    margin-bottom: 10px;
}

/* Result text */
.game-result {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00cc;
    margin-bottom: 20px;
}

/* Separator between results */
.result-separator {
    border: none;
    border-top: 2px solid #ff00cc;
    margin: 30px 0;
}

/* Blink animation */
.blink {
    animation: blinkAnimation 1s steps(2, start) infinite;
}

@keyframes blinkAnimation {
    to {
        visibility: hidden;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .game-title, .game-result {
        font-size: 1.5rem;
    }

    .result-subtitle {
        font-size: 1rem;
    }

    .game-subtitle {
        font-size: 1rem;
    }
}
.news-ticker {
  background: #ff800;
  color: #ADFF2F;
  padding: 10px 0;
  font-size: 22px;
  font-weight: bold;
  overflow: hidden;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
}

/* Color Classes */
.news-label {
  color: #A52A2A;
  margin-right: 10px;
}

.live-label {
  color: #ff7e00;
  margin-right: 10px;
}

.result-blue {
  color: #0000FF;
  margin-right: 10px;
}

.result-red {
  color: red;
  margin-right: 20px;
}

.arrow {
  color: #00b63c;
  margin: 0 15px;
}

/* Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* Grid layout */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  max-width: 1200px;
}

/* Game card base style */
.game-card {
  background-color: #121212;
  color: #f5f5f5;
  border: 2px solid #333;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: scale(1.02);
}

/* Width types */
.full-width {
  flex: 0 0 100%;
  background-color: #05584c;
}

.half-width {
  flex: 0 0 calc(50% - 20px);
  background-color: #1e1e1e;
}

/* Text styles */
.game-name {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 5px;
}

.game-time {
  font-size: 1rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

.game-result.old {
  color: #dddddd;
  font-size: 1rem;
}

.game-result.new {
  font-size: 1.5rem;
  color: #00ffff;
  font-weight: bold;
  margin-top: 5px;
}

/* Background color classes if needed */
.back1 { background-color: #2a0033; }
.back2 { background-color: #0f1a2b; }
.back3 { background-color: #1a2b3c; }
.back4 { background-color: #003b3b; }
/* Add more if needed */

/* Responsive layout */
@media (max-width: 768px) {
  .half-width, .full-width {
    flex: 0 0 100%;
  }
}
/* Container heading */
.records-chart {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px auto;
    color:#c719c7;
    border-bottom: 3px solid #8d038d;
    padding-bottom: 10px;
    width: fit-content;
}

/* Table container */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}

/* Table headers */
.result-table th {
    padding: 8px;
    text-align: center;
    font-size: 12px;
    height: 30px;
    border: 1px solid #000;
    background-color: #8d038d;
    color: #ffffff;
    text-transform: uppercase;
}

/* Table cells */
.result-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 13px;
    background-color: #f9f9f9;
}

/* Alternate row coloring for better readability */
.result-table tr:nth-child(even) td {
    background-color: #f1f1f1;
}

/* Responsive table: Scroll on small screens */
@media screen and (max-width: 768px) {
    .result-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .records-chart {
        font-size: 18px;
    }

    .result-table th,
    .result-table td {
        font-size: 11px;
        padding: 6px;
    }
}

