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

/* Base */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    sans-serif;
  background: url("./img/bg.webp") no-repeat center center fixed;
  background-size: cover;
  color: #191f28;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 40px;
  min-height: 100vh;
  background: rgba(244, 245, 247, 0.95);
}

/* Profile Card */
.profile-card {
  background: #fff;
  padding: 32px 24px;
  margin-bottom: 8px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-image {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 2px;
}

.profile-role {
  font-size: 14px;
  color: #8b95a1;
  font-weight: 500;
}

.profile-bio {
  font-size: 15px;
  color: #4e5968;
  line-height: 1.6;
}

/* Section */
.section {
  margin-bottom: 8px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: #8b95a1;
  padding: 16px 24px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card */
.card {
  background: #fff;
}

/* List Item */
.list-item {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f2f4f6;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:active {
  background: #f8f9fa;
}

/* Item Icon */
.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.item-icon svg {
  width: 22px;
  height: 22px;
}

.item-icon.email {
  background: #e8f4fd;
  color: #3182f6;
}

.item-icon.phone {
  background: #e5f6e8;
  color: #20c997;
}

.item-icon.instagram {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #e1306c;
}

.item-icon.github {
  background: #f0f0f0;
  color: #24292e;
}

.item-icon.linkedin {
  background: #e8f4fd;
  color: #0077b5;
}

.item-icon.web {
  background: #e8f4fd;
  color: #3182f6;
}

.item-icon.blog {
  background: #fff3e0;
  color: #ff9800;
}

/* Item Content */
.item-content {
  flex: 1;
  min-width: 0;
}

.item-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #191f28;
  margin-bottom: 2px;
}

.item-value {
  display: block;
  font-size: 14px;
  color: #8b95a1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-value.preparing {
  color: #b0b8c1;
}

/* Item Arrow */
.item-arrow {
  color: #d1d6db;
  margin-left: 8px;
}

.item-arrow svg {
  width: 16px;
  height: 16px;
}

/* Contact Button */
.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 48px);
  margin: 24px auto 0;
  padding: 16px 24px;
  background: #3182f6;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-button:active {
  transform: scale(0.98);
  background: #1b64da;
}

.contact-button svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px;
  color: #b0b8c1;
  font-size: 13px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card {
  animation: fadeIn 0.4s ease;
}

.section {
  animation: fadeIn 0.4s ease;
}

.section:nth-child(2) {
  animation-delay: 0.05s;
}
.section:nth-child(3) {
  animation-delay: 0.1s;
}
.section:nth-child(4) {
  animation-delay: 0.15s;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #191f28;
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (min-width: 481px) {
  .container {
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: rgba(244, 245, 247, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Hover states for desktop */
@media (hover: hover) {
  .list-item:hover {
    background: #f8f9fa;
  }

  .contact-button:hover {
    background: #1b64da;
  }
}
