* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #03038d, #65007e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow-x: hidden;
}

/* Glass Wrapper */
.wrapper {
      width: 95%;
    max-width: 1300px;
    padding: 80px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Header */
header {
  text-align: center;
  margin-bottom: 50px;
}

header h1 {
  font-size: 50px;
  letter-spacing: 2px;
  font-weight: 700;
}

header h1 span {
  color: #00ffd5;
}

header p {
    opacity: 1.7;
    margin-top: 2px;
    font-size: 20px;
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.tiles a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* uses the tile's text color (white) */
  display: block;          /* so it fills the grid space */
}

.tile {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0.9;
}

/* Image Box */
.img-box {
  width: 100%;
  height: 140px;
  margin-bottom: 15px;
  border-radius: 15px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tile h2 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.tile span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Hover */
.tile:hover {
  transform: translateY(-8px) scale(1.03);
}

.tile:hover .img-box img {
  transform: scale(1.1);
}

/* Neon Colors */
.neon-purple::before { box-shadow: inset 0 0 0 2px #9d7cff, 0 0 20px #9d7cff; }
.neon-cyan::before   { box-shadow: inset 0 0 0 2px #00ffd5, 0 0 20px #00ffd5; }
.neon-pink::before   { box-shadow: inset 0 0 0 2px #ff4ecd, 0 0 20px #ff4ecd; }
.neon-blue::before   { box-shadow: inset 0 0 0 2px #4da6ff, 0 0 20px #4da6ff; }

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    font-size: 18px;
    opacity: 0.7;
}

/* ================= Animated Background ================= */
.animated-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.animated-bg span {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(100px);
  animation: float 28s infinite alternate ease-in-out;
}

.animated-bg span:nth-child(1) { top: -100px; left: -100px; background: linear-gradient(135deg,#00ffd5,#9d7cff); animation-duration:22s;}
.animated-bg span:nth-child(2) { bottom: -150px; right: -100px; background: linear-gradient(135deg,#ff4ecd,#ff9f4d); animation-duration:26s;}
.animated-bg span:nth-child(3) { top: 40%; left: -150px; background: linear-gradient(135deg,#4da6ff,#00ffd5); animation-duration:30s;}
.animated-bg span:nth-child(4) { bottom: 30%; right: -200px; background: linear-gradient(135deg,#9d7cff,#ff4ecd); animation-duration:28s;}
.animated-bg span:nth-child(5) { top: 20%; left: 50%; background: linear-gradient(135deg,#ff4ecd,#00ffd5); animation-duration:24s;}
.animated-bg span:nth-child(6) { bottom: 10%; left: 30%; background: linear-gradient(135deg,#4da6ff,#ff9f4d); animation-duration:32s;}

@keyframes float {
  0%   { transform: translate(0,0) scale(1); }
  25%  { transform: translate(40px,-50px) scale(1.05); }
  50%  { transform: translate(-60px,60px) scale(0.95); }
  75%  { transform: translate(30px,40px) scale(1.1); }
  100% { transform: translate(-20px,-30px) scale(1); }
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
  header h1 { font-size: 1.6rem; }
  header p { font-size: 0.9rem; }
  .img-box { height: 120px; }
  .tile h2 { font-size: 1rem; }
  .tile span { font-size: 0.75rem; }
  .wrapper { padding: 20px; }
}

@media (max-width: 480px) {
  .tiles { gap: 15px; }
  .img-box { height: 100px; }
  .tile { padding: 15px; }
}

.live-time {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
  color: #00ffd5;       /* neon style color */
  letter-spacing: 1px;


}

.live-time i {
  margin-right: 8px;
  color: #00ffd5; /* neon color */
}


.tile:active {
  box-shadow: 0 0 30px #00ffd5, 0 0 60px rgba(0,255,213,0.5);
  transform: scale(1.05);
}

