* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #120019;
  color: white;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* BACKGROUND */

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;

  background-image:
    radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);

  background-size: 120px 120px;
  opacity: .55;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -4;

  background:
    radial-gradient(
      circle at top left,
      rgba(190,0,255,.18),
      transparent 30%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(120,0,255,.12),
      transparent 25%
    ),

    linear-gradient(
      180deg,
      #17001f,
      #120019 40%,
      #0d0014
    );
}

.cursor-glow {
  width: 320px;
  height: 320px;

  position: fixed;
  border-radius: 50%;
  pointer-events: none;

  background:
    radial-gradient(
      circle,
      rgba(190,0,255,.12),
      transparent 70%
    );

  filter: blur(40px);

  z-index: -2;

  transform:
    translate(-50%, -50%);
}

/* LOADER */

.loader {
  position: fixed;
  inset: 0;

  background: #120019;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 18px;

  z-index: 999999;

  transition:
    opacity .6s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  width: 90px;
  height: 90px;

  border-radius: 24px;

  border: 5px solid #c75cff;

  transform: rotate(15deg);

  box-shadow:
    0 0 40px rgba(200,80,255,.75);

  position: relative;
}

.loader-logo::after {
  content: "";

  width: 28px;
  height: 28px;

  background: #120019;

  position: absolute;
  top: 50%;
  left: 50%;

  transform:
    translate(-50%, -50%)
    rotate(45deg);
}

.loader h2 {
  font-size: 30px;
}

.loader p {
  opacity: .7;
}

/* NAVBAR */

.navbar {
  width: 100%;
  height: 90px;

  padding: 0 70px;

  position: fixed;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  backdrop-filter: blur(16px);

  background:
    rgba(15,0,22,.55);

  border-bottom:
    1px solid rgba(255,255,255,.06);

  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 22px;
  font-weight: 700;
}

.nav-logo {
  width: 42px;
  height: 42px;

  border-radius: 14px;

  border: 3px solid #c45aff;

  transform: rotate(15deg);

  box-shadow:
    0 0 25px rgba(196,90,255,.75);

  position: relative;
}

.nav-logo::after {
  content: "";

  width: 14px;
  height: 14px;

  background: #120019;

  position: absolute;
  top: 50%;
  left: 50%;

  transform:
    translate(-50%, -50%)
    rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 600;

  transition: .25s;
}

.nav-links a:hover {
  color: white;
}

/* HERO */

.hero {
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;

  padding:
    160px 70px 80px;

  gap: 70px;
}

.logo {
  width: 120px;
  height: 120px;

  border-radius: 28px;

  border: 6px solid #cb5dff;

  transform: rotate(15deg);

  box-shadow:
    0 0 45px rgba(203,93,255,.8);

  margin-bottom: 40px;

  position: relative;
}

.logo::after {
  content: "";

  width: 38px;
  height: 38px;

  background: #120019;

  position: absolute;
  top: 50%;
  left: 50%;

  transform:
    translate(-50%, -50%)
    rotate(45deg);
}

.hero h1 {
  font-size: 110px;
  line-height: .92;
  font-weight: 900;
}

.hero h1 span {
  color: #d16cff;

  text-shadow:
    0 0 30px rgba(209,108,255,.8);
}

.typing-box {
  margin-top: 20px;

  font-size: 24px;
  color: #d9b4ff;

  min-height: 36px;
}

.typing-cursor {
  animation: blink .8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  margin-top: 34px;

  max-width: 700px;

  color:
    rgba(255,255,255,.72);

  font-size: 20px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 18px;

  margin-top: 42px;
}

.primary-btn,
.secondary-btn,
.copy-btn {
  padding:
    16px 30px;

  border-radius: 16px;

  border: none;

  text-decoration: none;

  font-weight: 700;

  cursor: pointer;

  transition:
    .25s transform,
    .25s box-shadow;
}

.primary-btn {
  background:
    linear-gradient(
      135deg,
      #d35eff,
      #9029ff
    );

  color: white;

  box-shadow:
    0 0 30px rgba(191,66,255,.5);
}

.primary-btn:hover {
  transform: translateY(-4px);
}

.secondary-btn,
.copy-btn {
  background:
    rgba(255,255,255,.04);

  border:
    1px solid rgba(255,255,255,.08);

  color: white;
}

.secondary-btn:hover,
.copy-btn:hover {
  transform: translateY(-4px);
}

/* GLASS */

.glass-box,
.card,
.payment,
.service-card,
.contact-card,
.stat-box,
.showcase-card,
.tech {
  background:
    rgba(255,255,255,.03);

  border:
    1px solid rgba(255,255,255,.07);

  backdrop-filter: blur(16px);

  border-radius: 28px;
}

/* HERO RIGHT */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.glass-box {
  padding: 40px;
}

.glass-box h2 {
  font-size: 42px;
  margin-bottom: 18px;
}

.glass-box p {
  color: rgba(255,255,255,.75);
  line-height: 1.8;
}

