
:root {
  --openai-black: #000000;
  --openai-white: #FFFFFF;
}
html {
  /* Set base font size so that 100% browser zoom matches the old 90% */
  font-size: 112.5%;
  overflow-x: hidden;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--openai-black) !important;
  background-image: none !important;
  color: var(--openai-white) !important;
  overflow-x: hidden;
  padding-top: 8rem;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    padding-top: 12rem;
  }
}

/* Navigation uses default system fonts to keep non-nav text in Inter */
nav, nav * {
  font-family: Helvetica, Arial, sans-serif;
}

/* Nav title with larger, bold text */
.nav-title {
  font-size: 1rem;
  font-weight: 700;
}

/* Logo with reduced height */
.logo-shimmer img {
  height: 4.5rem;
}

/* Bubble border style for grouped nav tabs */
.nav-tabs {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.nav-tabs:hover {
  background: rgba(255, 255, 255, 0.2);
}

body * {
  color: var(--openai-white) !important;
}

/* Ensure consistent paragraph width across the site */
p {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Center text for headings */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  text-align: center;
}

#intro-message {
  white-space: normal;
  max-width: 100%;
}

/* Uniform section header sizing to match "Who We Are" */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-size: 1.875rem !important; /* Tailwind's text-3xl */
  line-height: 2.25rem !important;
  font-family: "Courier New", monospace;
  text-align: center;
}

/* Sticky navigation bar */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Transparent glassmorphic utility */
.glass {
  background: transparent !important;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none !important;
}

/* Team card layout */
.card {
  width: 320px;
  height: 21rem;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  overflow-wrap: anywhere;
}

.card img {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
}

/* Instagram marquee */
.insta-marquee {
  overflow: hidden;
  position: relative;
}

.insta-row {
  display: flex;
  width: max-content;
}

.insta-item {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

.insta-row-fast {
  animation: insta-scroll 50s linear infinite;
}

.insta-row-slow {
  animation: insta-scroll 75s linear infinite;
  animation-delay: -37.5s;
  margin-top: 1rem;
}

  @keyframes insta-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

.fade-in-block {
  opacity: 0;
  transition: opacity 2.7s ease-in-out;
}

.fade-in-block.visible {
  opacity: 1;
}

/* Container for the club logo */
.logo-shimmer {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
}

/* 3D hover floating jiggle */
.hover-jiggle {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform;
}

.hover-jiggle:hover {
  animation: jiggle-3d 1.5s ease-in-out infinite;
}

@keyframes jiggle-3d {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-4px) rotateX(6deg) rotateY(-6deg);
  }
  50% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  75% {
    transform: translateY(-4px) rotateX(-6deg) rotateY(6deg);
  }
}

/* Instagram follow icon styles */
.insta-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0;
  background: none;
}

.linkedin-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0;
  background: none;
}

.insta-icon img,
.linkedin-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Jiggle animation for social icons */
.insta-icon:hover,
.linkedin-icon:hover {
  animation: icon-jiggle 0.6s infinite;
}

/* Shine effect for LinkedIn icon */
.linkedin-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.linkedin-icon:hover::after {
  animation: icon-shine 0.75s forwards;
}

@keyframes icon-jiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

@keyframes icon-shine {
  from {
    left: -100%;
  }
  to {
    left: 200%;
  }
}
/* Glassmorphic button style */
.glass-button {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.2);
}
