* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

body {
  background-color: rgb(15, 15, 15);
  color: white;
  font-family: "Inter", sans-serif;
}

#about > *,
#team > *,
#contact > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#about > *.scroll-visible,
#team > *.scroll-visible,
#contact > *.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

nav {
  width: 100%;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0)
  );

  backdrop-filter: blur(1.5px);
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  gap: 20px;
}

nav ul img {
  width: 65px;
  height: auto;
  object-fit: contain;
  display: block;
  
}

nav ul {
  min-height: 70px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  font-size: x-large;
  padding: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  border-bottom: 2px solid transparent;
  transition: transform 0.5s ease, color 0.5s ease, border-bottom 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 10px;
}

.logo img {
  width: 65px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.6)) hue-rotate(0deg) saturate(1.5) brightness(1.2);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

section {
  min-height: auto;
  padding: 60px 20px;
  text-align: center;
}

.team-section,
.contact-section {
  background: rgba(18,18,18,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 100px 20px 40px 20px;
}

.section-heading {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  margin: 20px auto 50px auto;
  text-align: center;
}

.team-cards,
.contact-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  flex-wrap: wrap;
}

#intro {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 35vh;
  padding-top: 180px;
  z-index: 10;
}

.background-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0) 100%);
  mask-composite: multiply;
  -webkit-mask-composite: source-in;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: 
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
  mask-composite: multiply;
  -webkit-mask-composite: source-in;
}

.hero-text {
  position: absolute;
  left: 6%;
  bottom: 8%;
  z-index: 6;
  color: white;
  text-align: left;
  max-width: 56%;
  pointer-events: none;
}

.about {
  padding: 100px 20px 40px 20px;
  background: rgba(18,18,18,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.about-us-heading {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  margin: 20px auto 50px auto;
  text-align: center;
}

.about-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 520px;
  max-width: calc(50% - 28px);
  background: rgba(18,18,18,0.6);
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.06);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  display: flex;
  flex-direction: column;
}

.card-content {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(10,10,10,0.3), rgba(20,20,20,0.2));
  backdrop-filter: blur(8px);
}

.card-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.card-title {
  padding: 20px 24px;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.card--blue .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(62,168,255,0) 0%, rgba(62,168,255,0.7) 50%, rgba(62,168,255,0) 100%);
}

.card--green .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(60,255,140,0) 0%, rgba(60,255,140,0.7) 50%, rgba(60,255,140,0) 100%);
}

.card--purple .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(168,85,247,0) 0%, rgba(168,85,247,0.7) 50%, rgba(168,85,247,0) 100%);
}

.card--pink .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(236,72,153,0) 0%, rgba(236,72,153,0.7) 50%, rgba(236,72,153,0) 100%);
}

.card--orange .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(249,115,22,0) 0%, rgba(249,115,22,0.7) 50%, rgba(249,115,22,0) 100%);
}

.card--cyan .card-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,0) 0%, rgba(34,211,238,0.7) 50%, rgba(34,211,238,0) 100%);
}

