
:root {
  --clr: #0a53ff;
  --glass: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.25);
}

/* ----------------- BODY ----------------- */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
 font-family: 'Orbitron', sans-serif;
  background: url(./road.jpg) center/cover no-repeat;
}

/* ----------------- WRAPPER ----------------- */
.wrapper {
  position: relative;
  width: 900px;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------------- GLOW CIRCLE ----------------- */
.circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  filter: drop-shadow(0 0 40px var(--clr));
  animation: pulse 3.5s infinite ease-in-out;
  transition: 0.6s ease;
  z-index: 3;
}
.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes pulse {
  0%   { filter: drop-shadow(0 0 20px var(--clr)); }
  50%  { filter: drop-shadow(0 0 70px var(--clr)); }
  100% { filter: drop-shadow(0 0 20px var(--clr)); }
}

/* ----------------- BLOG CARD GRID ----------------- */
.blog-card {
  position: absolute;
  width: 95%;
  height: 95%;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  color: white;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: start;

  opacity: 0;
  transform: scale(0.7);
  transition: 0.7s ease;
  z-index: 5;
}

/* ----------------- CARD ----------------- */
.card {
  width: 100%;
  max-width: 230px;
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
}

/* ----------------- CARD CONTENT ----------------- */
.card-content {
  padding: 10px;
  text-align: center;
}
.card-content h3 {
  font-size: 1rem;
  color: #f39c12;
  margin: 5px 0;
}
.card-content p {
  font-size: 0.8rem;
  color: #ddd;
}

/* ----------------- VIDEO WRAPPER ----------------- */
.video-wrapper {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ----------------- UNIQUE CARD COLORS ----------------- */
.card-1 { border-color: #ff3b3b; box-shadow: 0 0 10px #ff3b3b77; }
.card-2 { border-color: #9b59b6; box-shadow: 0 0 10px #9b59b677; }
.card-3 { border-color: #3498db; box-shadow: 0 0 10px #3498db77; }
.card-4 { border-color: #2ecc71; box-shadow: 0 0 10px #2ecc7177; }
.card-5 { border-color: #f1c40f; box-shadow: 0 0 10px #f1c40f77; }
.card-6 { border-color: #e67e22; box-shadow: 0 0 10px #e67e2277; }

/* ----------------- VIDEO MODAL ----------------- */
#videoModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#modalContent {
  position: relative;
  width: 80%;
  max-width: 800px;
  height: 45%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
#modalIframe {
  width: 100%;
  height: 100%;
  border: none;
}
#closeModal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}
