@import url("https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=chubbo@400&display=swap");
@import url("https://fonts.cdnfonts.com/css/candy-beans");

:root {
  --ink: #231435;
  --panel: #21152f;
  --purple: #7342b8;
  --white: #f7f1ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  background: #cfc4ef;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

/*
  IMPORTANT:
  The background belongs to .site-shell and is NOT fixed.
  That means the artwork and every interactive element scroll together.
*/
.site-shell {
  position: relative;
  width: 100vw;
  aspect-ratio: 1709 / 2048;
  margin: 0;
  background-image: url("assets/background.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  overflow: hidden;
}

/* ===== TOP PURPLE PILL ===== */
.brand-slot {
  position: absolute;
  left: 1.46%;
  top: .29%;
  width: 13.87%;
  height: 4.69%;
  color: white;
  text-decoration: none;
  z-index: 5;
}

.brand-raccoon {
  position: absolute;
  left: 7.5%;
  top: 8%;
  width: 26%;
  height: 66%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 3px rgba(35, 15, 60, .22));
}

.brand-wordmark {
  position: absolute;
  left: 35.5%;
  top: 22%;
  width: 47%;
  height: 41%;
  object-fit: contain;
  object-position: left center;
}

.contact-top {
  position: absolute;
  top: 1.8%;
  right: 4.2%;
  color: white;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(11px, 1.15vw, 20px);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .08em;
  z-index: 5;
}

/* ===== HERO ===== */








/* ===== CAROUSEL ===== */
.showcase {
  position: absolute;
  left: 61.5%;
  top: 8.8%;
  width: 34.5%;
  height: 12%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  z-index: 3;
}

.showcase-track {
  --carousel-gap: clamp(6px, 0.55vw, 10px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  width: max-content;
  animation: carousel 34s linear infinite;
  will-change: transform;
}

.showcase-card {
  display: block;
  height: 66%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 5%;
  box-shadow: 0 7px 18px rgba(39,20,70,.22);
  transition: transform .2s ease;
}

.showcase-card:hover {
  transform: translateY(-5%) scale(1.04);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #6d5e80;
}

@keyframes carousel {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--carousel-gap) / 2))); }
}

/* ===== SECOND PURPLE PILL ===== */
.edits-slot {
  position: absolute;
  left: 23.15%;
  top: 22.85%;
  width: 15.97%;
  height: 5.37%;
  display: grid;
  place-items: center;
  padding-right: 3%;
  padding-bottom: .3%;
  color: white;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(15px, 1.98vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  z-index: 4;
}

/* ===== FOUR DARKER SHADOW LOCATIONS ===== */
.category-grid {
  position: absolute;
  left: 19.25%;
  top: 29.3%;
  width: 61.5%;
  height: 23.2%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4.4% 2.4%;
  z-index: 3;
}

.category-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 8% 5.5% 7%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #ffffff;
  text-decoration: none;
  background: #27163d;
  border-radius: clamp(14px, 1.15vw, 22px);
  box-shadow: 0 8px 20px rgba(35, 18, 56, .22);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.category-card:hover {
  transform: translateY(-2.5%);
  background: #27163d;
  box-shadow: 0 12px 28px rgba(35, 18, 56, .30);
}

.card-accent {
  position: absolute;
  left: 5.3%;
  top: 9%;
  width: 31%;
  height: 15%;
  border-radius: 12px 12px 0 0;
  background: #6b3ab0;
}

.category-title {
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(15px, 1.9vw, 33px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}


.open-folder {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  margin-top: .75em;
  color: #c9aaf3;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(7px, .72vw, 12px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.folder-arrow {
  display: inline-block;
  font-size: 1.1em;
  transform: translateY(-.02em);
  transition: transform .2s ease;
}

.category-card:hover .folder-arrow {
  transform: translate(.25em, -.02em);
}


/* ===== CHANNELS ===== */
.channels {
  position: absolute;
  left: 50%;
  top: 62.3%;
  width: 62%;
  height: 13.1%;
  padding: 2% 2.2%;
  color: white;
  background: #101013;
  border-radius: clamp(14px, 1.15vw, 22px);
  transform: translateX(-50%);
  z-index: 3;
}

.channels h2 {
  margin: 0;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: clamp(13px, 1.65vw, 29px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.channels-rule {
  height: 1px;
  margin: 2.2% 0 4%;
  background: rgba(255,255,255,.1);
}

.channel-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.7%;
  width: 100%;
}

.channel {
  width: 9.6%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #5f3b8e;
  color: white;
  text-decoration: none;
  font-size: clamp(7px, .9vw, 15px);
  font-weight: 900;
  transition: transform .2s ease;
}

.channel:hover {
  transform: scale(1.12);
}

.channel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* ===== FOOTER ===== */
.footer {
  position: absolute;
  left: 30%;
  top: 83%;
  width: 48%;
  height: 13%;
  z-index: 3;
}

.footer-title {
  margin: 0 0 1.5%;
  text-align: left;
  color: #21152f;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;

  transform: translateX(-42px);
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 4%;
}

.footer-raccoon {
  width: 25%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(38, 19, 65, .18));
}

.footer-links {
  display: grid;
  gap: 14%;
  align-content: center;
}

.footer-links a {
display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
}

/*
  Small-screen fallback.
  Everything still remains tied to the same background composition,
  so scrolling never separates the content from the artwork.
*/
@media (max-width: 600px) {
  .site-shell {
    width: 100vw;
    min-height: 1210px;
    aspect-ratio: 1709 / 2048;
  }

  
}




/* Real Discord + email PNG icons in the footer */


.footer-links a span {
  display: inline-block;
}

.footer-link-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}

.footer-link-icon.discord-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.footer-link-icon.email-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}


