/* ═══════════════════════════════════════════════════
   STYLE.CSS — GLOBAL STYLES
   Abb Tak Single ❤️
   This file is linked in ALL HTML pages
   ═══════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS IMPORT ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════
   CSS VARIABLES — LIGHT MODE
   ═══════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --color-primary:     #FF6B9D;
  --color-secondary:   #C44DB1;
  --color-accent:      #9B59B6;

  /* Gradients */
  --gradient-main:     linear-gradient(135deg, #FF6B9D 0%, #C44DB1 50%, #9B59B6 100%);
  --gradient-soft:     linear-gradient(135deg, rgba(255,107,157,0.15) 0%, rgba(155,89,182,0.15) 100%);
  --gradient-card:     linear-gradient(180deg, rgba(255,107,157,0.05) 0%, transparent 100%);

  /* Background Colors */
  --bg-primary:        #F8F4FF;
  --bg-card:           #FFFFFF;
  --bg-hover:          #F0EBFF;

  /* Text Colors */
  --text-primary:      #1A1025;
  --text-secondary:    #4A3F5C;
  --text-muted:        #8B7EA8;

  /* Border */
  --border-color:      #E8DFF5;
  --border-hover:      #C9B8E8;

  /* Shadows */
  --shadow-card:       0 2px 16px rgba(155, 89, 182, 0.08);
  --shadow-hover:      0 8px 30px rgba(255, 107, 157, 0.18);
  --shadow-navbar:     0 2px 20px rgba(155, 89, 182, 0.1);

  /* Skeleton */
  --skeleton-color:    #EDE8F5;

  /* Spacing */
  --navbar-height:     60px;
  --border-radius-sm:  8px;
  --border-radius-md:  12px;
  --border-radius-lg:  16px;
  --border-radius-xl:  20px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-med:    0.3s ease;
  --transition-slow:   0.5s ease;
}

/* ═══════════════════════════════════════════════════
   CSS VARIABLES — DARK MODE
   ═══════════════════════════════════════════════════ */
[data-theme="dark"] {
  /* Background Colors */
  --bg-primary:        #0F0A1A;
  --bg-card:           #1A1025;
  --bg-hover:          #241535;

  /* Text Colors */
  --text-primary:      #F0EAF8;
  --text-secondary:    #C4B5D8;
  --text-muted:        #7B6A94;

  /* Border */
  --border-color:      #2D1F45;
  --border-hover:      #4A3560;

  /* Shadows */
  --shadow-card:       0 2px 16px rgba(0, 0, 0, 0.3);
  --shadow-hover:      0 8px 30px rgba(255, 107, 157, 0.15);
  --shadow-navbar:     0 2px 20px rgba(0, 0, 0, 0.3);

  /* Skeleton */
  --skeleton-color:    #2D1F45;
}

/* ═══════════════════════════════════════════════════
   GLOBAL RESET
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont,
               'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background var(--transition-med),
              color var(--transition-med);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-secondary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

input, textarea, select {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
}

ul, ol { list-style: none; }

/* ─── SCROLLBAR STYLING ─── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ─── SELECTION COLOR ─── */
::selection {
  background: rgba(255, 107, 157, 0.2);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════ */

/* Gradient Text */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Background */
.gradient-bg {
  background: var(--gradient-main);
}

/* Flex Utilities */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }

/* Text Utilities */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }

/* Spacing */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* Hide on mobile */
.hide-mobile {
  display: none;
}
@media (min-width: 640px) {
  .hide-mobile { display: inline; }
}

/* ═══════════════════════════════════════════════════
   DARK MODE TOGGLE SWITCH
   (Used in navbar drawer on all pages)
   ═══════════════════════════════════════════════════ */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-color);
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition-med);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-med);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient-main);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* ═══════════════════════════════════════════════════
   CATEGORY BADGE COLORS
   ═══════════════════════════════════════════════════ */