.mini-line {
  width: 100%;
  height: 1px;

  background:
    rgba(255,255,255,.08);

  margin: 24px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-box {
  padding: 30px;
  text-align: center;
}

.stat-box h3 {
  font-size: 48px;
  color: #d56bff;
}

.stat-box p {
  margin-top: 10px;
  opacity: .7;
}

/* SECTION */

section {
  padding:
    120px 70px;
}

section h2 {
  font-size: 72px;
  margin-bottom: 24px;
}

.section-desc {
  max-width: 900px;

  color:
    rgba(255,255,255,.72);

  line-height: 1.8;

  font-size: 20px;

  margin-bottom: 60px;
}

/* TECH */

.tech-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(160px, 1fr));

  gap: 20px;
}

.tech {
  padding: 26px;
  text-align: center;
  font-weight: 700;
}

/* ABOUT */

.card-row {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 26px;
}

.card {
  padding: 34px;
}

.card h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.card p {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

.card.tall {
  min-height: 340px;
}

.payment {
  margin-top: 40px;
  padding: 40px;
}

.icons {
  font-size: 32px;
  margin: 20px 0;
}

.robux-icon {
  width: 34px;
  vertical-align: middle;
}

/* DIVIDER */

.line {
  width: calc(100% - 140px);
  height: 1px;

  background:
    rgba(255,255,255,.08);

  margin: auto;
}

/* FILTERS */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-bottom: 80px;
}

.filter-btn {
  padding:
    16px 28px;

  border-radius: 999px;

  border:
    1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.03);

  color: white;

  font-weight: 600;

  cursor: pointer;

  transition:
    .25s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #d56bff;

  box-shadow:
    0 0 25px rgba(213,107,255,.4);
}

/* PROJECTS */

.project-block {
  margin-bottom: 120px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;

  margin-bottom: 36px;
}

.project-header p {
  letter-spacing: 6px;
  color: #d46dff;

  margin-bottom: 12px;

  font-size: 14px;
}

.project-header h3 {
  font-size: 64px;
  line-height: 1;
}

.project-header span {
  color:
    rgba(255,255,255,.62);

  font-size: 20px;

  white-space: nowrap;
}

.showcase-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 26px;
}

.showcase-grid {
  align-items: start;
}

.showcase-card {
  overflow: hidden;

  transition:
    .25s transform,
    .25s box-shadow;
}

.showcase-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(0,0,0,.35);
}

.showcase-card img,
.showcase-card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.showcase-card div {
  padding: 24px;
}

.showcase-card h4 {
  font-size: 28px;
  margin-bottom: 12px;
}

.showcase-card p {
  color:
    rgba(255,255,255,.72);

  line-height: 1.7;
}

.wide {
  grid-column: span 2;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 24px;
}

.service-card {
  padding: 36px;
}

.service-card span {
  color: #d56bff;
}

.service-card h3 {
  margin:
    18px 0;

  font-size: 34px;
}

.service-card p {
  color:
    rgba(255,255,255,.72);

  line-height: 1.7;
}

/* CONTACT */

.contact-card {
  padding: 60px;
  text-align: center;
}

.contact-label {
  color: #d56bff;
  letter-spacing: 6px;

  margin-bottom: 18px;
}

.contact-card p {
  color:
    rgba(255,255,255,.72);

  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;

  margin-top: 40px;
}

/* IMAGE MODAL */

.image-modal {
  position: fixed;
  inset: 0;

  background:
    rgba(0,0,0,.92);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: .25s;

  z-index: 999999;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-modal img {
  max-width: 90%;
  max-height: 80vh;

  border-radius: 24px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;

  background: none;
  border: none;

  color: white;

  font-size: 60px;

  cursor: pointer;
}

#modalCaption {
  margin-top: 20px;
  color:
    rgba(255,255,255,.7);
}

/* TOAST */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;

  padding:
    16px 24px;

  background:
    rgba(0,0,0,.9);

  border:
    1px solid rgba(255,255,255,.1);

  border-radius: 14px;

  opacity: 0;
  pointer-events: none;

  transition: .25s;

  z-index: 999999;
}

.toast.show {
  opacity: 1;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(40px);

  transition:
    .7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 1100px) {

  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 82px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-header span {
    white-space: normal;
  }

  .wide {
    grid-column: span 1;
  }

}

@media (max-width: 780px) {

  .navbar {
    padding: 0 24px;
  }

  section,
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 64px;
  }

  section h2 {
    font-size: 52px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }

}

.video-card {
  width: 100%;
  max-width: 420px;
}

.video-card video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.video-card .showcase-info {
  padding: 20px;
}

.single-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px)) !important;
  justify-content: start !important;
}

.single-card-grid .video-card {
  width: 100% !important;
  max-width: 420px !important;
  grid-column: auto !important;
}

.single-card-grid .video-card video {
  height: 260px !important;
  object-fit: cover !important;
}

* {
  -webkit-user-select: none;
  user-select: none;
}