/* Greeting detail: underline DONYS and add the =D smile */
.eyebrow-name {
  position: relative;
  display: inline-block;
  margin-left: .12em;
  padding-bottom: .08em;
}

.eyebrow-name::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -.08em;
  height: .09em;
  min-height: 2px;
  border-radius: 999px;
  background: currentColor;
}



/* ===== BOTTOM SITE FOOTER ===== */



/* ===== HOME BOTTOM FOOTER ===== */

.home-niche-footer {

      margin-top: auto;
      padding: 10px 3.4% 0;
      display: flex;
      justify-content: flex-start;
      gap: 20px;
      border-top: none;
      color: rgba(52, 32, 70, .72);
      font-size: clamp(9px, .62vw, 12px);
      font-weight: 500;
      letter-spacing: .035em;
    
  position: absolute;
  left: 3.4%;
  bottom: 1.45%;
  width: 93.2%;
  margin-top: 0;
  padding-top: 10px;
  z-index: 20;
}


.home-niche-footer span:first-child {
  position: absolute;
  left: 0;
  top: 8px;
  margin-left: 0;
  flex: 0 0 auto;
}

.home-niche-footer span:last-child {
  position: absolute;
  left: 64.5%;
  top: 8px;
  margin-left: 0;
  flex: 0 0 auto;
}

.home-niche-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -9px;
  height: 1px;
  background: rgba(255,255,255,.26);
}

/* Home contact labels */
.footer-contact,
.footer-contact a,
.contact-text,
.footer-links a {
  font-size: 25px !important;
}


/* ===== HOME INTRO — RESET ===== */
.intro.intro-reset {
  position: absolute;
  left: 7.2%;
  top: 7.9%;
  width: 53.5%;
  z-index: 3;
  text-align: center;
}