.badge-single   { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.badge-crush    { background: linear-gradient(135deg, #f59e0b, #f97316); }
.badge-love     { background: linear-gradient(135deg, #FF6B9D, #ef4444); }
.badge-breakup  { background: linear-gradient(135deg, #64748b, #475569); }

/* ═══════════════════════════════════════════════════
   BUTTONS — GLOBAL STYLES
   ═══════════════════════════════════════════════════ */

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  background: var(--gradient-main);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.35);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.45);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 107, 157, 0.06);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS — GLOBAL
   ═══════════════════════════════════════════════════ */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scale In */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Spin */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shimmer (skeleton loading) */
@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Heartbeat */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.12); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.08); }
  56%       { transform: scale(1); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* Bounce In */
@keyframes bounceIn {
  from { transform: scale(0.3); opacity: 0; }
  50%  { transform: scale(1.05); }
  70%  { transform: scale(0.95); }
  to   { transform: scale(1); opacity: 1; }
}

/* Slide Up */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Slide In Left */
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* Pulse */
@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════
   ANIMATION UTILITY CLASSES
   ═══════════════════════════════════════════════════ */
.animate-fadeInUp  { animation: fadeInUp 0.4s ease both; }
.animate-fadeIn    { animation: fadeIn 0.3s ease both; }
.animate-scaleIn   { animation: scaleIn 0.3s ease both; }
.animate-bounceIn  { animation: bounceIn 0.5s ease both; }
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-float     { animation: float 3s ease-in-out infinite; }
.animate-pulse     { animation: pulse 2s ease-in-out infinite; }

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   DARK MODE TRANSITION
   Smooth transition when switching themes
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}

/* But NOT on animations — they have own transitions */
.animate-fadeInUp,
.animate-fadeIn,
.animate-scaleIn,
.animate-bounceIn,
.animate-heartbeat,
.animate-float,
.animate-pulse,
.spinner,
[class*="skeleton"] {
  transition: none;
}

/* ═══════════════════════════════════════════════════
   LOADING SPINNER — GLOBAL
   ═══════════════════════════════════════════════════ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
.spinner-lg {
  width: 44px;
  height: 44px;
  border-width: 4px;
}

/* ═══════════════════════════════════════════════════
   SKELETON LOADER — GLOBAL
   ═══════════════════════════════════════════════════ */
.skeleton {
  background: var(--skeleton-color);
  border-radius: var(--border-radius-sm);
  animation: shimmer 1.5s ease-in-out infinite;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   TOAST NOTIFICATION — GLOBAL
   ═══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: var(--bg-card);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}
.toast.success { background: #10b981; color: #fff; }
.toast.error   { background: #ef4444; color: #fff; }

/* ═══════════════════════════════════════════════════
   MAIN CONTENT OFFSET
   (so content doesn't hide behind sticky navbar)
   ═══════════════════════════════════════════════════ */
main {
  padding-top: 0;
  min-height: calc(100vh - var(--navbar-height));
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════ */

/* Base = Mobile (< 480px) — already above */

/* Small Mobile → Tablet */
@media (min-width: 480px) {
  body { font-size: 14px; }
}

/* Tablet */
@media (min-width: 768px) {
  body { font-size: 15px; }
}

/* Desktop */
@media (min-width: 1024px) {
  body { font-size: 15px; }
}

/* Large Desktop */
@media (min-width: 1280px) {
  body { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════
   FOCUS STYLES — ACCESSIBILITY
   ═══════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════ */
@media print {
  .navbar,
  .side-drawer,
  .drawer-overlay {
    display: none !important;
  }
}


/* ═══════════════════════════════════════════════════
   STYLE.CSS — GLOBAL STYLES
   Abb Tak Single ❤️
   This file is linked in ALL HTML pages
   ═══════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS IMPORT ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════
   CSS VARIABLES — LIGHT MODE
   ═══════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --color-primary:     #FF6B9D;
  --color-secondary:   #C44DB1;
  --color-accent:      #9B59B6;

  /* Gradients */
  --gradient-main:     linear-gradient(135deg, #FF6B9D 0%, #C44DB1 50%, #9B59B6 100%);
  --gradient-soft:     linear-gradient(135deg, rgba(255,107,157,0.15) 0%, rgba(155,89,182,0.15) 100%);
  --gradient-card:     linear-gradient(180deg, rgba(255,107,157,0.05) 0%, transparent 100%);

  /* Background Colors */
  --bg-primary:        #F8F4FF;
  --bg-card:           #FFFFFF;
  --bg-hover:          #F0EBFF;

  /* Text Colors */
  --text-primary:      #1A1025;
  --text-secondary:    #4A3F5C;
  --text-muted:        #8B7EA8;

  /* Border */
  --border-color:      #E8DFF5;
  --border-hover:      #C9B8E8;

  /* Shadows */
  --shadow-card:       0 2px 16px rgba(155, 89, 182, 0.08);
  --shadow-hover:      0 8px 30px rgba(255, 107, 157, 0.18);
  --shadow-navbar:     0 2px 20px rgba(155, 89, 182, 0.1);

  /* Skeleton */
  --skeleton-color:    #EDE8F5;

  /* Spacing */
  --navbar-height:     60px;
  --border-radius-sm:  8px;
  --border-radius-md:  12px;
  --border-radius-lg:  16px;
  --border-radius-xl:  20px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-med:    0.3s ease;
  --transition-slow:   0.5s ease;
}

/* ═══════════════════════════════════════════════════
   CSS VARIABLES — DARK MODE
   ═══════════════════════════════════════════════════ */
[data-theme="dark"] {
  /* Background Colors */
  --bg-primary:        #0F0A1A;
  --bg-card:           #1A1025;
  --bg-hover:          #241535;

  /* Text Colors */
  --text-primary:      #F0EAF8;
  --text-secondary:    #C4B5D8;
  --text-muted:        #7B6A94;

  /* Border */
  --border-color:      #2D1F45;
  --border-hover:      #4A3560;

  /* Shadows */
  --shadow-card:       0 2px 16px rgba(0, 0, 0, 0.3);
  --shadow-hover:      0 8px 30px rgba(255, 107, 157, 0.15);
  --shadow-navbar:     0 2px 20px rgba(0, 0, 0, 0.3);

  /* Skeleton */
  --skeleton-color:    #2D1F45;
}

/* ═══════════════════════════════════════════════════
   GLOBAL RESET
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont,
               'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background var(--transition-med),
              color var(--transition-med);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-secondary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

input, textarea, select {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
}

ul, ol { list-style: none; }

/* ─── SCROLLBAR STYLING ─── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ─── SELECTION COLOR ─── */
::selection {
  background: rgba(255, 107, 157, 0.2);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════ */

/* Gradient Text */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Background */
.gradient-bg {
  background: var(--gradient-main);
}

/* Flex Utilities */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }

/* Text Utilities */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }

/* Spacing */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* Hide on mobile */
.hide-mobile {
  display: none;
}
@media (min-width: 640px) {
  .hide-mobile { display: inline; }
}

/* ═══════════════════════════════════════════════════
   DARK MODE TOGGLE SWITCH
   (Used in navbar drawer on all pages)
   ═══════════════════════════════════════════════════ */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-color);
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition-med);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-med);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient-main);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* ═══════════════════════════════════════════════════
   CATEGORY BADGE COLORS
   ═══════════════════════════════════════════════════ */
.badge-single   { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.badge-crush    { background: linear-gradient(135deg, #f59e0b, #f97316); }
.badge-love     { background: linear-gradient(135deg, #FF6B9D, #ef4444); }
.badge-breakup  { background: linear-gradient(135deg, #64748b, #475569); }

/* ═══════════════════════════════════════════════════
   BUTTONS — GLOBAL STYLES
   ═══════════════════════════════════════════════════ */

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  background: var(--gradient-main);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.35);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.45);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 107, 157, 0.06);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS — GLOBAL
   ═══════════════════════════════════════════════════ */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scale In */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Spin */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shimmer (skeleton loading) */
@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Heartbeat */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.12); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.08); }
  56%       { transform: scale(1); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* Bounce In */
@keyframes bounceIn {
  from { transform: scale(0.3); opacity: 0; }
  50%  { transform: scale(1.05); }
  70%  { transform: scale(0.95); }
  to   { transform: scale(1); opacity: 1; }
}

/* Slide Up */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Slide In Left */
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* Pulse */
@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════
   ANIMATION UTILITY CLASSES
   ═══════════════════════════════════════════════════ */
.animate-fadeInUp  { animation: fadeInUp 0.4s ease both; }
.animate-fadeIn    { animation: fadeIn 0.3s ease both; }
.animate-scaleIn   { animation: scaleIn 0.3s ease both; }
.animate-bounceIn  { animation: bounceIn 0.5s ease both; }
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-float     { animation: float 3s ease-in-out infinite; }
.animate-pulse     { animation: pulse 2s ease-in-out infinite; }

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   DARK MODE TRANSITION
   Smooth transition when switching themes
   ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}

/* But NOT on animations — they have own transitions */
.animate-fadeInUp,
.animate-fadeIn,
.animate-scaleIn,
.animate-bounceIn,
.animate-heartbeat,
.animate-float,
.animate-pulse,
.spinner,
[class*="skeleton"] {
  transition: none;
}

/* ═══════════════════════════════════════════════════
   LOADING SPINNER — GLOBAL
   ═══════════════════════════════════════════════════ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
.spinner-lg {
  width: 44px;
  height: 44px;
  border-width: 4px;
}

/* ═══════════════════════════════════════════════════
   SKELETON LOADER — GLOBAL
   ═══════════════════════════════════════════════════ */
.skeleton {
  background: var(--skeleton-color);
  border-radius: var(--border-radius-sm);
  animation: shimmer 1.5s ease-in-out infinite;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   TOAST NOTIFICATION — GLOBAL
   ═══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: var(--bg-card);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}
.toast.success { background: #10b981; color: #fff; }
.toast.error   { background: #ef4444; color: #fff; }

/* ═══════════════════════════════════════════════════
   MAIN CONTENT OFFSET
   (so content doesn't hide behind sticky navbar)
   ═══════════════════════════════════════════════════ */
main {
  padding-top: 0;
  min-height: calc(100vh - var(--navbar-height));
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════ */

/* Base = Mobile (< 480px) — already above */

/* Small Mobile → Tablet */
@media (min-width: 480px) {
  body { font-size: 14px; }
}

/* Tablet */
@media (min-width: 768px) {
  body { font-size: 15px; }
}

/* Desktop */
@media (min-width: 1024px) {
  body { font-size: 15px; }
}

/* Large Desktop */
@media (min-width: 1280px) {
  body { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════
   FOCUS STYLES — ACCESSIBILITY
   ═══════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════ */
@media print {
  .navbar,
  .side-drawer,
  .drawer-overlay {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════
   UPDATED: Round Buttons + Footer Option B
   Abb Tak Single ❤️
═══════════════════════════════════════════ */

/* ─── ROUND BUTTONS GLOBALLY ─── */
button,
.btn,
.nav-btn,
.cat-tab,
.drawer-cat,
.action-btn,
.card-reaction-btn,
.reaction-btn-large,
.lm-start-btn,
.lm-option-btn,
.lm-action-btn,
.share-btn,
.save-story-btn,
.back-btn,
.submit-btn,
.login-btn,
.btn-continue,
.btn-exit,
.btn-home,
.btn-another,
.btn-go-home,
.tab-btn,
.modal-cancel,
.modal-confirm,
.admin-logout-btn,
.admin-view-site,
input[type="submit"],
input[type="button"] {
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}

/* ─── FORM INPUTS ROUND ─── */
.form-input,
.form-select,
.form-textarea,
.admin-form-input,
.search-box,
.admin-search-box {
  border-radius: 16px !important;
}

/* ─── CARDS ROUND ─── */
.story-card,
.review-card,
.stat-card,
.lm-start-card,
.lm-question-card,
.lm-meter-wrapper,
.lm-result-actions,
.lm-loading-card,
.consent-box,
.login-card,
.reaction-bar,
.share-section,
.distribution-card,
.tab-nav {
  border-radius: 24px !important;
}

/* ─── FOOTER OPTION B ─── */
.footer {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border-color) !important;
  padding: 0 !important;
  margin-top: 20px !important;
}

/* Footer Top Section */
.footer-top {
  background: var(--gradient-main);
  padding: 32px 20px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255,255,255,0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Footer Middle */
.footer-middle {
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer Categories */
.footer-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s;
  padding: 4px 0;
}
.footer-cat-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Footer Quick Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s;
  padding: 4px 0;
}
.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Footer Stats */
.footer-stats {
  padding: 16px 20px;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.footer-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-bottom-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-bottom-link:hover {
  color: var(--color-primary);
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.footer-copy span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.footer-flag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Mobile Responsive Footer */
@media (max-width: 480px) {
  .footer-middle {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .footer-stats {
    gap: 20px;
  }
}