* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 128, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 102, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #04040c 0%, #070712 45%, #0b0b16 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.dark {
  background: rgba(18, 18, 28, 0.82);
  backdrop-filter: blur(3px);
}

.center-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  color: #d7d7d7;
}

.page-header {
  padding-top: 50px;
  padding-bottom: 20px;
}

.page-title,
.section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-title {
  font-size: 2.6rem;
}

/* NAVBAR */
.navbar {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.page-nav {
  padding-top: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.nav-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(255, 60, 172, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff3cac;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #bdbde0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ff3cac;
  text-shadow: 0 0 12px rgba(255, 60, 172, 0.45);
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(4, 4, 15, 0.72), rgba(4, 4, 15, 0.9)),
    url('../assets/img/banner.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.animated-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.22;
  animation: floatOrb linear infinite;
}

.animated-bg span:nth-child(1) {
  width: 220px;
  height: 220px;
  left: 8%;
  top: 18%;
  background: #ff2f92;
  animation-duration: 16s;
}

.animated-bg span:nth-child(2) {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 14%;
  background: #5f2dff;
  animation-duration: 20s;
}

.animated-bg span:nth-child(3) {
  width: 180px;
  height: 180px;
  left: 20%;
  bottom: 10%;
  background: #00a6ff;
  animation-duration: 18s;
}

.animated-bg span:nth-child(4) {
  width: 240px;
  height: 240px;
  right: 18%;
  bottom: 8%;
  background: #ff7b00;
  animation-duration: 22s;
}

.animated-bg span:nth-child(5) {
  width: 140px;
  height: 140px;
  left: 50%;
  top: 28%;
  background: #ff3cac;
  animation-duration: 14s;
}

.animated-bg span:nth-child(6) {
  width: 160px;
  height: 160px;
  left: 60%;
  bottom: 18%;
  background: #3b82f6;
  animation-duration: 17s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  25% {
    transform: translateY(-25px) translateX(20px) scale(1.08);
  }
  50% {
    transform: translateY(15px) translateX(-18px) scale(0.96);
  }
  75% {
    transform: translateY(-12px) translateX(12px) scale(1.04);
  }
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0 80px;
  position: relative;
  z-index: 3;
}

.hero-copy {
  width: min(100%, 820px);
  text-align: center;
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: 4.5rem;
  line-height: 0.95;
  margin-bottom: 24px;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.hero-copy p {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #e1e1ec;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.primary {
  background: linear-gradient(135deg, #ff3cac, #ff1f8f);
  color: white;
}

.secondary {
  background: linear-gradient(135deg, #7b2cff, #5310f5);
  color: white;
}

.accent {
  background: linear-gradient(135deg, #ffb000, #ff8c00);
  color: white;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  opacity: 0.96;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.card {
  background: rgba(26, 26, 40, 0.88);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 60, 172, 0.15);
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.card:hover,
.staff-card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 12px;
  color: #ff3cac;
}

.mini-link {
  display: inline-block;
  margin-top: 12px;
  color: #ff8c00;
  text-decoration: none;
  font-weight: bold;
}

.mini-link:hover {
  text-decoration: underline;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  border-radius: 14px;
  height: 260px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255, 60, 172, 0.15);
}

/* STAFF */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.staff-card {
  background: rgba(26, 26, 40, 0.9);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 16px rgba(255, 60, 172, 0.12);
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.staff-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.staff-card h3 {
  color: #ffffff;
  margin-bottom: 5px;
}

.staff-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff3cac;
  font-weight: bold;
}

.staff-card.featured {
  border: 1px solid rgba(255, 60, 172, 0.4);
  box-shadow: 0 0 22px rgba(255, 60, 172, 0.2);
}

.staff-main-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.vertical-staff-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

.portrait-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  background: linear-gradient(135deg, rgba(80, 0, 120, 0.35), rgba(15, 15, 30, 0.85));
}

.staff-vrchat {
  margin: 10px 0 14px;
  color: #d8d8e8;
  font-size: 0.98rem;
}

.staff-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.staff-btn {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.92rem;
  transition: 0.25s ease;
  display: inline-block;
}

.vrchat-btn {
  background: linear-gradient(135deg, #00b7ff, #0077ff);
  color: #fff;
}

.discord-btn {
  background: linear-gradient(135deg, #5865f2, #404eed);
  color: #fff;
}

.staff-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* FOOTER */
.footer {
  background: #08080d;
  padding: 25px 0;
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #ff3cac;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #171724;
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 0 20px rgba(255, 60, 172, 0.2);
}

.modal-content h2 {
  margin-bottom: 15px;
  color: #ff3cac;
}

.modal-content p {
  margin-bottom: 12px;
  color: #e8e8e8;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-buttons button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#enterSite {
  background: #ff3cac;
  color: white;
}

#exitSite {
  background: #444;
  color: white;
}

.modal-buttons button:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar {
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: 3.4rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.1rem;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .nav-logo {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 25px 0 60px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
    line-height: 1.02;
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .staff-card img,
  .staff-main-img {
    height: 240px;
  }

  .vertical-staff-grid {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    max-width: 340px;
  }

  .portrait-img {
    aspect-ratio: 3 / 4;
  }
}

/* VIP PAGE */
.vip-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.vip-tier {
  position: relative;
  background: rgba(26, 26, 40, 0.92);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 18px rgba(255, 60, 172, 0.12);
  transition: 0.3s ease;
}

.vip-tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(255, 60, 172, 0.2);
}

.featured-tier {
  border: 1px solid rgba(255, 60, 172, 0.45);
  box-shadow: 0 0 26px rgba(255, 60, 172, 0.18);
}

.vip-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #000;
  color: #fff;
  font-size: 0.82rem;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

.vip-tier-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.vip-tier-body {
  padding: 22px;
}

.vip-tier-body h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.vip-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.vip-price-amount {
  font-size: 2.2rem;
  font-weight: bold;
  color: #ffffff;
}

.vip-price-period {
  color: #d2d2e7;
  font-size: 1rem;
}

.vip-join-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #ff3cac, #7b2cff);
  margin-bottom: 18px;
  transition: 0.25s ease;
}

.vip-join-btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.vip-benefits {
  padding-left: 18px;
  color: #f0f0f7;
}

.vip-benefits li {
  margin-bottom: 8px;
}

.vip-footer-box {
  margin-top: 35px;
  text-align: center;
  background: rgba(26, 26, 40, 0.7);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.vip-footer-box p {
  margin-bottom: 14px;
  color: #e5e5ef;
}

@media (max-width: 768px) {
  .vip-tier-body h3 {
    font-size: 1.45rem;
  }

  .vip-price-amount {
    font-size: 1.9rem;
  }

  .vip-tier-image img {
    height: 170px;
  }
}

/* VIP PAGE */
.vip-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.vip-tier {
  position: relative;
  background: rgba(26, 26, 40, 0.92);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 18px rgba(255, 60, 172, 0.12);
  transition: 0.3s ease;
}

.vip-tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(255, 60, 172, 0.2);
}

.featured-tier {
  border: 1px solid rgba(255, 60, 172, 0.45);
  box-shadow: 0 0 26px rgba(255, 60, 172, 0.18);
}

.vip-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #000;
  color: #fff;
  font-size: 0.82rem;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

.vip-tier-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.vip-tier-body {
  padding: 22px;
}

.vip-tier-body h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.vip-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.vip-price-amount {
  font-size: 2.2rem;
  font-weight: bold;
  color: #ffffff;
}

.vip-price-period {
  color: #d2d2e7;
  font-size: 1rem;
}

.vip-join-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #ff3cac, #7b2cff);
  margin-bottom: 18px;
  transition: 0.25s ease;
}

.vip-join-btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.vip-benefits {
  padding-left: 18px;
  color: #f0f0f7;
}

.vip-benefits li {
  margin-bottom: 8px;
}

.vip-footer-box {
  margin-top: 35px;
  text-align: center;
  background: rgba(26, 26, 40, 0.7);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.vip-footer-box p {
  margin-bottom: 14px;
  color: #e5e5ef;
}

@media (max-width: 768px) {
  .vip-tier-body h3 {
    font-size: 1.45rem;
  }

  .vip-price-amount {
    font-size: 1.9rem;
  }

  .vip-tier-image img {
    height: 170px;
  }
}

/* VIP CARRUSEL */
.vip-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.vip-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.vip-carousel .vip-tier {
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
}

.vip-arrow {
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.25s ease;
  flex-shrink: 0;
}

.vip-arrow:hover {
  background: rgba(255, 60, 172, 0.35);
}

.vip-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vip-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.vip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.vip-dot.active {
  background: #ff3cac;
}

@media (max-width: 1150px) {
  .vip-carousel .vip-tier {
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .vip-carousel-wrap {
    gap: 10px;
  }

  .vip-carousel .vip-tier {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .vip-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}