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

:root {
  --bg:           #000000;
  --red:          #ff4422;
  --orange:       #ffaa00;
  --yellow:       #ffe555;
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text:         #f0ece8;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Canvas particles ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── Animated orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #cc2200, transparent 70%);
  top: -120px;
  left: -120px;
  animation-duration: 14s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff6600, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation-duration: 10s;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ffc200, transparent 70%);
  top: 40%;
  left: 60%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

/* ── Container ── */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 30px 32px 40px 32px;
  margin-top: 80px;
  margin-bottom: 40px;
  width: calc(100% - 32px);
  max-width: 440px;
  background: radial-gradient(ellipse at top, rgba(30, 14, 0, 0.45) 0%, rgba(14, 9, 0, 0.55) 50%, rgba(8, 4, 0, 0.7) 100%);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border-radius: 32px;
}

/* ── Name ── */
.name-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.name {
  font-family: 'Poiret One', sans-serif;
  font-size: clamp(2.8rem, 20vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 30%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  position: relative;
  animation: nameIn 1s cubic-bezier(0.22, 1, 0.36, 1) both,
             gradientShift 6s ease infinite;
  left:5px;
}

.name .o {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite, pulseO 3s ease-in-out infinite;
  margin: 0 -5px;
}

@keyframes pulseO {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.8) drop-shadow(0 0 6px var(--yellow)); }
}

.name-glow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--yellow), transparent);
  border-radius: 2px;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; width: 60%; }
  50%       { opacity: 1;   width: 90%; }
}

@keyframes nameIn {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Links ── */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  background: rgba(255, 180, 60, 0.05);
  border: 1px solid transparent;
  border-radius: 40px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Poiret One', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.link-card:hover {
  background: rgba(255, 180, 60, 0.1);
  border-color: rgba(255, 180, 60, 0.2);
}

.link-card:active { opacity: 0.7; }

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

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.link-name {
  flex: 1;
  letter-spacing: 0.08em;
}

.link-arrow {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s ease, transform 0.3s ease;
}

.link-card:hover .link-arrow {
  color: var(--orange);
  transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .container { gap: 36px; padding: 24px; margin-top: 60px; }
}
