:root {
  --bg: #08080a;
  --bg-elevated: rgba(255, 255, 255, 0.045);
  --bg-elevated-hover: rgba(255, 255, 255, 0.08);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.35);
  --gold-border: rgba(212, 175, 55, 0.28);
  --champagne: #f2e6c9;
  --text-primary: #f6f1e6;
  --text-secondary: #cbbfa0;
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  display: flex;
  justify-content: center;
  padding: clamp(20px, 6vw, 48px) 16px;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% -10%, rgba(212, 175, 55, 0.10), transparent 45%),
    radial-gradient(circle at 110% 20%, rgba(212, 175, 55, 0.07), transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(ellipse at center, #101012 0%, #08080a 55%, #030303 100%);
}

.card {
  width: 100%;
  max-width: 560px;
}

.brand {
  text-align: center;
  padding: clamp(8px, 3vw, 20px) 0 clamp(28px, 6vw, 40px);
  opacity: 0;
  animation: fadeInUp 0.7s ease-out forwards;
}

.brand-logo {
  width: clamp(124px, 34vw, 176px);
  height: clamp(124px, 34vw, 176px);
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-border), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.brand-name {
  margin: 18px 0 6px;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: var(--champagne);
}

.tagline {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action {
  position: relative;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.action--large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 108px;
  padding: 18px 54px;
}

.action--tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 108px;
  padding: 20px 12px 10px;
  text-align: center;
}

.action:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .action:hover {
    background: var(--bg-elevated-hover);
    border-color: var(--gold);
    transform: translateY(-2px);
  }
}

.action:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.action-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.action-icon svg {
  width: 100%;
  height: 100%;
}

.action-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 0 1 auto;
  text-align: left;
}

.action--tile .action-text {
  align-items: center;
  text-align: center;
}

.action-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action--tile .action-title {
  white-space: normal;
}

.action-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action--tile .action-subtitle {
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

.action-subtitle--hidden {
  display: none;
}

.action-meta {
  font-size: 0.76rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.action-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  flex: none;
  font-size: 1.4rem;
  color: var(--gold-soft);
  line-height: 1;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.actions > a.action--large:nth-of-type(1) { animation-delay: 0.05s; }
.actions > div.action-grid:nth-of-type(1) .action--tile:nth-child(1) { animation-delay: 0.12s; }
.actions > div.action-grid:nth-of-type(1) .action--tile:nth-child(2) { animation-delay: 0.16s; }
.actions > div.action-grid:nth-of-type(2) .action--tile:nth-child(1) { animation-delay: 0.20s; }
.actions > div.action-grid:nth-of-type(2) .action--tile:nth-child(2) { animation-delay: 0.24s; }
.actions > div.action-grid:nth-of-type(3) .action--tile:nth-child(1) { animation-delay: 0.28s; }
.actions > div.action-grid:nth-of-type(3) .action--tile:nth-child(2) { animation-delay: 0.32s; }
.actions > a.action--large:nth-of-type(2) { animation-delay: 0.38s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .action--large {
    gap: 8px;
    padding: 18px 44px;
  }

  .action-chevron {
    right: 14px;
  }

  .action-grid {
    gap: 10px;
  }

  .action--tile {
    padding: 20px 8px 10px;
  }
}

.legal-footer {
  text-align: center;
  margin-top: 22px;
  padding: 4px 0 2px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

.legal-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 6px;
  display: inline-block;
  border-radius: 4px;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--gold);
}

.legal-footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.legal-footer-dot {
  margin: 0 2px;
  color: var(--gold-soft);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .brand,
  .action,
  .legal-footer {
    opacity: 1;
  }
}
