/*
═══════════════════════════════════════════════════════════════════════
  ██████╗ ██████╗ ███╗   ██╗██████╗     ██████╗  ██████╗  ██████╗██╗  ██╗
 ██╔════╝██╔═══██╗████╗  ██║██╔══██╗   ██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝
 ██║     ██║   ██║██╔██╗ ██║██║  ██║   ██████╔╝██║   ██║██║     █████╔╝
 ██║     ██║   ██║██║╚██╗██║██║  ██║   ██╔══██╗██║   ██║██║     ██╔═██╗
 ╚██████╗╚██████╔╝██║ ╚████║██████╔╝   ██║  ██║╚██████╔╝╚██████╗██║  ██╗
  ╚═════╝ ╚═════╝ ╚═╝  ╚═══╝╚═════╝    ╚═╝  ╚═╝ ╚═════╝  ╚═════╝╚═╝  ╚═╝

Website : https://condrock.eu.org
Creator : COND ROCK
Crafted With : Human × Generative AI
Mission : Build Fast. Build Clean. Build to Last.
Status : Active Development

───────────────────────────────────────────────────────────────────────
Alhamdulillah • Masha Allah • La quwwata illa billah
───────────────────────────────────────────────────────────────────────
═══════════════════════════════════════════════════════════════════════
*/

/* ---------- Tokens ---------- */
:root {
  --navy-950: #070b14;
  --navy-900: #0b1120;
  --navy-800: #121a2c;
  --navy-700: #1a2438;
  --line: rgba(255, 255, 255, 0.08);

  --gold: #cda45e;
  --gold-soft: rgba(205, 164, 94, 0.16);
  --teal: #3fc7b8;
  --teal-soft: rgba(63, 199, 184, 0.14);

  --text: #e9edf5;
  --text-muted: #93a0b8;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --space-1: clamp(4px, 1vh, 8px);
  --space-2: 16px;
  --space-3: 24px;
  --space-4:clamp(16px, 4vh, 32px);
  --space-5:clamp(16px, 3vh, 32px);

  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, var(--navy-800) 0%, var(--navy-950) 60%);
  color: var(--text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
}

/* ---------- Ambient background: a growing vine motif ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.growth-svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 160vw);
  height: 100%;
  opacity: 0.5;
}

.growth-path {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: grow 3.2s ease-out forwards;
}

.growth-path--gold {
  stroke: var(--gold);
  opacity: 0.55;
}

.growth-path--teal {
  stroke: var(--teal);
  opacity: 0.4;
  animation-delay: 0.3s;
}

.growth-leaf {
  fill: var(--gold);
  opacity: 0;
  animation: bloom 0.6s ease-out forwards;
  animation-delay: 2.6s;
}

@keyframes grow {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(0.2);
  }

  to {
    opacity: 0.85;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .growth-leaf {
    animation: none;
    opacity: 0.85;
  }
}

/* ---------- Layout ---------- */
.hub {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: var(--space-5) var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Profile ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-4);
}

.avatar-ring {
  width:clamp(80px, 20vh, 80px);
  height: clamp(80px, 20vh, 80px);
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, var(--gold), var(--teal), var(--gold));
  margin-bottom: var(--space-2);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--navy-950);
}

.name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 var(--space-1);
  letter-spacing: 0.01em;
}

.verified-badge {
  font-size: 0.75rem;
  color: var(--teal);
  margin-left: 1px;
  vertical-align: middle;
}

.bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34ch;
  margin: 0;
}

/* ---------- Links ---------- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2);
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--teal);
  background: var(--navy-700);
}

.card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.card--primary {
  border-color: var(--gold-soft);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.card--primary:hover,
.card--primary:focus-visible {
  border-color: var(--gold);
}

.card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 22px;
}

.card--primary .card-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--text-muted);
}

/* ---------- Contact row ---------- */
.contact-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal);
  background: var(--navy-700);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.contact-btn svg {
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-3) var(--space-4);
  text-align: center;
}

.footer-logo {
  height: 16px;
  border-radius: 8px;
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-copy a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Responsive ---------- */
@media (min-width: 481px) {
  .hub {
    padding-top: var(--space-5);
  }
}

@media (max-width: 360px) {
  .contact-row {
    flex-direction: column;
  }
}