/* Blue card hover styles */
.card--blue:hover {
  border-color: rgba(62,168,255,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(62,168,255,0.12), 0 8px 30px rgba(62,168,255,0.08), 0 0 36px rgba(62,168,255,0.12);
}

/* Green card hover styles */
.card--green:hover {
  border-color: rgba(60,255,140,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(60,255,140,0.12), 0 8px 30px rgba(60,255,140,0.08), 0 0 36px rgba(60,255,140,0.12);
}

/* Purple card hover styles */
.card--purple:hover {
  border-color: rgba(168,85,247,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(168,85,247,0.12), 0 8px 30px rgba(168,85,247,0.08), 0 0 36px rgba(168,85,247,0.12);
}

/* Pink card hover styles */
.card--pink:hover {
  border-color: rgba(236,72,153,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(236,72,153,0.12), 0 8px 30px rgba(236,72,153,0.08), 0 0 36px rgba(236,72,153,0.12);
}

/* Orange card hover styles */
.card--orange:hover {
  border-color: rgba(249,115,22,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(249,115,22,0.12), 0 8px 30px rgba(249,115,22,0.08), 0 0 36px rgba(249,115,22,0.12);
}

/* Cyan card hover styles */
.card--cyan:hover {
  border-color: rgba(34,211,238,1);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(34,211,238,0.12), 0 8px 30px rgba(34,211,238,0.08), 0 0 36px rgba(34,211,238,0.12);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  transition: box-shadow 280ms ease, opacity 280ms ease;
}

.card--blue::after {
  box-shadow: 0 0 0 0 rgba(62,168,255,0.0);
}

.card--blue:hover::after {
  box-shadow: 0 0 40px 6px rgba(62,168,255,0.06);
}

.card--green::after {
  box-shadow: 0 0 0 0 rgba(60,255,140,0.0);
}

.card--green:hover::after {
  box-shadow: 0 0 40px 6px rgba(60,255,140,0.06);
}

.card--purple::after {
  box-shadow: 0 0 0 0 rgba(168,85,247,0.0);
}

.card--purple:hover::after {
  box-shadow: 0 0 40px 6px rgba(168,85,247,0.06);
}

.card--pink::after {
  box-shadow: 0 0 0 0 rgba(236,72,153,0.0);
}

.card--pink:hover::after {
  box-shadow: 0 0 40px 6px rgba(236,72,153,0.06);
}

.card--orange::after {
  box-shadow: 0 0 0 0 rgba(249,115,22,0.0);
}

.card--orange:hover::after {
  box-shadow: 0 0 40px 6px rgba(249,115,22,0.06);
}

.card--cyan::after {
  box-shadow: 0 0 0 0 rgba(34,211,238,0.0);
}

.card--cyan:hover::after {
  box-shadow: 0 0 40px 6px rgba(34,211,238,0.06);
}

@media (max-width: 900px) {
  .card {
    max-width: 100%;
    width: 100%;
  }
}

.hero-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.88;
  margin: 0;
  text-shadow: 4px 6px 24px rgba(0,0,0,0.85);
}

.hero-title span {
  display: inline-block;
  vertical-align: middle;
  transition: text-shadow 260ms ease, transform 260ms ease;
}

.hero-cte {
  color: rgb(255, 0, 0);
  margin-right: 0.55rem;
  text-shadow:
    0 6px 28px rgba(0,0,0,0.7),
    0 0 28px rgba(255,0,0,0.18),
    0 0 6px rgba(255,0,0,0.35);
  filter: drop-shadow(0 4px 12px rgba(255,0,0,0.25));
}

.hero-prod {
  color: #ffffff;
  text-shadow:
    0 6px 28px rgba(0,0,0,0.7),
    0 0 18px rgba(255,255,255,0.12),
    0 0 6px rgba(255,255,255,0.18);
}

.hero-title span:hover {
  transform: translateY(-4px);
  text-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 36px rgba(255,0,0,0.22);
}

.content-frame {
  border: 3px solid rgba(25,25,25, 0.8);
  border-radius: 15px;
  padding: 60px 50px;
  background: rgb(30,30,30);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.content-frame:hover {
  border-color: rgba(255, 0, 0, 1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 
              0 0 40px rgba(255, 0, 0, 0.6), 
              0 0 60px rgba(255, 0, 0, 0.4),
              inset 0 0 30px rgba(255, 0, 0, 0.2);
}

.about-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.about-content p {
  font-size: 1.2rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  line-height: 1.6;
}

#about > h1,
#about > p {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
  margin: 0;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

nav ul li a {
  border-bottom: 2px solid transparent;
  transition: transform 0.8s ease, color 0.8s ease, border-bottom 0.8s ease;
}

.nav-links a:hover, .nav-links .active {
    color: red;
    border-bottom: 2px solid red;
    transform:scale(1.3) translateY(-5px);
    text-shadow: 1px 1px 8px red;
}

.mobile-nav-links a:hover, .mobile-nav-links .active {
    color: red;
    border-bottom: 2px solid red;
    transform: translateY(-5px);
    text-shadow: 1px 1px 8px red;
}

.color-bg {
  position: fixed;
  inset: 0;
  z-index: -3; /* behind site content */
  pointer-events: none;
  filter: blur(60px) saturate(1.2);
  transform: scale(1.06);
  transition: opacity 1s ease;
  opacity: 1;
  mix-blend-mode: screen;
  will-change: opacity, background;
}

.color-bg::before {
  content: "";
  position: absolute;
  inset: 0;
}

.color-bg--a { opacity: 1; }
.color-bg--b { opacity: 0; }

.color-bg--overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.28));
  pointer-events: none;
}

/* Team Member Cards */
.team-members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  justify-content: center;
}

.team-member-card {
  position: relative;
  width: 200px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  background: rgba(18,18,18,0.6);
  border: 3px solid rgba(255,255,255,0.06);
}

.team-member-card:hover {
  transform: translateY(-10px);
}

/* Zeph - Red */
.team-member-card[data-color="red"]:hover {
  border-color: rgba(239,68,68,1);
  box-shadow: 0 30px 60px rgba(239,68,68,0.12), 0 8px 30px rgba(239,68,68,0.08), 0 0 36px rgba(239,68,68,0.12);
}

/* Mark - Purple */
.team-member-card[data-color="purple"]:hover {
  border-color: rgba(168,85,247,1);
  box-shadow: 0 30px 60px rgba(168,85,247,0.12), 0 8px 30px rgba(168,85,247,0.08), 0 0 36px rgba(168,85,247,0.12);
}

/* Kyu - Blue */
.team-member-card[data-color="blue"]:hover {
  border-color: rgba(62,168,255,1);
  box-shadow: 0 30px 60px rgba(62,168,255,0.12), 0 8px 30px rgba(62,168,255,0.08), 0 0 36px rgba(62,168,255,0.12);
}

/* Cai - Pink */
.team-member-card[data-color="pink"]:hover {
  border-color: rgba(236,72,153,1);
  box-shadow: 0 30px 60px rgba(236,72,153,0.12), 0 8px 30px rgba(236,72,153,0.08), 0 0 36px rgba(236,72,153,0.12);
}

/* MJ - Cyan */
.team-member-card[data-color="cyan"]:hover {
  border-color: rgba(34,211,238,1);
  box-shadow: 0 30px 60px rgba(34,211,238,0.12), 0 8px 30px rgba(34,211,238,0.08), 0 0 36px rgba(34,211,238,0.12);
}

/* Vean - Orange */
.team-member-card[data-color="orange"]:hover {
  border-color: rgba(249,115,22,1);
  box-shadow: 0 30px 60px rgba(249,115,22,0.12), 0 8px 30px rgba(249,115,22,0.08), 0 0 36px rgba(249,115,22,0.12);
}

/* Gian - Green */
.team-member-card[data-color="green"]:hover {
  border-color: rgba(34,197,94,1);
  box-shadow: 0 30px 60px rgba(34,197,94,0.12), 0 8px 30px rgba(34,197,94,0.08), 0 0 36px rgba(34,197,94,0.12);
}

/* Francis - Lime */
.team-member-card[data-color="lime"]:hover {
  border-color: rgba(163,230,53,1);
  box-shadow: 0 30px 60px rgba(163,230,53,0.12), 0 8px 30px rgba(163,230,53,0.08), 0 0 36px rgba(163,230,53,0.12);
}

.team-member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease;
}

.team-member-card:hover .team-member-image {
  filter: brightness(0.5) blur(2px);
}

.team-member-panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,20,20,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
  backdrop-filter: blur(8px);
  padding: 24px;
}

