@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ================================================================
   PHOI.VN — DESIGN SYSTEM
   Style: Editorial Streetwear (inspired by Whenever.vn)
   Palette: Off-white / Charcoal Black / Mustard Yellow
   ================================================================ */

:root {
  /* Color Tokens */
  --color-bg:        #fcfbf8;
  --color-bg-2:      #ffffff;
  --color-bg-alt:    #f5f3ee;
  --color-surface:   #eeecea;

  --color-text:      #111111;
  --color-text-sub:  #555550;
  --color-text-muted:#999490;

  --color-black:     #111111;
  --color-white:     #ffffff;

  /* Signature Accent – Brand Red (PHOIAO.VN logo color) */
  --color-accent:    #c00000;
  --color-accent-dk: #a00000;

  /* Zalo Blue */
  --color-zalo:      #0068ff;
  --color-zalo-dk:   #0051cc;

  --color-border:    #e2e0db;
  --color-border-dk: #111111;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Spacing & Shape */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-full: 9999px;

  --header-h:    72px;

  /* Animation */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    0.18s;
  --dur-mid:     0.3s;
  --dur-slow:    0.5s;

  /* Shadows – minimal, editorial */
  --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);

  /* Max widths */
  --w-max: 1320px;
  --w-content: 900px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
ul, ol { list-style: none; }

/* ═══════════════════════════════════════
   TYPOGRAPHY TOKENS
═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-sub);
}

/* ═══════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.u-serif { font-family: var(--font-serif); }
.u-italic { font-style: italic; }
.u-upper { text-transform: uppercase; letter-spacing: 0.1em; }
.u-center { text-align: center; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(192,0,0,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(192,0,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(192,0,0,0); }
}

.anim-up {
  opacity: 0;
  animation: fadeUp 0.55s var(--ease) 0.1s forwards;
}
