:root {
  --bg-color: #1a1a2e;
  --bg-gradient-end: #2d2d44;
  --card-color: #16213e;
  --text-color: #ffffff;
  --accent-color: #e94560;
  --link-hover-color: #0f3460;
}

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

body {
  font-family: 'Linik Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.profile {
  margin-bottom: 30px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  margin-bottom: 16px;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.profile p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.link-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.section-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--card-color);
  color: var(--text-color);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.link-item:hover {
  background-color: var(--link-hover-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.link-item:active {
  transform: translateY(0);
}

.link-item i {
  font-size: 1.25rem;
  width: 24px;
}

footer {
  margin-top: 40px;
  font-size: 0.875rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-text {
  /* Footer text styling */
}

/* Theme Toggle Switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card-color);
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-switch input:checked + .slider::before {
  transform: translateX(30px);
}

.slider .sun-icon,
.slider .moon-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  transition: opacity 0.3s ease;
}

.slider .sun-icon {
  left: 7px;
  color: #f39c12;
  opacity: 0;
}

.slider .moon-icon {
  right: 7px;
  color: #9b9b9b;
  opacity: 1;
}

.theme-switch input:checked + .slider .sun-icon {
  opacity: 1;
}

.theme-switch input:checked + .slider .moon-icon {
  opacity: 0;
}

@media (max-width: 480px) {
  .avatar {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .link-item {
    padding: 14px 20px;
    font-size: 0.9375rem;
  }
}
