/* ============================================
   Layout — Container, Hero, Sections, Grids
   ============================================ */

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Sections */
.section {
  padding: var(--section-gap) 0;
}

.section__header {
  margin-bottom: 56px;
}

.section__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Ambient gradient blobs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 75% 70%, rgba(15, 118, 110, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__text {
  flex: 1;
  min-width: 0;
}

.hero__greeting {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__name {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--hero-name-start) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__bio {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Photo */
.hero__photo {
  flex-shrink: 0;
}

.hero__photo-wrapper {
  position: relative;
}

.hero__photo-wrapper img {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--photo-border);
  position: relative;
  z-index: 1;
}

/* Glow ring behind photo */
.hero__photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.15;
  filter: blur(20px);
  z-index: 0;
}

/* ============================================
   Grids
   ============================================ */
.projects-grid {
  columns: 2;
  column-gap: 20px;
}

.games-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ============================================
   Divider
   ============================================ */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
}
