:root {
    --bg: #eee8dc;
    --bg-deep: #d9cfbf;
    --card: #111111;
    --card-soft: #171717;
    --text: #f8f2e7;
    --muted: #b9ae9d;
    --muted-soft: #837a6d;
    --line: rgba(248, 242, 231, 0.13);
    --gold: #c7a86b;
    --gold-soft: rgba(199, 168, 107, 0.32);
    --button: rgba(255, 255, 255, 0.055);
    --button-hover: rgba(255, 255, 255, 0.105);
    --shadow: 0 34px 90px rgba(20, 17, 12, 0.22);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    min-height: 100%;
  }
  
  body {
    min-height: 100vh;
    margin: 0;
    font-family:
      Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 34%),
      radial-gradient(circle at bottom right, rgba(199, 168, 107, 0.22), transparent 36%),
      linear-gradient(135deg, var(--bg), var(--bg-deep));
  }
  
  a,
  button {
    font: inherit;
  }
  
  .page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
  }
  
  .card {
    position: relative;
    width: min(100%, 430px);
    overflow: hidden;
    padding: 38px 28px 26px;
    border: 1px solid rgba(199, 168, 107, 0.24);
    border-radius: 32px;
    background:
      radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%),
      linear-gradient(145deg, var(--card-soft), var(--card));
    box-shadow: var(--shadow);
    text-align: center;
    animation: cardReveal 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  
  .card::before {
    content: "";
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: 31px;
    border: 1px solid rgba(255, 255, 255, 0.045);
  }
  
  .gold-line {
    width: 72px;
    height: 1px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    animation: fadeUp 560ms ease 220ms both;
  }
  
  .eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 560ms ease 320ms both;
  }
  
  h1 {
    margin: 0;
    font-family:
      Georgia, "Times New Roman", Times, serif;
    font-size: clamp(3.2rem, 14vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.075em;
    line-height: 0.9;
    opacity: 0;
    animation: fadeUp 640ms cubic-bezier(0.2, 0.8, 0.2, 1) 420ms both;
  }
  
  .subtitle {
    max-width: 310px;
    margin: 24px auto 0;
    color: var(--text);
    font-size: 1.03rem;
    line-height: 1.55;
    opacity: 0;
    animation: fadeUp 560ms ease 560ms both;
  }
  
  .details {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 560ms ease 660ms both;
  }
  
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
  }
  
  .actions-three {
    grid-template-columns: 1fr 1fr;
  }
  
  .actions-three .button:last-child {
    grid-column: 1 / -1;
  }
  
  .button,
  .share-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: var(--button);
    text-decoration: none;
    cursor: pointer;
    transition:
      transform 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }
  
  .button:hover,
  .share-button:hover {
    transform: translateY(-1px);
    background: var(--button-hover);
    border-color: var(--gold-soft);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }
  
  .button-primary {
    color: #111111;
    background: var(--text);
    border-color: var(--text);
  }
  
  .button-primary:hover {
    color: #111111;
    background: #ffffff;
    border-color: #ffffff;
  }
  
  .action-item,
  .share-item {
    opacity: 0;
    animation: buttonIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  
  .action-item:nth-child(1) {
    animation-delay: 780ms;
  }
  
  .action-item:nth-child(2) {
    animation-delay: 880ms;
  }
  
  .action-item:nth-child(3) {
    animation-delay: 980ms;
  }
  
  .link-list {
    display: grid;
    gap: 0;
    margin-top: 28px;
    text-align: left;
    border-top: 1px solid var(--line);
  }
  
  .link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition:
      color 180ms ease,
      padding 180ms ease;
  }
  
  .link-list a:hover {
    padding-left: 6px;
    color: #ffffff;
  }
  
  .link-list span {
    color: var(--gold);
  }
  
  .link-item {
    opacity: 0;
    animation: fadeUp 480ms ease both;
  }
  
  .link-item:nth-child(1) {
    animation-delay: 1080ms;
  }
  
  .link-item:nth-child(2) {
    animation-delay: 1160ms;
  }
  
  .link-item:nth-child(3) {
    animation-delay: 1240ms;
  }
  
  .link-item:nth-child(4) {
    animation-delay: 1320ms;
  }
  
  .share-button {
    width: 100%;
    margin-top: 24px;
    color: var(--muted);
  }
  
  .share-button:hover {
    color: var(--text);
  }
  
  .share-item {
    animation-delay: 1400ms;
  }
  
  footer {
    margin-top: 28px;
    color: var(--muted-soft);
    font-size: 0.76rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeUp 560ms ease 1500ms both;
  }
  
  footer p {
    margin: 4px 0;
  }
  
  .studio-credit {
    display: inline-flex;
    margin-top: 14px;
    color: rgba(199, 168, 107, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
      color 180ms ease,
      transform 180ms ease;
  }
  
  .studio-credit:hover {
    color: var(--gold);
    transform: translateY(-1px);
  }
  
  @keyframes cardReveal {
    from {
      opacity: 0;
      transform: translateY(14px) scale(0.985);
    }
  
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes buttonIn {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.985);
    }
  
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 1ms !important;
      animation-delay: 0ms !important;
      transition-duration: 1ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  @media (max-width: 380px) {
    .card {
      padding: 34px 22px 24px;
      border-radius: 28px;
    }
  
    .card::before {
      border-radius: 27px;
    }
  
    .actions,
    .actions-three {
      grid-template-columns: 1fr;
    }
  
    .actions-three .button:last-child {
      grid-column: auto;
    }
  }