/* ===========================================================================
   DinkCue palette: the single source of truth for the site's colours.
   Same values as the app (pickleball-ai/constants/palette.js).

   Everything downstream reads from the custom properties below:
     * assets/theme.js turns them into the Tailwind config, so every
       `bg-primary` / `text-primary` / `border-primary/40` class resolves here;
     * the accent-dependent component rules further down use var() directly.

   To re-brand the site, change the hex values in :root and nothing else.
   The --dc-*-rgb triples are derived automatically by assets/theme.js; do
   not hand-write them.
   =========================================================================== */
:root {
    --dc-primary: #E3FD71;
    --dc-secondary: #CFF23C;
    --dc-tertiary: #22C55E;
    --dc-background: #1D1C1C;
    --dc-card: #2B2B2D;
    --dc-border: #3d3d46;
    --dc-brand-green: #335746;
    --dc-text-primary: #FFFFFF;
    --dc-text-secondary: #9CA3AF;
    --dc-foreground: #232323;
    --dc-muted: #6B6B6B;
    --dc-success: #4DE478;
    --dc-warning: #F59E0B;
    --dc-error: #EF4444;
}

/* --- Accent-dependent components, shared by every page ------------------- */
.glow-primary { box-shadow: 0 0 80px rgba(var(--dc-primary-rgb), 0.15); }
.gradient-text { background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.photo-glow { background: rgba(var(--dc-primary-rgb), 0.35); filter: blur(70px); }

/* Tailwind display utilities (e.g. inline-flex) outrank the UA [hidden] rule without this. */
[hidden] { display: none !important; }

/* Prose links on the legal pages. */
.prose a { color: var(--dc-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--dc-secondary); }
