* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes flicker {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.6; }
}

@keyframes moon-pulse {
  0%, 100% {
    filter: brightness(1) contrast(1);
    box-shadow:
      0 0 40px 12px rgba(200, 200, 230, 0.25),
      0 0 80px 20px rgba(180, 180, 220, 0.1);
  }
  50% {
    filter: brightness(0.9) contrast(0.98);
    box-shadow:
      0 0 32px 9px rgba(200, 200, 230, 0.18),
      0 0 65px 15px rgba(180, 180, 220, 0.06);
  }
}

body {
  background: #1a1a1f;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 1.25rem;
  color: #e0e0e8;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-content: center;
}

.card {
  max-width: 620px;
  margin: 0 auto;
}


.moon {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: #e8e8f0;
  border-radius: 50%;
  box-shadow:
    0 0 40px 12px rgba(200, 200, 230, 0.25),
    0 0 80px 20px rgba(180, 180, 220, 0.1);
  z-index: 0;
  animation: moon-pulse 4.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}


.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #d0d0e5;
  box-shadow:
    0 0 8px 1px rgba(200, 200, 255, 0.6),
    0 0 16px 0 rgba(150, 150, 220, 0.25);
  animation: pulse 4.5s ease-in-out infinite;
}

.star.large {
  background: #e0e0ff;
  box-shadow:
    0 0 10px 2px rgba(220, 220, 255, 0.7),
    0 0 20px 3px rgba(180, 180, 240, 0.4);
  animation: pulse 7s ease-in-out infinite;
}

/* 🌠 Падающая звезда */
.shooting-star {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 2px;
  height: 2px;
  background: #e0e0ff;
  border-radius: 50%;
  box-shadow: 0 0 6px 1px rgba(200, 200, 255, 0.8);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(180, 180, 240, 0.6), transparent);
  transform: rotate(-30deg);
  transform-origin: top left;
}


.forest-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
}


.game {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #35353a;
}

.game:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.game-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-logo svg {
  width: 40px;
  height: 40px;
}

.game-info {
  flex: 1;
}

.game-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #d5d5dc;
  margin-bottom: 0.5rem;
}

.game-info p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b5b5bd;
  margin-bottom: 0.75rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}


.card {
  width: 100%;
    max-width: 620px;
  background: #2a2a2f;
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(60, 60, 70, 0.4);
  position: relative;
  z-index: 3;
}

.avatar-placeholder {
  margin: 0 auto 1.5rem;
  width: 120px;
  height: 120px;
  position: relative;
}

.avatar-border {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #36363c, #2e2e34);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.avatar-inner {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #333338;
  border: 2px solid #3d3d42;
  background-size: cover;
  background-position: center;
  animation: fadeInScale 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  opacity: 0;
}

.name {
  font-size: 1.875rem;
  font-weight: 600;
  color: #f0f0f5;
  margin-bottom: 0.25rem;
}

.meta {
  font-size: 0.9375rem;
  color: #a8a8b2;
  margin-bottom: 1.5rem;
}

.section {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #d5d5dc;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #3a3a3f;
}

.section p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b5b5bd;
}

.interests {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.interest {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: #b8b8c0;
  padding-left: 0.25rem;
}

.interest i {
  font-size: 0.875rem;
  animation: flicker 9s ease-in-out infinite;
}

.interest .fa-heart {
  color: #a8a8b8;
}

.interest .fa-heart-broken {
  color: #7f7f8a;
}

.interest:nth-child(2) i { animation-delay: 0.7s; }
.interest:nth-child(3) i { animation-delay: 1.4s; }
.interest:nth-child(4) i { animation-delay: 2.1s; }
.interest:nth-child(5) i { animation-delay: 2.8s; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #323238;
  color: #c0c0c8;
  font-size: 0.8125rem;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.3s;
}

.tag:hover {
  background: #3a3a40;
}

.footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #3a3a3f;
}

.footer p {
  font-size: 0.875rem;
  color: #9a9aa5;
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: #35353b;
  color: #e0e0e8;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  border: 1px solid #44444a;
}

.contact-btn:hover {
  background: #3c3c42;
  border-color: #505056;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 🎮 Игры без логотипа */
.game.no-logo {
  padding-left: 0;
}

.game.no-logo .game-info h3 {
  font-size: 1.25rem;
  color: #f0f0f5;
}

.section p,
.game-info p,
.footer p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #b5b5bd;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 680px) {
  .card {
    padding: 1.5rem;
  }
  .name {
    font-size: 1.625rem;
  }
  .contact-btn {
    width: 100%;
    max-width: 300px;
  }
  .moon {
    top: 8%;
    right: 8%;
    width: 50px;
    height: 50px;
  }
  .game {
    flex-direction: column;
    text-align: center;
  }
  .game-logo {
    margin: 0 auto;
  }
}
