/* DESIGN FROM SHOP 24/7 (UNCHANGED VISUAL) */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Arial', sans-serif;
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);
  color: #fff;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("fon.jpeg");
  background-repeat: repeat;
  background-size: auto;
  z-index: 1;
}

.page { position: relative; z-index: 2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.hero { padding: 80px 0 60px; text-align: center; position: relative; }
.site-logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 2px solid rgba(255, 216, 138, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #ffd88a;
  text-shadow: 3px 3px 0px #d4a574, 6px 6px 0px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

#admin-trigger { color: inherit; text-decoration: none; cursor: inherit; }
#admin-trigger:hover { color: inherit; text-shadow: none; }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #ffd88a;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.reviews-section { padding: 40px 0 80px; position: relative; }
.reviews-list { display: grid; gap: 25px; margin-bottom: 50px; }

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: linear-gradient(145deg, rgba(255,152,0,0.15), rgba(255,152,0,0.05));
  border: 2px solid rgba(255,152,0,0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.review-item__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(145deg,#ff9800,#f57c00);
}

.review-item__bubble { flex: 1; display: flex; flex-direction: column; }

.review-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-item__username {
  font-size: 18px;
  font-weight: 700;
  color: #ffd88a;
}

.review-item__date {
  font-size: 13px;
  color: rgba(255,216,138,0.7);
}

.review-item__text {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin-top: 6px;
  white-space: pre-wrap;
  word-break: break-word;
}

.review-item__photo {
  margin-top: 12px;
  max-width: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
}

.reviews-footer { text-align: center; }
.btn {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 12px;
}
.btn--primary {
  background: linear-gradient(145deg,#ff9800,#f57c00);
  color: #1a1a2e;
  box-shadow: 0 6px 0 #d67400, 0 10px 20px rgba(0,0,0,0.4);
}
.btn--primary:hover { transform: translateY(-3px); }
.btn--primary:active { transform: translateY(3px); }

.reviews-footer__hint {
  margin-top: 20px;
  color: rgba(255,216,138,0.8);
  font-size: 16px;
}

.footer {
  padding: 40px 0;
  background: rgba(0,0,0,0.3);
  margin-top: 60px;
}
.footer__text {
  text-align: center;
  color: rgba(255,216,138,0.8);
  font-size: 14px;
}

#admin-logout-btn {
  position: fixed;
  top: 16px;
  right: 78px;
  background: linear-gradient(145deg,#dc2626,#991b1b);
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  z-index: 9999;
}

.admin-logo-badge {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 216, 138, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 9998;
  pointer-events: none;
}

.admin-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-user { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.tg-icon {
  width: 14px;
  height: 14px;
  fill: #2AABEE;
  flex-shrink: 0;
}
.tg-user:hover .tg-icon { fill: #229ED9; }
.tg-link { color: #5ac8fa; text-decoration: none; font-weight: 600; }
.tg-link:hover { text-decoration: underline; }
.tg-realname { color: #ffd88a; font-weight: 600; margin-left: 4px; }

.photo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.photo-modal__img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .review-item { padding: 20px; }
}
