/* === Общие настройки === */
body {
  margin: 0;
  background: #000;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* === Размытый фон === */
.bg-blur {
  position: fixed;
  inset: 0;
  background: url('images/hero.jpg') center/cover no-repeat;
  filter: blur(40px) brightness(0.6);
  transform: scale(1.2);
  z-index: -1;
}

/* === Центральная карточка === */
.profile-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0,0,0,0.7);
  min-height: 100vh;
}

/* === Обложка === */
.cover {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* градиент для затемнения низа */
.cover-gradient {
  position: absolute;
  inset: 0;
  /* Более сильный и длинный градиент */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,       /* прозрачный сверху */
    rgba(0, 0, 0, 0.3) 40%,    /* мягкое начало затемнения */
    rgba(0, 0, 0, 0.7) 65%,    /* плотнее к низу */
    rgba(0, 0, 0, 1) 85%,      /* почти чёрный */
    #000 100%                  /* чисто чёрный у самого низа */
  );
  z-index: 1;
}
.big-tile {
  width: calc(100% - 40px);
  max-width: 380px;
  margin: 20px auto 10px;
  border-radius: 18px;
  overflow: hidden;
}

.big-tile a {
  display: block;
  position: relative;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.big-bg {
  height: 190px;
  object-fit: cover;
}

.big-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 90%);
  transition: background 0.3s;
}

.big-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 32px;
}

.big-text {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.big-tile:hover .big-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.1) 100%);
}


/* === Текст поверх фото === */
.overlay-info {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  z-index: 2;
  animation: fadeIn 1.2s ease-out;
}

.overlay-info h1 {
  font-size: 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.overlay-info h1 img {
  width: 20px;
  margin-left: 6px;
}

.overlay-info .aka {
  color: #ccc;
  font-size: 15px;
  margin: 6px 0;
}

.overlay-info .location {
  font-size: 15px;
  color: #f5f5f5;
  margin-top: 4px;
}

/* === Плитки соцсетей === */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  margin-top: 10px;
}

.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 190px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.1);
}

.tile img.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
  z-index: 1;
}

.tile .icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  z-index: 2;
}

.tile span {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  z-index: 2;
}

/* === Footer === */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 18px 10px;
  font-size: 15px;
  margin-top: 10px;
}

.footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ddd;
}

/* === Анимация появления текста === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
/* === Галерея / Карусель === */
.gallery {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 20px 0 30px;
  background: #000;
  scrollbar-width: none; /* Firefox */
}

.gallery::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

.gallery-track {
  display: flex;
  gap: 15px;
  padding: 0 20px;
}

.gallery-track img {
  height: 320px;           /* фиксируем высоту, чтобы карточки были ровные */
  width: auto;
  aspect-ratio: 2 / 3;     /* гарантирует вертикальный формат */
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgb(0, 0, 0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.social-icons img {
  width: 22px;
  height: 22px;
}

