:root {
  --background: #02040a;
  --background-soft: #07101f;
  --card: rgba(7, 16, 31, 0.78);
  --card-hover: rgba(9, 25, 49, 0.92);
  --blue: #1683ff;
  --blue-light: #61b2ff;
  --blue-dark: #0758b8;
  --white: #f7fbff;
  --muted: #99a9bd;
  --border: rgba(69, 156, 255, 0.34);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--white);
  background: #02040a;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  z-index: -4;
  pointer-events: none;

  background:
    linear-gradient(
      rgba(2, 4, 10, 0.78),
      rgba(2, 4, 10, 0.88)
    ),
    url("assets/background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(1px) brightness(.90) saturate(.70);

  transform: scale(1.05);
}

.background {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.2;
  filter: blur(110px);
  background: var(--blue);
}

.background-left {
  top: 18%;
  left: -260px;
}

.background-right {
  right: -260px;
  bottom: 8%;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 2px;
}

.hero {
  max-width: 850px;
  margin: 0 auto 5px;
  text-align: center;
}

/* =========================
   HERO GIVEAWAY BUTTON
========================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.hero-giveaway-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 14px 24px;
    overflow: hidden;
    border: 1px solid rgba(126, 169, 255, 0.45);
    border-radius: 13px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #275fd1,
            #4d83ef
        );
    box-shadow:
        0 14px 32px rgba(38, 100, 225, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.hero-giveaway-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.22),
            transparent
        );
    transform: skewX(-22deg);
    transition: left 500ms ease;
}

.hero-giveaway-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow:
        0 18px 40px rgba(38, 100, 225, 0.42),
        0 0 25px rgba(62, 126, 255, 0.24);
}

.hero-giveaway-button:hover::before {
    left: 145%;
}

.hero-giveaway-button:active {
    transform: translateY(0);
}

.hero-giveaway-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
}

.hero-giveaway-button {
    position: relative;
}

.hero-giveaway-button > span,
.hero-giveaway-button {
    z-index: 1;
}

@media (max-width: 520px) {
    .hero-buttons {
        margin-top: 14px;
    }

    .hero-giveaway-button {
        width: min(100%, 290px);
        min-width: 0;
        padding: 13px 18px;
        font-size: 12px;
    }
}


.profile-logo {
  display: grid;
  width: 20px;
  height: 20px;
  margin: 0 auto 24px;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #02040a;
  box-shadow:
    0 0 18px rgba(22, 131, 255, 0.65),
    0 0 45px rgba(22, 131, 255, 0.3);
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--blue-light);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 0 28px rgba(22, 131, 255, 0.32);
}

.intro {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.75;
  color: var(--muted);
}

.hero-brand {
  display: block;
  width: min(500px, 80%);
  height: auto;
  margin: 0 auto 16px;
}

.link-section {
  margin-bottom: 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.section-heading span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    transparent
  );
}

.section-heading h2 {
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  color: var(--blue-light);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.square-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}


.square-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(97, 178, 255, 0.55);
  transition: opacity 220ms ease;
}

.square-card:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 178, 255, 0.82);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(22, 131, 255, 0.22);
}


.square-card:hover::after {
  opacity: 1;
}

.square-card:focus-visible {
  outline: 3px solid rgba(97, 178, 255, 0.65);
  outline-offset: 5px;
}


.card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #050505;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.square-card:hover .card-image img {
  transform: scale(1.03);
}

.square-card h3,
.square-card p,
.card-arrow {
  position: relative;
  z-index: 1;
}

.square-card h3 {
  margin-bottom: 9px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.03em;
}

.square-card p {
  max-width: 90%;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.card-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  font-size: 1.35rem;
  color: var(--blue-light);
  background: rgba(2, 4, 10, 0.78);
  border: 1px solid rgba(97, 178, 255, 0.35);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.square-card:hover .card-arrow {
  transform: translate(3px, -3px);
  background: rgba(7, 16, 31, 0.95);
  border-color: var(--blue-light);
}

.socials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-card {
  display: grid;
  height: 80px;
  place-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(22, 131, 255, 0.10),
      transparent 48%
    ),
    var(--card);

  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);

  text-decoration: none;

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.social-card img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;

  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: rgba(97, 178, 255, 0.82);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(22, 131, 255, 0.20);
}

.social-card:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(97, 178, 255, 0.45));
}


footer {
  padding: 8px 0 4px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #687b92;
}

@media (max-width: 850px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    margin-bottom: 52px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 30px;
  }

  .profile-logo {
  width: 145px;
  height: 145px;
  margin-bottom: 20px;
}

  .hero {
    margin-bottom: 42px;
  }

  .intro {
    padding: 0 8px;
  }

  .link-section {
    margin-bottom: 52px;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .square-card {
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 21px;
}

.socials-grid {
  grid-template-columns: 1fr;
}

.social-card {
  width: 100%;
  height: 90px;
  max-width: 390px;
  margin: 0 auto;
}

.social-card img {
  width: 44px;
  height: 44px;
}
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
