@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap");

:root {
  --text-main: rgba(255, 255, 255, 0.92);
  --text-soft: rgba(255, 255, 255, 0.55);
  --text-faint: rgba(255, 255, 255, 0.35);

  --border-soft: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.25);

  --accent: #ff7a5c;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(
      1200px 800px at 50% 20%,
      #331111 0%,
      #1a0707 45%,
      #000000 100%
    );
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-main);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 50%),
    radial-gradient(circle at 50% 20%, rgba(255,122,92,0.08), transparent 70%),
    url("https://i.pinimg.com/736x/4e/22/62/4e2262389a079c43ffb21d1e007d283e.jpg") center/cover no-repeat;
  background-blend-mode: overlay;
  filter: blur(6px) brightness(0.75);
}

@keyframes ambientMove {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, -2%) scale(1.04); }
  100% { transform: translate(0, 0) scale(1); }
}

.card {
  position: relative;
  width: 360px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(1.15);
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card > * {
  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 0.6s forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card > *:nth-child(1) { animation-delay: 0.1s; }
.card > *:nth-child(2) { animation-delay: 0.2s; }
.card > *:nth-child(3) { animation-delay: 0.3s; }
.card > *:nth-child(4) { animation-delay: 0.4s; }
.card > *:nth-child(5) { animation-delay: 0.5s; }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(600px 200px at 50% 0%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.profile-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.avatar-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
}

.verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 3px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.verified-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(255,255,255,0.45),
      rgba(255,255,255,0.12) 40%,
      transparent 65%
    );
  pointer-events: none;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info h1 {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.designer-title {
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-weight: 300;
}

.skills {
  display: flex;
  gap: 10px;
}

.skills img {
  width: 16px;
  filter: invert(1);
  opacity: 0.6;
}

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

.link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, background 0.25s ease;
  position: relative;
  z-index: 1;
  will-change: transform;
}

.link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--border-soft);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.link:hover::after {
  opacity: 1;
}

.link img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.link:hover img {
  opacity: 1;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--text-faint);
}

.footer .visitors {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer .visitors svg {
  width: 16px;
  height: 16px;
  fill: var(--text-faint);
}

::selection {
  background: rgba(128, 128, 128, 0.25);
  color: #fff;
}

/* 
.message-hint {
  margin-top: 6px;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--text-faint);
}
*/

.message-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.name-input,
.message-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.name-input::placeholder,
.message-input::placeholder {
  color: var(--text-soft);
}

.message-send {
  width: 100%; 
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-send img {
  width: 16px;
  filter: invert(1);
  opacity: 0.6;
  pointer-events: none;
}

.message-send:hover img {
  opacity: 0.85;
}

/* 
.message-status {
  margin-top: -18px;
  min-height: 14px;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.message-status.show {
  margin-top: 12px;
  opacity: 1;
}

.message-status.success {
  color: #69ffa0d2;
  margin-top: 12px;
}

.message-status.error,
.message-status.cooldown {
  color: rgba(255, 120, 100, 0.8);
  font-variant-numeric: tabular-nums;
  margin-top: 12px;
}
*/

.divider {
  height: 1px;
  width: 100%;
  margin: 4px 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

button.link {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
}

/* 
.link.order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.link.order:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.link.order:hover::after {
  opacity: 1;
}

.link.order strong {
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.link.order span {
  font-size: 0.85rem;
  color: var(--text-main);
  letter-spacing: 0.12em;
}

.order-details {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-main);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  resize: vertical;
  min-height: 100px;
  max-height: 150px;
}

.order-details::placeholder {
  color: var(--text-soft);
}

.order-send {
  width: 100%; 
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-send img {
  width: 16px;
  filter: invert(1);
  opacity: 0.6;
  pointer-events: none;
}

.order-send:hover img {
  opacity: 0.85;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.char-counter {
  font-size: 0.65rem;
  color: var(--text-faint);
  text-align: right;
  margin-top: 2px;
  letter-spacing: 0.12em;
}
.char-counter.over-limit {
  color: rgba(255, 120, 100, 0.8);
}

.message-input:not(:placeholder-shown) + .message-send {
   background: rgba(255, 255, 255, 0.08);
}
*/

@media (max-width: 420px) {
  .card {
    width: 100%;
    max-width: 360px;
    padding: 24px;
    transform: none;
  }

  .message-wrapper.show {
    padding: 16px;
  }

  .name-input,
  .message-input {
    font-size: 0.8rem;
  }
}

@media (hover: none) {
  .link:hover,
  .message-send:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

#dot-cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 255, 255, 0.6),
    0 0 28px rgba(255, 255, 255, 0.35);
}

.sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: sparkle-fade 0.8s forwards;
  z-index: 2147483646;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
}

*,
*::before,
*::after {
  cursor: none !important;
}

/* 
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: rgba(0,0,0,0.85);
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(12px);
}
*/

.about-me {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-me h2 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
}

.about-me p {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-value {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.6rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  margin-top: 1px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skills-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-weight: 300;
}