/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #ff6b9d;
  --purple: #c44dff;
  --blue: #4d9fff;
  --teal: #00d4aa;
  --yellow: #ffd64d;
  --orange: #ff8c42;
  --dark: #1a1a2e;
  --darker: #12121f;
  --light: #f0f0ff;
  --gradient-fun: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  --gradient-warm: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* === Floating Background Shapes === */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  bottom: 20%;
  left: -80px;
  animation-delay: -5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--purple);
  top: 40%;
  right: 10%;
  animation-delay: -10s;
}

.shape-4 {
  width: 350px;
  height: 350px;
  background: var(--teal);
  bottom: -100px;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(5deg); }
  66% { transform: translateY(20px) rotate(-3deg); }
}

/* === Container === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.photo-frame {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-fun);
  animation: pulse-glow 3s ease-in-out infinite;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  overflow: hidden;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(196, 77, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(196, 77, 255, 0.6), 0 0 80px rgba(255, 107, 157, 0.2); }
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.hero-company {
  font-size: 1rem;
  color: rgba(240, 240, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(240, 240, 255, 0.3);
  font-size: 0.8rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(240, 240, 255, 0.3);
  border-bottom: 2px solid rgba(240, 240, 255, 0.3);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Sections === */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === About === */
.about-section {
  background: rgba(255, 255, 255, 0.02);
}

.about-text {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 20px;
  text-align: center;
  color: rgba(240, 240, 255, 0.8);
  line-height: 1.8;
}

.about-text strong {
  color: var(--teal);
}

.about-text em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 600;
}

/* === Passions === */
.passion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.passion-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.passion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
}

.passion-football::before { background: var(--gradient-fun); }
.passion-skiing::before { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.passion-travel::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

.passion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.passion-icon {
  margin-bottom: 20px;
  color: var(--light);
}

.passion-football .passion-icon { color: var(--pink); }
.passion-skiing .passion-icon { color: var(--blue); }
.passion-travel .passion-icon { color: var(--yellow); }

.passion-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.passion-card p {
  color: rgba(240, 240, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Work === */
.work-section {
  background: rgba(255, 255, 255, 0.02);
}

.work-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(196, 77, 255, 0.1), rgba(77, 159, 255, 0.1));
  border: 1px solid rgba(196, 77, 255, 0.15);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}

.work-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  background: var(--gradient-fun);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.work-company {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--light);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(240, 240, 255, 0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.work-quote {
  font-style: italic;
  color: rgba(240, 240, 255, 0.5);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* === Tribute === */
.tribute-section {
  text-align: center;
  padding: 120px 0;
}

.tribute-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 24px;
  color: rgba(240, 240, 255, 0.7);
  border: none;
  position: relative;
}

.tribute-quote::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.3;
}

.tribute-author {
  color: var(--purple);
  font-weight: 600;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 40px 24px;
  color: rgba(240, 240, 255, 0.2);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 600px) {
  .photo-frame {
    width: 140px;
    height: 140px;
  }

  .photo-placeholder {
    font-size: 2.2rem;
  }

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

  .stats-row {
    gap: 24px;
  }

  .work-card {
    padding: 32px 24px;
  }

  section {
    padding: 60px 0;
  }
}
