@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap');

:root {
  --primary: #1a1a1a;
  --accent: #e50914; /* bold red */
  --highlight: #007bff; /* deep electric blue */
  --soft-gray: #f9f9f9;
  --light-gray: #e0e0e0;
  --text-dark: #222;
  --text-muted: #666;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
  padding-bottom: 4rem;
}

/* Header */
.faze-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  padding-top: 10px;
  position: relative;
}

.faze-logo {
  width: 500px;
  height: auto;
  transition: 0.3s ease all;
}

.faze-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    270deg,
    var(--accent),
    var(--highlight),
    orange,
    var(--highlight),
    var(--accent)
  );
  background-size: 200% 100%;
  animation: moveLine 5s linear infinite;
  position: absolute;
  bottom: 0;
}

@keyframes moveLine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Navbar Links */
.nav-link {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--text-dark) !important;
  background: rgba(229, 9, 20, 0.1); /* subtle background */
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease; /* smooth transitions */
}

.nav-link:hover {
  color: var(--highlight); /* change hover text color */
  background: rgba(229, 9, 20, 0.2); /* slightly darker background */
  text-shadow: 0 0 4px var(--highlight); /* subtle glow */
}



/* Clip Card */
.clip-card {
  background: var(--soft-gray);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.clip-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Thumbnail */
.clip-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--highlight);
  transition: 0.3s ease filter;
}
.clip-thumbnail:hover {
  filter: brightness(1.08) contrast(1.05);
}

/* Clip Metadata */
.clip-meta {
  padding: 1rem;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clip-meta a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
  transition: 0.3s ease;
}
.clip-meta a:hover {
  color: var(--highlight);
  text-shadow: 0 0 4px var(--highlight);
}

.clip-meta strong {
  color: var(--text-dark);
}

/* Extra Meta Info */
.clip-meta .meta-extra {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modal */
#modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 8, 0.95);
  z-index: 9999;
}

#modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 24px var(--highlight);
  animation: pulseGlow 4s infinite ease-in-out;
}

#modal iframe {
  width: 100%;
  height: 540px;
  border: none;
  border-radius: 16px;
}

#close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* Modal Pulse */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 16px var(--accent); }
  50% { box-shadow: 0 0 32px var(--highlight); }
  100% { box-shadow: 0 0 16px var(--accent); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.stat-tile {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease all;
  text-align: center;
  border: 2px solid #f0f0f0;
  position: relative;
  font-family: 'Rajdhani', sans-serif;
}

.stat-tile:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 12px rgba(255, 0, 79, 0.2);
  border-color: rgba(255, 0, 79, 0.4);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
}


.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: red;
  border-radius: 50%;
  animation: pulse 1s infinite;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}



@media (max-width: 768px) {
  .faze-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  

  .clip-thumbnail {
    height: auto;
    max-height: 200px;
  }

  .clip-meta {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .clip-meta .meta-extra {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .stat-value {
    font-size: 1.1rem;
  }

  #modal iframe {
    height: 60vw;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .clip-meta {
    font-size: 0.85rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .faze-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-top: 10px;
    text-align: center;
    position: relative;
  }
  

  .faze-logo {
    width: 90%;
    max-width: 260px;
  }
}
@media (max-width: 991px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
