
:root {
  color-scheme: dark;

  --bg: #080c18;
  --bg-soft: #0d1425;
  --surface: #101a2d;
  --border: rgba(124, 159, 215, 0.16);

  --text: #eef3ff;
  --muted: #9ba9c2;

  --cyan: #49e4ed;
  --blue: #5398ff;
  --purple: #ae72f9;

  --gradient: linear-gradient(
    110deg,
    var(--cyan),
    var(--blue) 52%,
    var(--purple)
  );

  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--purple);
  color: #fff;
}

.site-shell {
  overflow: clip;
}

/* Navigation */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(73, 228, 237, 0.35);
}

.brand-dot,
.accent {
  color: var(--cyan);
}

.site-header nav {
  display: flex;
  gap: 30px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--cyan);
}

/* Hero */

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 12, 24, 0.97) 0%,
      rgba(8, 12, 24, 0.82) 38%,
      rgba(8, 12, 24, 0.25) 100%
    ),
    linear-gradient(
      0deg,
      var(--bg) 0%,
      transparent 35%,
      rgba(8, 12, 24, 0.15) 100%
    ),
    url("assets/vibebro-header.png");

  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    ellipse at 72% 50%,
    rgba(111, 66, 214, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.eyebrow,
.section-index {
  font-family: ui-monospace, SFMono-Regular, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(73, 228, 237, 0.22);
  border-radius: 100px;
  background: rgba(8, 12, 24, 0.65);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 950px;
  margin: 30px 0;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  font-weight: 850;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 580px;
  color: #c4cfe3;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #08121e;
  background: var(--gradient);
  box-shadow: 0 8px 30px rgba(73, 228, 237, 0.12);
}

.button-primary:hover {
  box-shadow: 0 8px 36px rgba(73, 228, 237, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(12, 19, 36, 0.8);
  border: 1px solid rgba(130, 165, 220, 0.3);
}

.button-secondary:hover {
  border-color: var(--cyan);
}

.hero-bottom {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #8b9ab7;
}

/* Shared sections */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px;
}

.section-heading {
  margin-bottom: 45px;
}

.section-heading h2,
.gaming-panel h2,
.connect-section h2 {
  margin: 15px 0 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

.section-heading p,
.connect-section > p {
  max-width: 600px;
  color: var(--muted);
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-copy {
  color: #b9c7dd;
  font-size: 1.06rem;
}

.about-copy p {
  margin-bottom: 22px;
}

.terminal-card {
  overflow: hidden;
  background: #0a1020;
  border: 1px solid rgba(83, 152, 255, 0.24);
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  background: #131c30;
  border-bottom: 1px solid var(--border);
  color: #8594af;
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b86;
}

.terminal-dots span:nth-child(2) {
  background: #f8bd5a;
}

.terminal-dots span:nth-child(3) {
  background: #49d9a0;
}

.terminal-body {
  padding: 24px;
  font-family: ui-monospace, SFMono-Regular,
    Consolas, monospace;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.terminal-body p {
  margin-bottom: 12px;
}

.prompt {
  color: var(--purple);
  margin-right: 8px;
}

.terminal-output {
  color: #aabbd3;
  padding-left: 20px;
}

.terminal-success {
  color: #56e4b0;
  padding-left: 20px;
}

.cursor {
  color: var(--cyan);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Project cards */

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

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  background: linear-gradient(
    155deg,
    rgba(22, 35, 59, 0.85),
    rgba(11, 18, 34, 0.9)
  );
  border: 1px solid var(--border);
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 228, 237, 0.5);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  border: 1px solid rgba(73, 228, 237, 0.2);
  border-radius: 12px;
  background: rgba(73, 228, 237, 0.07);
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 800;
}

.card-category {
  color: var(--purple);
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 12px 0;
  font-size: 1.45rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-link,
.card-note {
  margin-top: auto;
  padding-top: 15px;
  font-size: 0.85rem;
}

.card-link {
  color: var(--cyan);
  font-weight: 700;
}

.card-note {
  color: #7889a7;
  font-family: ui-monospace, monospace;
}

/* Gaming */

.gaming-panel {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 50px;
  align-items: center;
  padding: 55px;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(130, 70, 205, 0.18),
      transparent 50%
    ),
    #10172a;
  border: 1px solid rgba(174, 114, 249, 0.22);
  border-radius: 18px;
}

.gaming-panel p {
  max-width: 580px;
  color: #b9c7dd;
}

.gaming-panel .button {
  margin-top: 18px;
}

.gaming-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px solid rgba(174, 114, 249, 0.45);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(174, 114, 249, 0.16),
    transparent 70%
  );
  box-shadow: 0 0 60px rgba(174, 114, 249, 0.1);
}

.gaming-mark > span {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--purple);
}

.gaming-mark small {
  color: #c9a8f9;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

/* Connect */

.connect-section {
  text-align: center;
}

.connect-section > p {
  margin: 0 auto 35px;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  padding: 13px 22px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-soft);
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.social-links a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 45px;
  border-top: 1px solid var(--border);
  color: #8492ae;
  font-size: 0.78rem;
}

.site-footer a:hover {
  color: var(--cyan);
}

/* Responsive */

@media (max-width: 850px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .gaming-panel {
    grid-template-columns: 1fr;
  }

  .gaming-mark {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 630px;
  }

  .hero-background {
    background-position: 60% center;
  }

  .hero-content {
    padding-top: 55px;
    padding-bottom: 110px;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .hero-bottom {
    font-size: 0.56rem;
  }

  .section {
    padding: 75px 20px;
  }

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

  .gaming-panel {
    padding: 30px 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
