/* =============================================
   variables.css — Dragon Tools デザイントークン
   ============================================= */

:root {
  /* --- Brand Colors --- */
  --color-bg:           #0a0612;
  --color-bg-2:         #110920;
  --color-bg-card:      rgba(255,255,255,0.04);
  --color-bg-card-hover:rgba(255,255,255,0.07);
  --color-border:       rgba(255,255,255,0.08);
  --color-border-accent:rgba(124,58,237,0.35);

  --color-primary:      #7c3aed;
  --color-primary-light:#a855f7;
  --color-accent:       #ec4899;
  --color-accent-2:     #06b6d4;

  /* Category colors */
  --color-games:        #7c3aed;
  --color-excel:        #0891b2;
  --color-super:        #16a34a;
  --color-life:         #ea580c;
  --color-ai:           #db2777;

  /* --- Text --- */
  --color-text:         #e8e0f4;
  --color-text-2:       #a89cc0;
  --color-text-3:       #6b6080;
  --color-text-invert:  #ffffff;

  /* --- Status --- */
  --color-success:      #4ade80;
  --color-warning:      #fbbf24;
  --color-error:        #f87171;

  /* --- Typography --- */
  --font-base: -apple-system, "Hiragino Kaku Gothic Pro", "Yu Gothic", "Meiryo", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-loose: 1.8;

  /* --- Spacing --- */
  --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;

  /* --- Layout --- */
  --width-content: 1200px;
  --width-narrow:  760px;
  --width-sidebar: 300px;

  /* --- Border Radius --- */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.6);
  --shadow-glow:0 0 20px rgba(124,58,237,0.25);

  /* --- Transitions --- */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow:   0.4s ease;

  /* --- Z-index --- */
  --z-header:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;

  /* --- Ad slot sizes (prevent CLS) --- */
  --ad-banner-h:     90px;
  --ad-rectangle-h:  250px;
  --ad-sidebar-h:    600px;
}

@media (max-width: 767px) {
  :root {
    --ad-banner-h: 50px;
  }
}