.intro.intro-reset .eyebrow {
  margin: 0 0 12px;
  color: #5b31b5;
  font-family: "Candy Beans", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.intro.intro-reset .eyebrow-smile {
  display: inline-block;
  margin-left: 4px;
  font-family: "Candy Beans", cursive;
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  transform: none;
}

.intro.intro-reset h1 {
  margin: 0 0 12px;
  color: #24152e;
  font-family: "Clash Display", Arial, sans-serif;
  font-size: 43px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
}

.intro.intro-reset .intro-copy {
  margin: 0 auto;
  color: #594c67;
  font-family: "Chubbo", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

.intro.intro-reset .intro-line {
  display: block;
  white-space: nowrap;
}

.intro.intro-reset .intro-line-gap {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .intro.intro-reset {
    left: 6%;
    width: 57%;
  }

  .intro.intro-reset .eyebrow {
    font-size: clamp(13px, 1.6vw, 20px);
    margin-bottom: 8px;
  }

  .intro.intro-reset h1 {
    font-size: clamp(26px, 3.5vw, 43px);
    margin-bottom: 8px;
  }

  .intro.intro-reset .intro-copy {
    font-size: clamp(10px, 1.35vw, 17px);
  }
}

@media (max-width: 760px) {
  .intro.intro-reset {
    left: 6%;
    width: 88%;
  }

  .intro.intro-reset .intro-line {
    white-space: normal;
  }
}


.intro.intro-reset .intro-underline {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 2px;
}





/* ===== CONTACT HOVER — PURPLE ===== */
.contact-top,
.footer-links a,
.footer-links a span {
  transition: color .2s ease;
}

.contact-top:hover {
  color: #4603AB !important;
}

.footer-links a:hover,
.footer-links a:hover span {
  color: #4603AB !important;
}





/* Avoid reserving space for the now-hidden original PNG. */
.footer-links a .footer-links a:hover::before {
  background-color: #4603AB;
}



/* ===== HOME FOOTER ICON HOVER — JS SWAP ===== */
.footer-links .hover-swap-icon {
  display: block;
  object-fit: contain;
  opacity: 1 !important;
  position: static !important;
  pointer-events: none;
  transition: transform .2s ease;
}

.footer-links a:hover .hover-swap-icon {
  transform: scale(1.03);
}


/* =========================================================
   RESPONSIVE LAYOUT — TABLETS + PHONES
   Desktop composition above 1100px remains unchanged.
   ========================================================= */
@media (max-width: 1100px) {
  html, body {
    min-width: 0;
  }

  .site-shell {
    width: 100%;
    min-height: 100vh;
    aspect-ratio: auto;
    padding: 24px clamp(18px, 4vw, 42px) 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
  }

  #home.site-shell {
    background-image: url("assets/home-background-mobile-test.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
  }

  .brand-slot {
    position: relative;
    left: auto;
    top: auto;
    width: clamp(152px, 23vw, 220px);
    height: clamp(58px, 8vw, 76px);
    display: block;
    border-radius: 999px;
    background: linear-gradient(110deg, #4d1595 0%, #291144 100%);
  }

  .brand-raccoon {
    left: 7%;
    top: 10%;
    width: 27%;
    height: 68%;
  }

  .brand-wordmark {
    left: 35%;
    top: 23%;
    width: 48%;
    height: 42%;
  }

  .contact-top {
    top: 30px;
    right: clamp(18px, 4vw, 42px);
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: .055em;
  }

  .intro.intro-reset {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 760px);
    margin: clamp(48px, 7vw, 76px) auto 0;
  }

  .intro.intro-reset .eyebrow {
    font-size: clamp(23px, 3.2vw, 30px);
    margin-bottom: 10px;
  }

  .intro.intro-reset h1 {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 14px;
  }

  .intro.intro-reset .intro-copy {
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.5;
  }

  .intro.intro-reset .intro-line {
    white-space: normal;
    display: inline;
  }

  .showcase {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 860px);
    height: clamp(150px, 22vw, 210px);
    margin: clamp(32px, 5vw, 52px) auto 0;
  }

  .showcase-card {
    height: 72%;
  }

  .edits-slot {
    position: relative;
    left: auto;
    top: auto;
    width: clamp(160px, 25vw, 220px);
    height: clamp(55px, 8vw, 72px);
    margin: clamp(22px, 4vw, 36px) auto 24px;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient(110deg, #4d1595 0%, #291144 100%);
    font-size: clamp(22px, 3.5vw, 32px);
  }

  .category-grid {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 880px);
    height: auto;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 18px;
  }

  .category-card {
    min-height: clamp(150px, 22vw, 210px);
    padding: 24px 20px 20px;
    border-radius: 20px;
  }

  .card-accent {
    left: 20px;
    top: 20px;
    width: 34%;
    height: 18px;
  }

  .category-title {
    font-size: clamp(24px, 3.4vw, 34px);
  }

  .open-folder {
    font-size: clamp(11px, 1.45vw, 14px);
  }

  .channels {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 880px);
    height: auto;
    margin: clamp(42px, 7vw, 70px) auto 0;
    padding: 24px 22px 26px;
    transform: none;
    border-radius: 20px;
  }

  .channels h2 {
    font-size: clamp(21px, 3vw, 30px);
  }

  .channels-rule {
    margin: 14px 0 20px;
  }

  .channel-list {
    gap: clamp(14px, 3vw, 26px);
    flex-wrap: wrap;
  }

  .channel {
    width: clamp(64px, 10vw, 88px);
  }

  .footer {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 820px);
    height: auto;
    margin: clamp(54px, 8vw, 82px) auto 0;
  }

  .footer-title {
    margin: 0 0 16px;
    text-align: center;
    font-size: clamp(27px, 4vw, 34px);
    transform: none;
  }

  .footer-content {
    justify-content: center;
    gap: clamp(18px, 4vw, 34px);
  }

  .footer-raccoon {
    width: clamp(92px, 17vw, 140px);
  }

  .footer-links {
    gap: 14px;
  }

  .footer-links a,
  .footer-contact,
  .footer-contact a,
  .contact-text {
    font-size: clamp(16px, 2.25vw, 22px) !important;
    gap: 10px;
  }

  .footer-link-icon,
  .footer-link-icon.email-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .footer-link-icon.discord-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .home-niche-footer {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 980px);
    margin: 58px auto 0;
    padding: 18px 0 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .home-niche-footer span:first-child,
  .home-niche-footer span:last-child {
    position: static;
    margin: 0;
  }

  .home-niche-footer::before {
    top: 0;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 18px 16px 24px;
    background-size: auto 100%;
    background-position: 50% 0;
  }

  #home.site-shell {
    background-image: url("assets/home-background-mobile-test.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
  }

  .brand-slot {
    width: 148px;
    height: 55px;
  }

  .contact-top {
    top: 25px;
    right: 16px;
    font-size: 13px;
  }

  .intro.intro-reset {
    margin-top: 44px;
  }

  .intro.intro-reset .eyebrow {
    font-size: clamp(22px, 6.8vw, 27px);
  }

  .intro.intro-reset h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.05;
  }

  .intro.intro-reset .intro-copy {
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.55;
  }

  .showcase {
    width: calc(100% + 8px);
    height: clamp(132px, 39vw, 178px);
    margin-left: -4px;
    margin-right: -4px;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  }

  .showcase-track {
    --carousel-gap: 9px;
  }

  .showcase-card {
    height: 70%;
  }

  .edits-slot {
    width: 154px;
    height: 54px;
    margin-top: 20px;
    font-size: 23px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-card {
    min-height: 142px;
    padding: 22px 18px 18px;
  }

  .category-title {
    font-size: clamp(25px, 7.2vw, 31px);
  }

  .open-folder {
    font-size: 12px;
  }

  .channels {
    margin-top: 42px;
    padding: 22px 16px 24px;
  }

  .channels h2 {
    text-align: center;
    font-size: 22px;
  }

  .channel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 16px 12px;
  }

  .channel {
    width: min(72px, 20vw);
  }

  .footer {
    margin-top: 50px;
  }

  .footer-title {
    font-size: 28px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-raccoon {
    width: 105px;
  }

  .footer-links {
    width: 100%;
    gap: 12px;
    justify-items: center;
  }

  .footer-links a,
  .footer-contact,
  .footer-contact a,
  .contact-text {
    max-width: 100%;
    font-size: clamp(14px, 4.1vw, 17px) !important;
    overflow-wrap: anywhere;
  }

  .home-niche-footer {
    margin-top: 46px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .brand-slot {
    width: 136px;
    height: 51px;
  }

  .contact-top {
    font-size: 12px;
  }

  .channel-list {
    gap: 14px 8px;
  }
}

@media (hover: none) {
  .category-card:hover,
  .channel:hover,
  .showcase-card:hover {
    transform: none;
  }
}


/* ===== TABLET / iPAD ONLY =====
   Keep desktop and phone untouched. */
@media (min-width: 761px) and (max-width: 1100px) {
  #home .brand-slot {
    background: none;
    border-radius: 0;
    transform: translate(-18px, -12px);
  }
}

