/* ======================================== */
/* Tailwind preloaded via CDN, so only custom CSS here */
/* ======================================== */

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  font-weight: bold;
}

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

/* Neon gradient glow text */
.glow-text {
  background: linear-gradient(90deg, #FFD700, #FF4500, #FF69B4, #00FFFF, #7CFC00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FF4500, 0 0 15px #FF69B4; }
  50% { text-shadow: 0 0 10px #00FFFF, 0 0 20px #7CFC00, 0 0 30px #FF4500; }
  100% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FF4500, 0 0 15px #FF69B4; }
}

/* Glow lines animation for advertisement card */
@keyframes glowline {
  0% { transform: translateX(-100%) }
  100% { transform: translateX(100%) }
}

.animate-glowline {
  animation: glowline 3s linear infinite;
}

.animation-delay-1500 {
  animation-delay: 1.5s;
}

/* Result box styling */
.result-box {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 16px;
  background: #1e1e2f;
  color: #fff;
  border: 2px solid #ffcc00;
  text-align: center;
  font-family: Arial, sans-serif;
  border-radius: 8px;
}

.result-box strong {
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.result-box .links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-box a.game-link {
  display: block;
  padding: 12px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 6px;
}

.result-box a.game-link:hover {
  background: #ffcc00;
  color: #111;
  border-color: #fff;
}

.result-box a.guessing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #ff3399;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.result-box a.guessing::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #ff3399;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.result-box a.guessing:hover::after {
  transform: scale(1);
}

/* Satta Chart Table */
.satta-chart {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
}

.satta-chart-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

.satta-chart-table th, .satta-chart-table td {
  border: 1px solid #ccc;
  padding: 8px;
  word-break: break-word;
}

.satta-chart-table th {
  font-weight: bold;
  background-color: #ffcc00;
  color: #000;
}

.satta-chart-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.satta-chart-table tbody tr:nth-child(even) {
  background-color: #ededed;
}

.satta-chart-table tbody tr:hover {
  background-color: #ffeb99;
}

.satta-chart input[type="number"], 
.satta-chart input[type="tel"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  width: 100%;
}

/* Responsive font & layout */
@media (max-width: 768px) {
  .result-box strong {
    font-size: 18px;
  }

  .result-box a.game-link {
    font-size: 14px;
    padding: 10px;
  }

  .satta-chart-table {
    font-size: 12px;
  }

  .result-box {
    padding: 12px;
    width: 95%;
  }
}

/* Footer */
.footer {
  text-align: center;
  font-size: 16px;
  color: #000;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  padding: 10px 0;
  border-top: 2px solid #ffcc00;
  transition: background 0.3s ease;
  word-wrap: break-word;
}

.footer span {
  font-weight: bold;
}

.footer:hover {
  background-color: #ffcc00;
  color: #111;
  cursor: pointer;
}

/* Inline alert box from HTML */
.inline-alert {
  background-color: white;
  color: red;
  font-weight: bold;
  font-style: italic;
  font-size: 15px;
  text-decoration: none;
  border-width: 5px;
  border-color: lime;
  border-style: outset;
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  word-wrap: break-word;
}
