/* ------------------------------------------------------ */
/* www.tropicalevents.ro Development Team @ neagumarrioo  */
/* ------------------------------------------------------ */

:root {
  --black: #050205;
  --black-soft: #160405;
  --pink-main: #ff4a4a;
  --pink-hot: #ff1f2f;
  --coral: #ff7a4f;
  --rose: #ffd7d2;
  --cream: #fff8f3;
  --muted: #dfb9b2;
  --line: rgba(255, 74, 74, 0.24);
  --line-strong: rgba(255, 74, 74, 0.46);
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  --shadow-pink: 0 18px 44px rgba(255, 31, 47, 0.26);
  --red-deep: #3b0607;
  --red-hot: #ff1f2f;
  --red-soft: #ff6b5f;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--black);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--cream);
  background: linear-gradient(120deg, rgba(255, 31, 47, 0.14), transparent 34%),
    linear-gradient(240deg, rgba(255, 122, 79, 0.14), transparent 32%),
    linear-gradient(180deg, #060101 0%, #130202 42%, #030101 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

body::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 31, 47, 0.08) 42%,
    rgba(255, 255, 255, 0.045) 50%,
    rgba(255, 31, 47, 0.08) 58%,
    transparent 100%
  );
  opacity: 0.62;
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-180%);
  transition: transform 0.22s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  min-height: 100vh;
  padding: 26px 20px 44px;
}

.page-shell {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.page-shell::before,
.page-shell::after {
  display: none;
}

.profile-card,
.event-hero,
.link-button,
.event-pill,
.footer {
  border: 1px solid var(--line);
  background: linear-gradient(
      180deg,
      var(--panel-strong),
      rgba(255, 255, 255, 0.04)
    ),
    linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.event-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  animation: settle-in 0.72s var(--ease-out) both;
}

.event-hero::before,
.event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.event-hero::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.16) 42%,
    rgba(5, 2, 5, 0.72) 100%
  );
}

.event-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(255, 31, 47, 0.22);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.03);
  transform: scale(1.015);
  animation: slow-zoom 14s var(--ease-out) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 34px 26px 30px;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.88);
}

.hero-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(5, 2, 5, 0.8);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.46);
}

.profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 28px 26px;
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: settle-in 0.72s var(--ease-out) both;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 100%
  );
  opacity: 0.55;
  transform: translateX(-140%);
  animation: sweep 9s linear infinite;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-hot), var(--coral));
  box-shadow: 0 0 0 0 rgba(255, 91, 214, 0.6);
  animation: pulse 2.1s ease-out infinite;
}

.avatar-wrap {
  position: relative;
  width: 126px;
  height: 126px;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    var(--pink-main),
    var(--coral),
    var(--rose)
  );
  box-shadow: var(--shadow-pink);
  transform-style: preserve-3d;
}

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 193, 232, 0.18);
  animation: orbit-ring 7s linear infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(5, 2, 5, 0.44);
}

.profile-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.eyebrow {
  color: var(--pink-main);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.profile-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 10vw, 4.7rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
  text-wrap: balance;
}

.handle {
  color: var(--rose);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.description {
  max-width: 34ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.quick-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quick-chip {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease,
    background 0.22s ease, color 0.22s ease;
}

.quick-chip:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.quick-chip-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--pink-main), var(--coral));
  border-color: transparent;
}

.quick-chip-primary:hover {
  color: var(--black);
  background: linear-gradient(135deg, var(--rose), var(--coral));
}

.quick-chip.is-copied {
  color: var(--black);
  background: linear-gradient(135deg, var(--rose), var(--coral));
  border-color: transparent;
}

.links-section {
  width: min(100%, 720px);
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.link-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 8px 0;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
}

.link-group-label:first-child {
  margin-top: 0;
}

.link-group-label::before,
.link-group-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 210, 0.22));
}

.link-group-label::after {
  background: linear-gradient(90deg, rgba(255, 215, 210, 0.22), transparent);
}

.link-button {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  align-items: center;
  column-gap: 18px;
  padding: 18px 16px;
  min-height: 118px;
  border-radius: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: settle-in 0.68s var(--ease-out) both;
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease,
    box-shadow 0.28s ease, background 0.28s ease;
}

.links-section .link-button:nth-of-type(1) {
  animation-delay: 0.04s;
}

.links-section .link-button:nth-of-type(2) {
  animation-delay: 0.1s;
}

.links-section .link-button:nth-of-type(3) {
  animation-delay: 0.16s;
}

.links-section .link-button:nth-of-type(4) {
  animation-delay: 0.22s;
}

.links-section .link-button:nth-of-type(5) {
  animation-delay: 0.28s;
}

