:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  background: #0f172a;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  line-height: 1.6;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(148, 163, 184, 0.06), transparent 25%),
    #0f172a;
  color: #e2e8f0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #cbd5e1;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.brand .subtitle {
  margin: 0.4rem 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #cbd5e1;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #a5b4fc;
}

.section {
  padding: 4rem 0;
}

.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.02;
  color: #f8fafc;
}

.hero p {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.bisexual-flag {
  display: inline-block;
  color: #cbd5e1;
  font-weight: 700;
  transition: color 220ms ease, transform 220ms ease;
}

.bisexual-flag:hover,
.bisexual-flag:focus-visible {
  color: transparent;
  background-image: linear-gradient(45deg, #D60270 0%, #D60270 33.333%, #9B4F96 33.333%, #9B4F96 66.666%, #0038A8 66.666%, #0038A8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #111827;
  color: white;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 147, 147, 0.55) 0%,
    rgba(255, 222, 140, 0.55) 22%,
    rgba(177, 224, 174, 0.55) 44%,
    rgba(143, 191, 246, 0.55) 66%,
    rgba(203, 160, 245, 0.55) 88%
  );
  transform: translateX(-110%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  z-index: -1;
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(0);
  opacity: 1;
}

.button:hover,
.button:focus-visible {
  color: #111827;
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.12);
}

.button > * {
  position: relative;
  z-index: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  padding: 1.5rem;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
  margin-top: 0;
  color: #f8fafc;
}

.social-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.social-card h3 {
  margin: 0 0 1rem;
  color: #e2e8f0;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.social-list li {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.9rem;
}

.social-list a {
  display: block;
  position: relative;
  width: 100%;
  padding: 0.95rem 1rem;
  color: #cbd5e1;
  font-weight: 600;
  overflow: hidden;
  border-radius: 0.9rem;
  transition: color 220ms ease, transform 220ms ease;
}

.social-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    rgba(255, 99, 132, 0.35) 0%,
    rgba(253, 186, 116, 0.35) 22%,
    rgba(110, 231, 183, 0.35) 44%,
    rgba(129, 140, 248, 0.35) 66%,
    rgba(192, 132, 252, 0.35) 88%
  );
  transform: translateX(-110%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  z-index: -1;
}

.social-list a:hover::before,
.social-list a:focus-visible::before {
  transform: translateX(0);
  opacity: 1;
}

.social-list a:hover,
.social-list a:focus-visible {
  color: #111827;
  transform: translateY(-1px);
  text-decoration: none;
}

.social-list a:hover,
.social-list a:focus-visible {
  text-decoration: none;
}

.site-footer {
  margin-top: auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.95);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.contact-info {
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
