*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red-dark: #6b0f0f;
  --red-main: #8b1a1a;
  --red-light: #a82828;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --cream: #faf6f0;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--red-dark) 0%, #3d0808 100%);
  min-height: 100vh;
  color: var(--white);
  line-height: 1.5;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Profile */
.profile {
  padding: 36px 24px 24px;
  text-align: center;
}

.avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
}

.profile-bio {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.profile-bio li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Links */
.links {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  color: var(--red-dark);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  background: var(--cream);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-btn .icon svg {
  width: 24px;
  height: 24px;
}

.link-btn.instagram .icon svg { fill: #E1306C; }
.link-btn.telegram .icon svg { fill: #0088cc; }
.link-btn.youtube .icon svg { fill: #FF0000; }
.link-btn.maps .icon svg { fill: #FC3F1D; }

.link-btn .label {
  flex: 1;
  text-align: left;
}

.link-btn .arrow {
  opacity: 0.4;
  font-size: 1.2rem;
}

/* Contact */
.contact {
  margin: 28px 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.contact-block + .contact-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--white);
}

.contact-value a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 32px 24px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

.footer span {
  color: var(--gold);
  font-weight: 600;
}
