* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6b4f8a;
  --accent: #e8a0b8;
  --accent-2: #f4c9a8;
  --dark: #2b2233;
  --light: #faf7fb;
  --text: #3d3448;
}

html, body { width: 100%; overflow-x: hidden; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  text-align: center;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #6b4f8a 0%, #a8769d 50%, #e8a0b8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: float 8s ease-in-out infinite;
}

.hero::before { width: 400px; height: 400px; top: -100px; left: -100px; }
.hero::after { width: 500px; height: 500px; bottom: -150px; right: -150px; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUp 1.2s ease;
  max-width: 800px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.hero .emoji-row {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: 15px;
}

.hero .slogan {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  max-width: 600px;
  margin: 0 auto 15px;
  opacity: 0.98;
  font-style: italic;
}

.hero .sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 650px;
  margin: 0 auto 20px;
  opacity: 0.9;
  font-weight: 300;
}

.hero .location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

section {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7a6d8a;
  max-width: 700px;
  margin: 30px auto 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 30px auto 0;
  width: 100%;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(107, 79, 138, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(232, 160, 184, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(107, 79, 138, 0.18);
}

.card .avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(232, 160, 184, 0.4);
}

.card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--primary); }
.card p { color: #7a6d8a; font-size: 1rem; }

.city-note {
  margin-top: 40px;
  max-width: 760px;
  padding: 28px 34px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(107, 79, 138, 0.08);
  border: 1px solid rgba(232, 160, 184, 0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.city-note .city-icon { font-size: 2.4rem; flex-shrink: 0; }
.city-note .city-text h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 6px; }
.city-note .city-text p { color: #7a6d8a; font-size: 0.95rem; }

.timeline {
  background: linear-gradient(180deg, #fff 0%, #faf7fb 100%);
  border-radius: 40px;
  margin: 0 auto;
  max-width: 900px;
  width: calc(100% - 40px);
}

.timeline-list {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  padding-left: 20px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 3px;
}

.timeline-item { position: relative; padding: 0 0 32px 36px; text-align: left; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 160, 184, 0.15);
  z-index: 2;
}

.timeline-item .t-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  background: rgba(232, 160, 184, 0.12);
  padding: 4px 12px;
  border-radius: 50px;
}

.timeline-item h4 { color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; }
.timeline-item p { color: #7a6d8a; font-size: 0.98rem; }

.timeline-item .quote {
  display: block;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid rgba(232, 160, 184, 0.4);
}

.timeline-item .stat {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 10px;
}

.socials { max-width: 1200px; width: 100%; }

.featured-social { width: 100%; max-width: 1100px; margin: 0 auto 30px; }

.featured-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 40px 45px;
  border-radius: 28px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 60%, #1e88c7 100%);
  box-shadow: 0 20px 50px rgba(42, 171, 238, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  gap: 30px;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(42, 171, 238, 0.5);
}

.featured-card .icon-wrap {
  flex-shrink: 0;
  font-size: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

.featured-card .featured-info { flex: 1; }

.featured-card .featured-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.25);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.featured-card h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 6px; font-weight: 800; }
.featured-card .featured-handle { font-size: 1rem; opacity: 0.95; margin-bottom: 10px; display: block; }
.featured-card .featured-desc { font-size: 0.95rem; opacity: 0.92; }

.social-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 18px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.social-card:hover { transform: translateY(-10px) scale(1.02); }

.social-card.vk-alina { background: linear-gradient(135deg, #ff7eb3 0%, #e8a0b8 100%); box-shadow: 0 15px 40px rgba(232, 160, 184, 0.3); }
.social-card.vk-dima { background: linear-gradient(135deg, #6b4f8a 0%, #8b6dad 100%); box-shadow: 0 15px 40px rgba(107, 79, 138, 0.3); }
.social-card.inst-alina { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 30%, #d62976 65%, #962fbf 100%); box-shadow: 0 15px 40px rgba(214, 41, 118, 0.3); }
.social-card.inst-dima { background: linear-gradient(135deg, #405de6 0%, #833ab4 45%, #e1306c 100%); box-shadow: 0 15px 40px rgba(131, 58, 180, 0.3); }

.social-card .icon-wrap {
  font-size: 2.4rem;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

.social-card .network-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.22);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.social-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 700; line-height: 1.3; }
.social-card span.handle { font-size: 0.8rem; opacity: 0.92; }

footer {
  text-align: center;
  padding: 50px 20px 40px;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .heart { color: var(--accent); font-size: 1.4rem; animation: pulse 1.5s infinite; display: inline-block; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

footer p { opacity: 0.7; font-size: 0.95rem; }
footer strong { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
  .social-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .featured-card { flex-direction: column; text-align: center; padding: 34px 24px; gap: 20px; }
  .featured-card .featured-info, .featured-card h3, .featured-card .featured-handle, .featured-card .featured-desc { text-align: center; }
  .city-note { flex-direction: column; text-align: center; padding: 26px 22px; gap: 14px; }
  .city-note .city-text { text-align: center; }
}

@media (max-width: 500px) {
  .social-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 60px 18px; }
  .hero .emoji-row { letter-spacing: 8px; }
  .card { padding: 30px 22px; }
  .timeline { width: calc(100% - 24px); }
  .timeline-list { padding-left: 12px; }
  .timeline-item { padding-left: 30px; }
}