.links-section .link-button:nth-of-type(6) {
  animation-delay: 0.34s;
}

.links-section .link-button:nth-of-type(7) {
  animation-delay: 0.4s;
}

.links-section .link-button:nth-of-type(8) {
  animation-delay: 0.46s;
}

.links-section .link-button:nth-of-type(9) {
  animation-delay: 0.52s;
}

.links-section .link-button:nth-of-type(10) {
  animation-delay: 0.58s;
}

.link-button::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240, 117, 211, 0.18),
    transparent 64%
  );
  pointer-events: none;
}

.link-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 52%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-110%);
  transition: opacity 0.24s ease, transform 0.55s var(--ease-out);
}

.link-button:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(240, 117, 211, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.56),
    0 16px 38px rgba(240, 117, 211, 0.16);
}

.link-button:hover::after {
  opacity: 1;
  transform: translateX(110%);
}

.link-button-accent {
  background: linear-gradient(
      180deg,
      rgba(255, 31, 47, 0.2),
      rgba(255, 255, 255, 0.05)
    ),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.link-kicker,
.link-note,
.link-button strong,
.link-icon,
.link-copy,
.link-arrow {
  position: relative;
  z-index: 1;
}

.link-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.link-icon {
  justify-self: center;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.05);
}

.link-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.link-kicker {
  display: block;
  width: 100%;
  color: var(--pink-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.link-button strong {
  display: block;
  width: 100%;
  max-width: 24ch;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.link-note {
  display: block;
  width: 100%;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.link-arrow {
  justify-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.24s ease, border-color 0.24s ease,
    background 0.24s ease;
}

.link-arrow::before,
.link-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform-origin: center;
}

.link-arrow::before {
  width: 12px;
  height: 2px;
  transform: translate(-55%, -50%);
}

.link-arrow::after {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: translate(-10%, -50%) rotate(45deg);
}

.link-button:hover .link-arrow,
.link-button:focus-visible .link-arrow {
  transform: translateX(3px);
  border-color: rgba(240, 117, 211, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.event-strip {
  width: min(100%, 720px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.event-pill {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 22px;
  text-align: center;
  animation: settle-in 0.68s var(--ease-out) both;
}

.event-strip .event-pill:nth-child(1) {
  animation-delay: 0.18s;
}

.event-strip .event-pill:nth-child(2) {
  animation-delay: 0.24s;
}

.event-strip .event-pill:nth-child(3) {
  animation-delay: 0.3s;
}

.event-pill span {
  color: var(--pink-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-pill strong {
  font-size: 0.95rem;
  line-height: 1.4;
  text-wrap: balance;
}

.footer {
  width: min(100%, 720px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
  padding: 20px 18px;
  border-radius: 28px;
  animation: settle-in 0.72s var(--ease-out) both;
  animation-delay: 0.24s;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.error-page .page-shell {
  max-width: 760px;
  min-height: calc(100vh - 72px);
  align-content: center;
}

.error-card h1 {
  font-size: clamp(3.4rem, 12vw, 6rem);
}

.error-card .description {
  max-width: 42ch;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 91, 214, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 91, 214, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 91, 214, 0);
  }
}

@keyframes orbit-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sweep {
  0%,
  12% {
    transform: translateX(-140%);
  }
  20%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes settle-in {
  from {
    opacity: 0.55;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@media (max-width: 640px) {
  .page {
    padding: 18px 14px 30px;
  }

  .page-shell {
    gap: 14px;
  }

  .profile-card {
    padding: 22px 16px 20px;
    gap: 14px;
  }

  .event-hero {
    min-height: 610px;
    border-radius: 28px;
    align-items: end;
  }

  .event-hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(5, 2, 5, 0.74) 100%
    );
  }

  .hero-backdrop img {
    object-position: center top;
  }

  .hero-content {
    gap: 14px;
    padding: 26px 16px 22px;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .avatar-wrap {
    width: 108px;
    height: 108px;
  }

  .profile-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .description {
    font-size: 0.97rem;
  }

  .quick-actions {
    width: 100%;
  }

  .quick-chip {
    flex: 1 1 calc(50% - 10px);
  }

  .quick-chip-button {
    flex-basis: 100%;
  }

  .link-button {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    column-gap: 10px;
    padding: 16px 14px;
    min-height: 108px;
    border-radius: 22px;
  }

  .link-button strong {
    font-size: 1rem;
  }

  .link-icon {
    width: 52px;
    height: 52px;
  }

  .link-icon svg {
    width: 26px;
    height: 26px;
  }

  .event-strip {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 14px;
    padding: 18px 14px;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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