/* Base */
:root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #b0bec5;
    --accent: #2f855a;    /* PolyKaly green */
    --accent-2: #e4ae0b;  /* your gold/yellow */
  }
  
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
  }
  
  /* Layout */
  .uc {
    min-height: 100dvh;
    max-width: 960px;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .uc__logo {
    width: clamp(140px, 22vw, 220px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    margin-bottom: .75rem;
  }
  
  .uc__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: .2px;
  }
  
  .uc__subtitle {
    color: var(--muted);
    max-width: 56ch;
    margin-inline: auto;
    margin-top: .25rem;
    margin-bottom: 1.25rem;
  }
  
  /* Actions */
  .uc__actions { display: grid; gap: .75rem; justify-items: center; }
  
  /* Return button (animated, but subtle) */
  .btn {
    position: relative;
    appearance: none;
    border: none;
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    padding: 0;
    border-radius: 999px;
    outline-offset: 4px;
  }
  
  .btn__inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 0.95rem 1.5rem 0.95rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 0 0 2px var(--accent);
    transition: box-shadow .35s ease, transform .2s ease;
    overflow: hidden;
  }
  
  .btn__text { font-weight: 600; }
  
  .btn__circle {
    position: relative;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(0);
    transition: transform .45s cubic-bezier(.23,1,.32,1), background .3s ease;
  }
  .btn__circle::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: .55rem;
    height: .55rem;
    border: 2px solid #000;
    border-left: 0;
    border-top: 0;
    transform: rotate(-45deg);
    translate: 0 0;
  }
  
  /* Hover / active */
  .btn:hover .btn__inner { box-shadow: 0 0 0 8px rgba(47,133,90,0.15); }
  .btn:hover .btn__circle { transform: translateX(4px); }
  .btn:active .btn__inner { transform: translateY(1px); }
  
  /* Home fallback link */
  .uc__home {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--muted);
    padding-bottom: 2px;
    transition: color .25s ease, border-color .25s ease;
  }
  .uc__home:hover {
    color: var(--accent-2);
    border-color: var(--accent-2);
  }
  
  /* Loader (matches your previous cube aesthetic) */
  .cube-container {
    --uib-size: 48px;
    --uib-color: var(--accent);
    --uib-speed: 1.75s;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: var(--uib-size);
    height: calc(var(--uib-size) * 0.6);
    margin: 1rem 0 1.5rem;
  }
  
  .cube {
    flex-shrink: 0;
    width: calc(var(--uib-size) * 0.2);
    height: calc(var(--uib-size) * 0.2);
    animation: jump var(--uib-speed) ease-in-out infinite;
  }
  .cube__inner {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 25%;
    background-color: var(--uib-color);
    transform-origin: center bottom;
    animation: morph var(--uib-speed) ease-in-out infinite;
  }
  
  .cube:nth-child(2) { animation-delay: calc(var(--uib-speed) * -0.36); }
  .cube:nth-child(2) .cube__inner { animation-delay: calc(var(--uib-speed) * -0.36); }
  .cube:nth-child(3) { animation-delay: calc(var(--uib-speed) * -0.2); }
  .cube:nth-child(3) .cube__inner { animation-delay: calc(var(--uib-speed) * -0.2); }
  
  @keyframes jump {
    0%, 30% { transform: translateY(0); }
    50% { transform: translateY(-200%); }
    75%, 100% { transform: translateY(0); }
  }
  @keyframes morph {
    0%, 10%, 40%, 70%, 85%, 100% { transform: scaleY(1); }
    20%, 25% { transform: scaleY(0.6) scaleX(1.3); }
    30% { transform: scaleY(1.15) scaleX(0.9); }
    75% { transform: scaleY(0.8) scaleX(1.2); }
  }
  
  /* Motion respect */
  @media (prefers-reduced-motion: reduce) {
    .btn__inner, .btn__circle, .cube, .cube__inner { transition: none !important; animation: none !important; }
  }
  
  .custom-button {
    background-color: #f5f5f5 !important;
    text-align: center !important;
    width: 12rem !important;
    height: 3.5rem !important;
    position: relative !important;
    color: #000000 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    border: 4px solid #f5f5f5 !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }
  
  .custom-button-highlight {
    background-color: yellowgreen !important;
    border-radius: 0.75rem !important;
    height: 3rem !important;
    width: 25% !important;
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 999 !important;  /* make highlight above text */
    transition: width 0.5s !important;
  }
  
  .custom-button:hover .custom-button-highlight {
    width: 100% !important;
  }
  
  .custom-button-text {
    transform: translateX(1rem) !important;
    position: relative !important;
    z-index: 1 !important;  /* put text below the highlight */
  }
  