:root {
  --bg-color: #050505;
  --text-main: #FFFFFF;
  --text-sec: rgba(255, 255, 255, 0.6);
  --accent: #FF3B30;
  --accent-glow: rgba(255, 59, 48, 0.35);
  --border-radius: 16px;
  --glass-bg: rgba(30, 30, 35, 0.60);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(140, 20, 10, 0.55) 0%, transparent 70%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 60px;
  position: relative;
  overflow-x: hidden;
  animation: fadeIn 0.4s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}


/* Main container */
.container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Avatar */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255, 59, 48, 0.4);
  box-shadow: 0 0 24px var(--accent-glow);
  object-fit: cover;
  margin-bottom: 16px;
}

/* Title & subtitle */
.title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-sec);
  text-align: center;
  margin-bottom: 32px;
}

/* Section label */
.section-label {
  width: 100%;
  font-size: 12px;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
  padding-left: 4px;
}

.section-label:first-of-type {
  margin-top: 0;
}

/* Links group */
.links-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

/* Link card */
.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.link-card:active {
  transform: scale(0.97);
}

.link-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.link-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.link-subtitle {
  font-size: 13px;
  color: var(--text-sec);
}

.link-chevron {
  font-size: 20px;
  color: var(--text-sec);
  flex-shrink: 0;
  line-height: 1;
}

/* Footer */
.footer {
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

@media (max-width: 375px) {
  body {
    padding: 32px 12px 48px;
  }
}
