@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Clicker+Script&display=swap");

/* ===========================
   BASE / RESET
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

:root {
  --color-primary: #191d2b;
  --color-secondary: #27ae60;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #dbe1e8;
  --color-grey-2: #b2becd;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #2a2e35;
  --color-grey-6: #12181b;
  --br-sm-2: 14px;
  --box-shadow-1: 0 3px 15px rgba(0, 0, 0, 0.3);
}

/* ===========================
   SCROLL TOP BUTTON
   =========================== */

#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: 1s linear, box-shadow 0.3s, transform 0.2s;
  z-index: 1000;
  cursor: pointer;
  border: none;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
#scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.45),
    0 6px 18px rgba(118, 75, 162, 0.5);
}

/* ===========================
   LEGACY COMMON MAX-WIDTH (kept for compatibility)
   =========================== */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}

/* ===========================
   MOBILE-FIRST CORE BREAKPOINTS
   (add/shift future responsive rules here)
   =========================== */
/* Tiny phones */
@media (min-width: 360px) {
  /* .header {} .navbar {} .main {} .footer {} */
}
/* Phones */
@media (min-width: 480px) {
  /* layout/typography bumps for typical phones */
}
/* Large phones / small phablets */
@media (min-width: 600px) {
  /* grid from 1 -> 2 cols, slightly larger hit targets, etc. */
}
/* Tablets (portrait) */
@media (min-width: 768px) {
  /* nav spacing, sidebar shows, hero split, etc. */
}
/* Tablets (landscape) / small laptops */
@media (min-width: 900px) {
  /* tighten gutters; increase container max-width */
}
/* Laptops (HD-ready) */
@media (min-width: 1024px) {
  /* 12-col grids, bigger headings */
}
/* Standard laptops */
@media (min-width: 1280px) {
  /* comfortable content width, card density tweaks */
}
/* Large laptops / desktops */
@media (min-width: 1440px) {
  /* widen container, increase white space */
}
/* Full HD desktops */
@media (min-width: 1920px) {
  /* prevent overly-wide lines: clamp container, bump paddings */
}
/* iMac / 2K–4K canvases */
@media (min-width: 2560px) {
  /* max content width, upscale imagery if needed */
}

/* ===========================
   CAPABILITY & PREFERENCE QUERIES
   =========================== */
/* Touch-first: bigger targets, less hover reliance */
@media (hover: none) and (pointer: coarse) {
  #scroll-top {
    line-height: 1;
  }
}

/* High-density (retina) assets */
@media (min-resolution: 2dppx), (min-resolution: 192dpi) {
  /* example: sharpen borders/shadows if needed */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
}

/* Prefer more contrast */
@media (prefers-contrast: more) {
  :root {
    --focus-outline: 2px solid #fff;
  }
}

/* ===========================
   ORIENTATION HELPERS
   =========================== */
@media (min-width: 768px) and (orientation: portrait) {
  /* taller nav, stacked sidebars, bigger tap targets */
}
@media (min-width: 768px) and (orientation: landscape) {
  /* two-column content, persistent sidebar */
}
@media (max-width: 900px) and (orientation: landscape) {
  /* compress header height, hide non-essential labels, etc. */
}

/* ===========================
   EXAMPLE COMBINATIONS
   =========================== */
@media (min-width: 768px) and (hover: none) and (pointer: coarse) {
  /* iPad tuning, touch + tablet */
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  /* replace parallax/scroll effects with static styles */
}
