/* PrettyCamGirl Rank — Design Tokens & Base Reset */

:root {
  --bg-base: #09080c;
  --bg-surface: #121017;
  --bg-surface-elevated: #1a1722;
  --bg-overlay: rgba(9, 8, 12, 0.84);

  --border-subtle: #262133;
  --border-hover: #38304c;

  --accent-rose: #ff2a7a;
  --accent-rose-hover: #ff478f;
  --accent-violet: #9b4dff;
  --accent-gradient: linear-gradient(135deg, #ff2a7a 0%, #ff4d94 55%, #b833ff 100%);
  --accent-glow: rgba(255, 42, 122, 0.28);

  --green-live: #00e676;
  --green-live-bg: rgba(0, 230, 118, 0.12);
  --green-live-border: rgba(0, 230, 118, 0.34);

  --gold-rank: #ffd166;
  --silver-rank: #d4d8e8;
  --bronze-rank: #e89b6c;

  --text-main: #f4f2f9;
  --text-muted: #9e97ad;
  --text-soft: #756e85;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 28px rgba(255, 42, 122, 0.22);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition-fast: 160ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-med: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-rose);
  outline-offset: 2px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
