/*
  DESIGN PLAN — DDLY.my: The Unnecessary Internet Playground
  
  Subject List:
  1. Brand: ddly. (Official meaning: Don't Do Life Normally; hidden Cantonese inside joke: 多撚餘).
  2. Tagline: Unnecessary. But why not? | Brand philosophy: Taking nonsense seriously since 2026.
  3. Cultural joke: "If you know what DDLY really means, please behave." 😏 — subtle understated wink.
  4. Palette: Deep obsidian void (#17171C), electric lime (#E8FF70), vibrant lavender (#B9A0FF), off-white text (#F5F5F5), muted graphite (#A1A1AA).
  5. Language: Authentic Manglish & Malaysian Simplified Chinese, sharp wit, zero corporate jargon, playful adult humor.
  6. Malaysian rituals: Driving 30 mins to save RM2 on parking; WhatsApp group to discuss another WhatsApp group; asking if the queue is worth it before asking if the food is good; ordering Teh O Peng at 2am.
  7. Constraints: Giving bored adults an instant, zero-friction, delightfully pointless micro-break.
  8. Tone: Witty, self-aware, deadpan, intelligent, playful.
  9. The Idea: On this site, the digital culture of over-optimisation and corporate seriousness is satirised through deliberately high-craft, oversized interactive nonsense controls.
  10. Bold Elements: The "REDEFINE DDLY" acronym generator, the giant "DO SOMETHING UNNECESSARY" button with live click telemetry, time-wasted stopwatch, copyable absurdity, and milestone roasts.
*/

:root {
  /* Brand palette */
  --color-ground: #17171C;
  --color-surface: #202027;
  --color-surface-elevated: #292934;
  --color-surface-interactive: #333342;
  --color-ink: #F5F5F5;
  --color-ink-muted: #A1A1AA;
  --color-accent: #E8FF70;
  --color-secondary: #B9A0FF;
  --color-danger: #FF6B6B;

  /* Derived tones */
  --color-accent-ink: #17171C;
  --color-surface-hover: color-mix(in oklch, var(--color-surface) 86%, var(--color-accent));
  --color-border: color-mix(in oklch, var(--color-surface-elevated) 85%, var(--color-ink));
  --color-accent-glow: color-mix(in oklch, var(--color-accent) 25%, transparent);

  /* Typography stacks (including modern Chinese fallbacks) */
  --font-display: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
  --font-body: Inter, Roboto, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;

  /* Type scale */
  --size-hero: clamp(2.75rem, 8vw, 5.25rem);
  --size-h2: clamp(1.85rem, 4.5vw, 2.75rem);
  --size-h3: clamp(1.25rem, 2.75vw, 1.625rem);
  --size-body: 1.0625rem;
  --size-small: 0.875rem;
  --size-micro: 0.75rem;

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Shapes */
  --radius-full: 9999px;
  --radius-card: 1.25rem;
  --radius-inner: 0.75rem;

  /* Transitions */
  --transition-instant: 90ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light mode overrides */
[data-theme="light"] {
  --color-ground: #F4F4F7;
  --color-surface: #FFFFFF;
  --color-surface-elevated: #EAEAEE;
  --color-surface-interactive: #DFDFE6;
  --color-ink: #17171C;
  --color-ink-muted: #626270;
  --color-accent: #17171C;
  --color-secondary: #744CE8;
  --color-accent-ink: #E8FF70;
  --color-surface-hover: color-mix(in oklch, var(--color-surface) 92%, var(--color-secondary));
  --color-border: color-mix(in oklch, var(--color-surface-elevated) 70%, var(--color-ink));
  --color-accent-glow: color-mix(in oklch, var(--color-secondary) 15%, transparent);
}
