/* Responsive styles for .hello section - fix card width and gap issues */
.hello {
  padding-left: 32px;
  padding-right: 32px;
}

.frb-team-card-wrapper {
  gap: 32px !important;
  flex-wrap: wrap;
  justify-content: center;
}
.frb-team-card {
  max-width: 340px;
  width: 100%;
  margin: 32px 0 !important;
}
.frb-square-frame {
  max-width: 340px;
  width: 100%;
  height: 340px;
}

@media (max-width: 900px) {
  .hello {
    padding-left: 12px;
    padding-right: 12px;
  }
  .frb-cards-heading {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .hello {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .frb-cards-heading {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  .frb-team-card-wrapper {
    flex-direction: column !important;
    align-items: center !important;
  }
  .frb-member-name {
    font-size: 1rem;
    margin-top: 10px !important;
  }
}

/* Heading for the team cards section */
.frb-cards-heading {
  color: #e10600;
  text-align: center;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.2rem;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  font-weight: 600 !important;
}

.frb-social-link:hover i {
  animation: frb-flip360 0.7s linear;
  transform: rotateY(360deg);
}

@keyframes frb-flip360 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

body{
  background-color: #000;
}

.frb-square-frame > .frb-member-photo,
.frb-square-photo {
  border-radius: 18px 18px 0 0 !important;
}

.frb-member-photo,
.frb-photo-frame,
.frb-card-image-fit {
  border-radius: 0 !important;
}

.frb-racing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.frb-team-card-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frb-team-card {
  position: relative;
  background: #181818;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px #e1060033, 0 4px 6px -2px #000a;
  border: 2px solid rgba(225,6,0,0.22);
  overflow: hidden;
  transition: box-shadow 0.3s, border 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.frb-team-card:hover {
  border-color: #e10600;
}

.frb-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 60px 10px #e10600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.frb-team-card:hover .frb-card-glow {
  opacity: 1;
}

.frb-member-photo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  position: relative;
}
.frb-photo-frame,
.frb-card-image-fit {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 0;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.frb-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s, filter 0.4s;
  border: none;
  background: var(--color-black);
  z-index: 1;
}
.frb-photo-frame:hover .frb-member-photo,
.frb-team-card:hover .frb-photo-frame .frb-member-photo {
  filter: blur(4px) brightness(0.8);
  transform: none;
}

/* Square image override for this card */
.frb-square-frame {
  width: 340px;
  height: 340px;
  border-radius: 0 0 18px 18px; /* Only bottom corners rounded */
}
.frb-square-photo {
  border-radius: 0 0 18px 18px; /* Only bottom corners rounded */
}
.frb-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #e10600 0%, #fff 100%);
  opacity: 0.13;
  pointer-events: none;
}
.frb-holographic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #fff 0%, #e10600 100%);
  opacity: 0.10;
  pointer-events: none;
  mix-blend-mode: lighten;
  animation: frb-holographicShimmer 2.5s linear infinite;
}
@keyframes frb-holographicShimmer {
  0% { opacity: 0.10; }
  50% { opacity: 0.18; }
  100% { opacity: 0.10; }
}
.frb-performance-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px;
  z-index: 1;
  pointer-events: none;
}
.frb-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #e10600;
  opacity: 0.13;
  animation: frb-rotateRing 8s linear infinite;
}
.frb-ring-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed #fff;
  opacity: 0.18;
  animation: frb-rotateRing 12s linear reverse infinite;
}
@keyframes frb-rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.frb-ring-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed #21808d;
  opacity: 0.22;
  animation: frb-rotateRing 12s linear reverse infinite;
}
@keyframes frb-rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.frb-social-links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.frb-social-overlay {
  width: 100%;
  height: 100%;
}

.frb-photo-frame:hover .frb-social-links,
.frb-photo-frame:focus-within .frb-social-links,
.frb-team-card:hover .frb-social-links {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.frb-social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #e10600;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px #e1060022;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  overflow: visible;
  text-decoration: none;
}

.frb-social-link:hover {
  background: #e10600;
  color: #fff;
  box-shadow: 0 4px 16px #e1060055;
  text-decoration: none !important;
}

.frb-social-link .frb-social-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #e10600;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  z-index: 10;
}
.frb-social-link:hover .frb-social-tooltip {
  opacity: 1;
}

.frb-member-info {
  text-align: center;
  margin-top: 18px;
  width: 100%;
}
.frb-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: filter 0.4s;
  border: none;
  background: var(--color-black);
  z-index: 1;
  position: relative;
}
.frb-photo-frame:hover .frb-member-photo,
.frb-photo-frame:focus-within .frb-member-photo {
  filter: blur(4px) brightness(0.8);
  /* Remove any transform/rotation on hover */
  transform: none;
}

.frb-team-card:hover .frb-animated-underline {
  width: 90px;
}
.frb-member-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  color: #bbb;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}
.frb-member-title i {
  color: #fff;
  text-shadow: 0 0 8px #e10600cc;
  animation: frb-crownGlow 2s infinite alternate;
}
@keyframes frb-crownGlow {
  0% { text-shadow: 0 0 8px #e10600cc; }
  100% { text-shadow: 0 0 16px #fff; }
}

.frb-speed-indicator {
  margin: 24px auto 0 auto;
  width: 80%;
  text-align: center;
}
.frb-member-info {
  text-align: center;
  margin-top: 18px;
  width: 100%;
  margin-top: 10px;
}
.frb-member-name {
  font-size: 23px;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #e10600;
  margin-bottom: 4px;
  transition: color 0.2s;
  text-shadow: 0 2px 8px #e1060044;
  margin-top: 20px !important;
  text-transform: uppercase !important;
  
}
.frb-team-card:hover .frb-member-name {
  color: #fff;
}
.frb-animated-underline {
  width: 60px;
  height: 4px;
  margin: 0 auto 8px auto;
  background: linear-gradient(90deg, #e10600 0%, #fff 100%);
  border-radius: 2px;
  transition: width 0.3s;
}
.frb-team-card:hover .frb-animated-underline {
  width: 90px;
}

  .frb-member-photo-container {
    margin-top: 18px;
  }
  .frb-photo-frame,
  .frb-square-frame {
    width: 98vw;
    height: 98vw;
    max-width: 340px;
    max-height: 340px;
  }

.frb-team-card-wrapper{
  transform: scale(0.97);
  transition: transform 0.3s ease-in-out; 
  
}

.frb-team-card-wrapper:hover{
  transform: scale(1);
}