/* ==============================================
   home.css  —  Hero, stats row, GitHub section
   ============================================== */

/* ── Hero layout ── */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5% 3rem;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.eyebrow-line {
  width: 28px; height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.home-text h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}
.h1-name {
  display: block;
  background: linear-gradient(135deg, #7C6FFF 0%, #FF6B9D 50%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 4s ease infinite;
}

.home-text .role {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 500px;
  line-height: 1.75;
}
.home-text .tagline {
  font-family: 'Clash Display', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 0.08em;
  margin-bottom: 2.2rem;
  text-transform: uppercase;
}

.home-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Stats ── */
.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.8rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
  line-height: 1.3;
}

/* ── Hero Card ── */
.hero-card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.hero-card {
  width: 340px; height: 480px;
  border-radius: 24px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .1s ease;
  animation: float 6s ease-in-out infinite;
}
.hero-card-inner {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(145deg,
    rgba(124,111,255,0.1),
    rgba(255,107,157,0.07),
    rgba(0,229,255,0.05));
  border: 1px solid rgba(124,111,255,0.3);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%,
    rgba(124,111,255,0.12) 0%, transparent 65%);
  z-index: 0;
}
.hero-photo {
  width: 100%; height: 340px;
  object-fit: cover;
  object-position: center 15%;
  position: relative;
  z-index: 1;
  border-radius: 22px 22px 0 0;
}
.hero-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to top,
    rgba(13,13,31,0.97) 0%,
    rgba(13,13,31,0.5) 60%,
    transparent 100%);
  z-index: 2;
}
.hero-card-info {
  position: relative;
  z-index: 3;
  padding: 0.85rem 1.2rem 1.1rem;
  width: 100%;
  text-align: center;
}
.hero-name-card {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.hero-role-card {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.hero-badges { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-ai { background: rgba(124,111,255,0.15); border: 1px solid rgba(124,111,255,0.3); color: #a098ff; }
.badge-ml { background: rgba(255,107,157,0.12); border: 1px solid rgba(255,107,157,0.25); color: #ff9dc0; }
.badge-da { background: rgba(0,229,255,0.10);   border: 1px solid rgba(0,229,255,0.2);   color: #5aeaff; }

.available-pill {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6,6,16,0.9);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #4ade80;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}

/* ══ GitHub Section ══ */
.github-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5% 4rem;
}
.gh-section-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.gh-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

/* Banner */
.gh-banner-row {
  display: grid;
  grid-template-columns: 1fr 480px;    /* ← wider gif column */
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}
.gh-banner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
  height: 300px;                        /* ← taller */
}
.gh-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.75;
}
.gh-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(6,6,16,0.92) 0%, rgba(6,6,16,0.4) 65%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.gh-banner-text {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}
.gh-banner-sub { font-size: 0.83rem; color: var(--muted); margin-top: 0.4rem; }

.gh-gif-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 300px;                        /* ← taller */
  position: relative;
  background: #0a0a1a;                  /* ← fills empty space in contain mode */
}
.gh-gif-card img {
  width: 100%; height: 100%;
  object-fit: contain;                  /* ← full image, no cropping */
  object-position: center center;
  display: block;
}
.gh-gif-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(6,6,16,0.9), transparent);
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Currently */
.gh-currently {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.gh-curr-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  transition: border-color .2s;
}
.gh-curr-item:hover { border-color: rgba(124,111,255,0.3); }
.gh-curr-emoji { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.gh-curr-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.gh-curr-val   { font-size: 0.88rem; color: var(--text); font-weight: 500; margin-top: 0.15rem; }

/* Tools */
.gh-tools-block { margin-bottom: 2.5rem; }
.gh-tools-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gh-tools-title::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.gh-tools-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gh-tool {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  transition: all .2s;
  cursor: default;
}
.gh-tool:hover {
  border-color: rgba(124,111,255,0.35);
  transform: translateY(-2px);
  background: rgba(124,111,255,0.06);
}
.gh-tool img  { width: 22px; height: 22px; object-fit: contain; filter: brightness(0.95); }
.gh-tool span { font-size: 0.75rem; color: var(--text); font-weight: 500; }

/* Connect */
.gh-connect { margin-bottom: 1rem; }
.gh-connect-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gh-connect-title::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.gh-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.gh-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all .2s;
  letter-spacing: 0.03em;
}
.gh-social:hover {
  border-color: rgba(124,111,255,0.4);
  color: var(--accent);
  transform: translateY(-2px);
}
.gh-social img { width: 18px; height: 18px; object-fit: contain; }

/* ── Responsive ── */
@media (max-width: 780px) {
  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 5% 2rem;
  }
  .hero-card-wrap { order: -1; margin-bottom: 1rem; }
  .hero-card      { width: 260px; height: 370px; }
  .hero-photo     { height: 260px; }
  .stats-row      { gap: 1.2rem; }
  .home-ctas      { justify-content: center; }
  .home-eyebrow   { justify-content: center; }
  .gh-banner-row  { grid-template-columns: 1fr; }
  .gh-gif-card    { height: 240px; }   /* ← updated mobile height */
}