/* ===== NEST HUB MAX / 1280x800 HOME ONLY =====
   Safe desktop-range adjustment for the Home page only.
   Video pages stay exactly as the previously approved version. */
@media (min-width: 1150px) and (max-width: 1325px) {
  #home.site-shell {
    background-position: top center;
  }

  #home .brand-slot {
    left: 1.2%;
    top: 0.22%;
    width: 14.1%;
    height: 4.85%;
  }

  #home .contact-top {
    right: 3.2%;
    top: 1.55%;
    font-size: 15px;
  }

  #home .intro.intro-reset {
    left: 5.9%;
    top: 6.9%;
    width: 55.8%;
  }

  #home .intro.intro-reset .eyebrow {
    font-size: 24px;
    margin-bottom: 9px;
  }

  #home .intro.intro-reset h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }

  #home .intro.intro-reset .intro-copy {
    font-size: 17px;
    line-height: 1.47;
  }

  #home .showcase {
    left: 62.4%;
    top: 8.2%;
    width: 32.3%;
    height: 10.8%;
  }

  #home .showcase-card {
    height: 68%;
  }

  #home .edits-slot {
    left: 22.8%;
    top: 22.75%;
  }

  #home .category-grid {
    left: 18.7%;
    top: 28.2%;
    width: 62.2%;
    height: 23.9%;
    gap: 4% 2.3%;
  }

  #home .channels {
    top: 60.9%;
    width: 64%;
  }

  #home .footer {
    left: 29.5%;
    top: 81.7%;
    width: 49.5%;
  }

  #home .home-niche-footer {
    bottom: 1.2%;
  }
}