.team-member-card:hover .team-member-panel {
  opacity: 1;
}

.panel-content {
  text-align: center;
  color: white;
}

.member-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.member-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .team-members-grid {
    gap: 15px;
  }

  .team-member-card {
    width: 180px;
    height: 250px;
  }
}

/* Contact Card Icons and Links */
.contact-icon {
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -2px;
}

.contact-icon-discord {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.contact-icon-facebook {
  width: 35px;
  height: 35px;
    margin-right: 12px;
}

.contact-link {
  color: #00a2ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  margin-bottom: 20px;
}

.contact-link:hover {
  color: #00a2ff;
  text-shadow: 0 0 10px rgba(0, 162, 255, 0.6);
  border-bottom: none;
  transform: none;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 6px;
  z-index: 1100;
  position: relative;
}

.hamburger-btn span {
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 80px;
  right: -350px;
  background: rgba(18,18,18,0.6);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(18,18,18,0.6);
  transition: right 0.4s ease;
  z-index: 1050;
  overflow: hidden;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  margin-right: 7px;
  padding-bottom: 0;
}

.mobile-menu.active {
  right: 12px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 20px 8px;
  gap: 8px;
}

.mobile-nav-links li {
  border-bottom: none;
}

.mobile-nav-links li:last-child {
  border-bottom: none;
}

.mobile-nav-links a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  letter-spacing: 0.2px;
  border-radius: 10px;
  height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


.mobile-nav-links a::before {
  display: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #ff0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 
               0 0 20px rgba(255, 0, 0, 0.6),
               2px 2px 8px rgba(0, 0, 0, 0.9);
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
  display: none;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  @media (max-width: 400px) {
    .mobile-menu {
        width: 60vw;
        height: auto;
    }
  }
}
