/* ============================================================
 * Pre-Flop Inc. — global styles
 * Editorial design, Bookman Old Style for logo,
 * Noto Sans JP / Outfit for body & headings.
 * ============================================================ */

:root {
  --pf-red: #d40000;
  --pf-red-dark: #a30000;
  --pf-black: #000000;
  --pf-offwhite: #f5f5f5;
  --pf-gold: #ffd700;
  --pf-gray-900: #0a0a0a;
  --pf-gray-800: #111111;
  --pf-gray-700: #1a1a1a;
  --pf-gray-600: #222222;
  --pf-gray-500: #333333;
  --pf-gray-400: #555555;
  --pf-gray-300: #888888;
  --pf-gray-200: #aaaaaa;
  --pf-gray-100: #cccccc;

  /* Brand logo font — Bookman Old Style (Corporate Identity) */
  --pf-font-logo: "Bookman Old Style", "Bookman", "URW Bookman L", Georgia, serif;
  /* Display / headings — editorial Sans, not retro-game */
  --pf-font-display: "Noto Sans JP", "Outfit", "Hiragino Sans", "Yu Gothic", sans-serif;
  /* Body — Outfit for English, Noto Sans JP for Japanese */
  --pf-font-body: "Outfit", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: var(--pf-font-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a0000 0%, #000 70%);
}

#root {
  min-height: 100vh;
}

a {
  color: var(--pf-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

/* Keyframes */
@keyframes pf-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes pf-deal-in {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes pf-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pf-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Utility classes */
.pf-logo {
  font-family: var(--pf-font-logo);
  letter-spacing: 0.01em;
}

.pf-display {
  font-family: var(--pf-font-display);
  letter-spacing: 0.02em;
}

.pf-body {
  font-family: var(--pf-font-body);
}

/* Responsive breakpoint */
@media (max-width: 480px) {
  .pf-hide-mobile {
    display: none !important;
  }
}

/* Royal Straight Flush badge */
.pf-royal-flush {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 900;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700, #d40000);
  color: #000;
  font-family: var(--pf-font-logo);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
  animation: pf-fade-in 0.8s ease-out;
  pointer-events: none;
  user-select: none;
}
