/* =========================================
   YOONSO PROJECT — main.css
   Global reset, variables, typography
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Backgrounds */
  --bg:        #07090f;
  --surface:   #0c0f1a;
  --surface2:  #101524;
  --surface3:  #141929;

  /* Blue palette */
  --blue-dim:  #1d4ed8;
  --blue:      #3b82f6;
  --blue-lt:   #60a5fa;
  --blue-xs:   #93c5fd;

  /* Borders */
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(96,165,250,0.2);
  --border3:   rgba(96,165,250,0.35);

  /* Text */
  --text:      #eef2ff;
  --muted:     #7d94b8;
  --dim:       #374861;

  /* Status */
  --green:     #22c55e;
  --green-dim: rgba(34,197,94,0.15);
  --amber:     #f59e0b;
  --amber-dim: rgba(245,158,11,0.15);
  --red:       #ef4444;
  --red-dim:   rgba(239,68,68,0.12);

  /* Glow */
  --glow-blue: rgba(59,130,246,0.25);

  /* Layout */
  --max-w:     1100px;
  --nav-h:     64px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--dim) transparent;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--dim); border-radius: 3px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── BACKGROUND FX ── */
.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-orb-1 {
  width: 700px; height: 700px;
  top: -250px; left: -200px;
  background: radial-gradient(circle, rgba(29,78,216,0.14) 0%, transparent 65%);
  animation: orbDrift1 22s ease-in-out infinite;
}
.bg-orb-2 {
  width: 500px; height: 500px;
  top: 40%; right: -150px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 65%);
  animation: orbDrift2 28s ease-in-out infinite;
}
.bg-orb-3 {
  width: 400px; height: 400px;
  bottom: 5%; left: 20%;
  background: radial-gradient(circle, rgba(29,78,216,0.07) 0%, transparent 65%);
  animation: orbDrift3 20s ease-in-out infinite;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

@keyframes orbDrift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,35px)} }
@keyframes orbDrift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-35px,55px)} }
@keyframes orbDrift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,-35px)} }

/* ── WRAPPER ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ── SECTION HEADER ── */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sec-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.sec-bar {
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-xs), var(--blue));
  flex-shrink: 0;
}
.sec-link {
  font-size: 11px;
  color: var(--blue-lt);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(96,165,250,0.2);
  background: rgba(59,130,246,0.06);
  transition: all .2s;
  letter-spacing: 0.3px;
}
.sec-link:hover {
  background: rgba(59,130,246,0.15);
  border-color: var(--border3);
}

/* ── BADGE / TAG ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.22);
  color: var(--blue-lt);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; box-shadow:0 0 6px var(--blue); }
  50%      { opacity:0.3; box-shadow:none; }
}

/* ── TAG CHIPS ── */
.tag-hot {
  background: rgba(127,29,29,0.55);
  border: 1px solid rgba(239,68,68,0.22);
  color: #fca5a5;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tag-new {
  background: rgba(5,46,22,0.6);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 6px 28px rgba(37,99,235,0.38);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37,99,235,0.55);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* ── STAR RATING ── */
.stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }

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

.fade-up   { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .1s ease both; }
.fade-up-3 { animation: fadeUp .6s .2s ease both; }
.fade-up-4 { animation: fadeUp .6s .3s ease both; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
}
