/* ==========================================================================
   I. GLOBAL REHABILITATION & CUSTOM PROPERTY ENGINE
   ========================================================================== */
@property --progress {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-green: #00dc36;
  --color-cyan: #00bed4;
  --color-mint: #38c696;
  --color-yellow: #fdcc06;
  --color-red: #c00000;
  --color-purple: #cf6cfb;
  --color-pink: #ff3eb5;
  --color-white: #f1f1f1;
  --color-orange: #ff6f3c;
  --color-darkblue: #0f172a;
  --color-lime: #d7ff00;
}

:root {
  background-color: #0f172a;
  --outer-spacing: 2rem;
  --amplitude: 100px;
  --damping: 0.3;
  --frequency: 0.5;
  --circle-size: 60px;
  transition: --progress 700ms;
  transition-timing-function: linear;
}

:root:has(nav input#menu-toggle:checked) {
  --progress: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   II. TYPOGRAPHY ARCHITECTURE
   ========================================================================== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: var(--outer-spacing);
  overflow-x: hidden;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

p {
  font-family: "Truculenta", sans-serif;
  color: #f1f1f1;
  font-size: 1em;
  letter-spacing: 0.10em;
}

h1 {
  font-family: "Cherry Cream Soda", system-ui;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid;
}

h2 {
  font-family: "Boogaloo", sans-serif;
  color: #00BED4;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding: 4px 0;
  border-bottom: 2px dashed;
}

h3 {
  font-family: "Truculenta", sans-serif;
  font-weight: bolder;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding: 3px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.img-banner {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
    III. FLOATY MENU NAVIGATION
   ========================================================================== */
nav ul {
 position: fixed;
 top: 30px;
 left: 30px;
 display: flex;
 flex-direction: column;
 gap: 20px;
 list-style: none;
 z-index: 9999;
}

nav ul li {
 display: grid;
 place-items: center;
}

.circle {
 position: relative;
 width: var(--circle-size);
 height: var(--circle-size);
 display: grid;
 place-items: center;
 border-radius: 10%;
 border: medium solid #f1f1f1;
 background-color: #000000;
 cursor: default;
 opacity: var(--progress);
 transition: background-color 200ms;

 --oscillation-x: calc(
   ((exp(-1 * var(--damping) * var(--progress) * 25)) * var(--amplitude) *
     cos(var(--frequency) * (var(--progress) * 25 + var(--i, 0)))) * var(--progress)
 );
 --oscillation-y: calc(
   ((exp(-1 * var(--damping) * var(--progress) * 25)) * var(--amplitude) *
     sin(var(--frequency) * (var(--progress) * 25 + var(--i, 0)))) * var(--progress)
 );

 transform: translateY(var(--oscillation-y)) translateX(var(--oscillation-x));
}

.circle:hover {
 background-color: #00DC36;
 color: #f1f1f1;
}

.circle a {
 display: grid;
 place-items: center;
 width: 100%;
 height: 100%;
 color: inherit;
 text-decoration: none;
 position: relative;
}

.circle a svg {
 width: 45%;
 height: 45%;
 fill: #CF6CFB;
 transition: fill 200ms ease;
}

.circle:hover a svg {
 fill: #ffffff;
}

.unfold {
 display: grid;
 place-items: center;
 position: relative;
 font-size: 2rem;
 color: #457b9d;
 width: var(--circle-size);
 height: var(--circle-size);
 border-radius: 10%;
 background-color: #FDCC06;
 transition: transform 100ms;
 z-index: 100;
}

.unfold:has(:active) {
 transform: scale(1.025);
}

.unfold svg {
 width: 60%;
 fill: #000000;
}

.unfold input#menu-toggle {
 position: absolute;
 width: 100%;
 height: 100%;
 cursor: pointer;
 opacity: 0;
 z-index: 101;
}

/* ==========================================================================
   IV. MENU TOOLTIPS
   ========================================================================== */
.circle a::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(var(--circle-size) + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  transform-origin: left center;
  background-color: #0f172a;
  color: #00BED4;
  font-family: "Iosevka Charon", monospace;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #FF3EB5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circle a::before {
  content: '';
  position: absolute;
  left: calc(var(--circle-size) + 6px);
  top: 50%;
  transform: translateY(-50%) scale(0.5);
  transform-origin: left center;
  border-width: 4px 6px 4px 0;
  border-style: solid;
  border-color: transparent #FF3EB5 transparent transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

:root:has(nav input#menu-toggle:checked) .circle:hover a::after,
:root:has(nav input#menu-toggle:checked) .circle:hover a::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ==========================================================================
   1. RESPONSIVE DASHBOARD (INDEX)
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--outer-spacing);
  width: 100%;
}

.dashboard-card {
  background-color: #1e293b;
  border: 1.5px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 250ms ease, box-shadow 250ms ease;
}

.dashboard-card.mint:hover { border-color: #38C696; box-shadow: 0 8px 25px rgba(56, 198, 150, 0.2); }
.dashboard-card.cyan:hover { border-color: #00BED4; box-shadow: 0 8px 25px rgba(0, 190, 212, 0.2); }
.dashboard-card.pink:hover { border-color: #FF3EB5; box-shadow: 0 8px 25px rgba(255, 62, 181, 0.2); }


.card-media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #0f172a;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.dashboard-card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body p { font-size: 0.9rem; line-height: 1.5; margin-top: 0.5rem; letter-spacing: 0.05em; opacity: 0.85; }
.card-body.mint h1 {color: #38C696; border-bottom: 2px solid #38C696; }
.card-body.cyan h1 {color: #00BED4; border-bottom: 2px solid #00BED4; }
.card-body.pink h1 {color: #FF3EB5; border-bottom: 2px solid #FF3EB5; }

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(15, 23, 42, 0.85);
  font-family: "Truculenta", sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mint .card-badge { color: #38C696; border: 1px solid #38C696; }
.cyan .card-badge { color: #00BED4; border: 1px solid #00BED4; }
.pink .card-badge { color: #FF3EB5; border: 1px solid #FF3EB5; }
.card-action { margin-top: auto; padding-top: 1.5rem; }

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: "Boogaloo", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background-color 200ms ease, color 200ms ease;
}

.mint .card-btn { border: 1px solid #38C696; color: #38C696; background: transparent; }
.mint .card-btn:hover { background: #38C696; color: #0f172a; }
.cyan .card-btn { border: 1px solid #00BED4; color: #00BED4; background: transparent; }
.cyan .card-btn:hover { background: #00BED4; color: #0f172a; }
.pink .card-btn { border: 1px solid #FF3EB5; color: #FF3EB5; background: transparent; }
.pink .card-btn:hover { background: #FF3EB5; color: #0f172a; }

/* ==========================================================================
   2. THE PRESSROOM LAYOUT
   ========================================================================== */
.breakpressroom {
  border-bottom: 2px solid #00dc36;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.newsletter-header {
  margin-bottom: 2.5rem;
  border-bottom: 2px solid #00dc36;
  padding-bottom: 1.5rem;
  text-align: center;
}

.newsletter-header h2 {
  font-size: 3.5rem;
  border: none;
  padding: 0;
  margin: 0.5rem 0;
  color: #00dc36;
}

.issue-date {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Section 1: Single Column Top Styling --- */
.lead-story-row {
  width: 100%;
  text-align: justify;
  margin: 0 auto 2rem auto;
  padding-bottom: 1rem;
}

.lead-dispatch h3 {
  font-size: 2.2rem;
  border: none;
  margin-top: 0.75rem;
}

.white { color: #f1f1f1; }
.orange { color: #ff6f3c; }
.yellow { color: #fdcc06; }

.lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* --- Section 2: Two Column Bottom Grid --- */
.split-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  width: 100%;
}

.sub-dispatch {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sub-dispatch h3 {
  font-size: 1.6rem;
  border: none;
  margin-top: 0.5rem;
}

.sub-dispatch p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
  text-align: justify;
}

/* --- Micro Utilities & Inline Typography Elements --- */
.inline-badge {
  font-family: "Truculenta", sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.action-link-wrap {
  margin-top: 1.5rem;
}

.inline-link {
  font-family: "Truculenta", sans-serif;
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: opacity 200ms ease;
  cursor: pointer;
}

.inline-link.white a {color: #f1f1f1}
.inline-link.orange a {color: #ff6f3c}
.inline-link.yellow a {color: #fdcc06}

.inline-link:hover { opacity: 0.7; }

/* --- Wireframe Image Placeholders --- */
.media-placeholder {
  position: relative; /* Allows positioning text or borders absolutely if needed */
  max-width: 80%;        /* Fills the width of the grid column */
  height: auto;     /* Set your desired fixed height here */
  overflow: hidden;   /* Prevents any image spillover */
  display: flex;
  align-items: center;
  justify-content: center;
}

.white-border { border-radius: 10px; border-style: solid; border-color: #f1f1f1; }
.orange-border { border-radius: 10px; border-style: solid; border-color: #ff6f3c; }
.yellow-border { border-radius: 10px; border-style: solid; border-color: #fdcc06; }

/* The image itself */
.media-placeholder img {
  max-width: 100%;
  height: auto;
  object-fit:cover;  /* Crops the image to fit perfectly without stretching */
  object-position: center; /* Centers the focus of the photo */
}

.placeholder-text {
  position: absolute;
  bottom: .01%;
  left: auto;
  font-family: "Truculenta", sans-serif;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.placeholder-text a  {
  text-decoration: underline;
  color: #f1f1f1;
}

/* ==========================================================================
   3. BODY SHOP DOWNLOADS CONTAINERS & FILTERS
   ========================================================================== */
.filter-controller { display: none; }

.filter-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #2d3748;
  padding-bottom: 1rem;
}

.tab-label {
  font-family: "Truculenta", sans-serif;
  font-size: 0.9rem;
  font-weight: bolder;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0aec0;
  padding: 8px 16px;
  border: 1px solid #2d3748;
  border-radius: 4px;
  cursor: pointer;
  transition: all 200ms ease;
}

.tab-label:hover { color: #00BED4; border-color: #00BED4; }

#tab-all:checked ~ .filter-tabs-nav label[for="tab-all"],
#tab-hair:checked ~ .filter-tabs-nav label[for="tab-hair"],
#tab-clothing:checked ~ .filter-tabs-nav label[for="tab-clothing"],
#tab-custom:checked ~ .filter-tabs-nav label[for="tab-custom"],
#tab-objects:checked ~ .filter-tabs-nav label[for="tab-objects"],
#tab-skins:checked ~ .filter-tabs-nav label[for="tab-skins"] {
  color: #0f172a;
  background-color: #00BED4;
  border-color: #00BED4;
  box-shadow: 0 0 12px rgba(0, 190, 212, 0.4);
}

#tab-hair:checked ~ .download-grid .download-card:not(.cat-hair),
#tab-clothing:checked ~ .download-grid .download-card:not(.cat-clothing),
#tab-custom:checked ~ .download-grid .download-card:not(.cat-custom),
#tab-objects:checked ~ .download-grid .download-card:not(.cat-objects),
#tab-skins:checked ~ .download-grid .download-card:not(.cat-skins) {
  display: none !important;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--outer-spacing);
  width: 100%;
}

.download-card {
  background-color: #1a202c;
  border: 1px solid #2d3748;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.download-card.mint { color: #38C696; border: 1px solid #38C696; } /*SKINS*/
.download-card.cyan { color: #00BED4; border: 1px solid #00BED4; } /*OBJECTS*/
.download-card.pink { color: #FF3EB5; border: 1px solid #FF3EB5; } /*CUSTOM*/
.download-card.purple { color: #cf6cfb; border: 1px solid #cf6cfb; } /*CLOTHING*/
.download-card.yellow { color: #fdcc06; border: 1px solid #fdcc06; } /*HAIR*/


.download-body.mint h3 { color: #38C696; } /*SKINS*/
.download-body.cyan h3 { color: #00BED4; } /*OBJECTS*/
.download-body.pink h3 { color: #FF3EB5; } /*CUSTOM*/
.download-body.purple h3 { color: #cf6cfb; } /*CLOTHING*/
.download-body.yellow h3 { color: #fdcc06; } /*HAIR*/

.download-card.base-game { border-color: #00bed4; color: #00bed4; } /*cyan*/
.download-card.university { border-color: #00dc36; color: #00dc36; }/*green*/
.download-card.nightlife { border-color: #cf6cfb; color: #cf6cfb; }/*pruple*/
.download-card.ofb { border-color: #ff6f3c; color: #ff6f3c; }/*orange*/
.download-card.pets { border-color: #38c696; color: #38c696; }/*mint*/
.download-card.seasons { border-color: #c00000; color: #c00000; }/*red*/
.download-card.bonvoyage { border-color: #fdcc06; color: #fdcc06; }/*yellow*/
.download-card.freetime { border-color: #ff3eb5; color: #ff3eb5; }/*pink*/
.download-card.aptlife { border-color: #ff6f3c; color: #ff6f3c; }/*white*/
.download-card.stfpk { border-color: #d7ff00; color: #d7ff00; }/*lime*/

.download-body.base-game h3 { border-color: #00bed4; color: #00bed4; } /*cyan*/
.download-body.university h3 { border-color: #00dc36; color: #00dc36; }/*green*/
.download-body.nightlife h3 { border-color: #cf6cfb; color: #cf6cfb; }/*pruple*/
.download-body.ofb h3 { border-color: #ff6f3c; color: #ff6f3c; }/*orange*/
.download-body.pets h3 { border-color: #38c696; color: #38c696; }/*mint*/
.download-body.seasons h3 { border-color: #c00000; color: #c00000; }/*red*/
.download-body.bonvoyage h3 { border-color: #fdcc06; color: #fdcc06; }/*yellow*/
.download-body.freetime h3 { border-color: #ff3eb5; color: #ff3eb5; }/*pink*/
.download-body.aptlife h3 { border-color: #ff6f3c; color: #ff6f3c; }/*white*/
.download-body.stfpk h3 { border-color: #d7ff00; color: #d7ff00; }/*lime*/



.download-card:hover { border-color: #f1f1f1; box-shadow: 0 6px 20px rgba(0, 190, 212, 0.15); }
.download-media { width: 100%; height: 220px; background-color: #0f172a; position: relative; overflow: hidden; }
.download-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.download-card:hover .download-media img { transform: scale(1.03); }

.file-badge {
  position: absolute;
  bottom: 184px;
  left: 235px;
  font-family: "Truculenta", sans-serif;
  font-size: 1.5rem;
  font-weight: bolder;
  padding: 0px 6px;
}

.file-badge a {
  text-decoration: none;
}
.file-badge.mint a { color: #38C696; } /*SKINS*/
.file-badge.cyan a { color: #00BED4; } /*OBJECTS*/
.file-badge.pink a { color: #FF3EB5; } /*CUSTOM*/
.file-badge.purple a { color: #cf6cfb; } /*CLOTHING*/
.file-badge.yellow a { color: #fdcc06; } /*HAIR*/

.pack-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(15, 23, 42, 0.9);
  font-family: "Truculenta", sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #FDCC06;
  color: #FDCC06;
  z-index: 2;
}

.pack-badge.base-game { border-color: #00bed4; color: #00bed4; } /*cyan*/
.pack-badge.university { border-color: #00dc36; color: #00dc36; }/*green*/
.pack-badge.nightlife { border-color: #cf6cfb; color: #cf6cfb; }/*pruple*/
.pack-badge.ofb { border-color: #ff6f3c; color: #ff6f3c; }/*orange*/
.pack-badge.pets { border-color: #38c696; color: #38c696; }/*mint*/
.pack-badge.seasons { border-color: #c00000; color: #c00000; }/*red*/
.pack-badge.bonvoyage { border-color: #fdcc06; color: #fdcc06; }/*yellow*/
.pack-badge.freetime { border-color: #ff3eb5; color: #ff3eb5; }/*pink*/
.pack-badge.aptlife { border-color: #ff6f3c; color: #ff6f3c; }/*white*/
.pack-badge.stfpk { border-color: #d7ff00; color: #d7ff00; }/*lime*/

.download-body { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
  font-family: "Truculenta", sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.meta-item { background-color: #2d3748; padding: 2px 6px; border-radius: 3px; letter-spacing: 0.05em; }
.download-actions { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; }
.download-actions.split-actions { display: grid; gap: 10px; display: flex; }

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: solid;
  border-radius: 4px;
  border-width: thin;
  padding: 10px;
  font-family: "Boogaloo", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-download.mint { background-color: #38c696; color: #0f172a } /*SKINS*/
.btn-download.cyan { background-color: #00bed4; color: #0f172a } /*OBJECTS*/
.btn-download.pink { background-color: #ff3eb5; color: #0f172a } /*CUSTOM*/
.btn-download.purple { background-color: #cf6cfb; color: #0f172a } /*CLOTHING*/
.btn-download.yellow { background-color: #fdcc06; color: #0f172a } /*HAIR*/
.pack-badge.green { border-color: #00dc36; color: #00dc36; }
.pack-badge.orange { border-color: #ff6f3c; color: #ff6f3c; }
.pack-badge.red { border-color: #c00000; color: #c00000; }
.pack-badge.white { border-color: #ff6f3c; color: #ff6f3c; }
.pack-badge.lime { border-color: #d7ff00; color: #d7ff00; }
.btn-download:hover { background-color: #00dc36; color: #f1f1f1 }
.btn-download svg { width: 14px; height: 14px; fill: currentColor; }

.btn-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  padding: 10px;
  font-family: "Boogaloo", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 200ms ease;
}

.btn-external.mint { background-color: #38c696; color: #0f172a } /*SKINS*/
.btn-external.cyan { background-color: #00bed4; color: #0f172a } /*OBJECTS*/
.btn-external.pink { background-color: #ff3eb5; color: #0f172a } /*CUSTOM*/
.btn-external.purple { background-color: #cf6cfb; color: #0f172a } /*CLOTHING*/
.btn-external.yellow { background-color: #fdcc06; color: #0f172a } /*HAIR*/
.btn-external:hover { background-color: #00dc36; color: #f1f1f1 }
.btn-external svg { width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   4. WORLDS
   ========================================================================== */
.hood-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.hood-card {
  background-color: #1e293b;
  border: 1px solid #2d3748;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

@media (min-width: 900px) {
  .hood-card {
    grid-template-columns: 45% 55%;
  }
}

.hood-card:hover {
  border-color: #ff6f3c;
  box-shadow: 0 8px 25px rgba(0, 190, 212, 0.15);
}

.hood-media-frame {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background-color: #0f172a;
  position: relative;
  overflow: hidden;
}

.hood-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.hood-card:hover .hood-media-frame img {
  transform: scale(1.03);
}

.hood-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hood-details h3 {
  font-size: 1.6rem;
  color: #ff6f3c;
  margin-bottom: 0.25rem;
}

.hood-telemetry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32%;
  margin-bottom: 1.25rem;
  font-family: "Truculenta", sans-serif;
  font-size: 0.7rem;
  color: #d7ff00;
}

.telemetry-node {
  background-color: #0f172a;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #d7ff00;
}

.hood-details p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 2rem;
  text-align: justify;
}

.hood-routing-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 4px;
  font-family: "Boogaloo", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn-lots { border: 1px solid #38C696; color: #38C696; background-color: transparent; }
.btn-lots:hover { background-color: #38C696; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }
.btn-stories { border: 1px solid #FF3EB5; color: #FF3EB5; background-color: transparent; }
.btn-stories:hover { background-color: #FF3EB5; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }
.btn-characters { border: 1px solid #FDCC06; color: #FDCC06; background-color: transparent; }
.btn-characters:hover { background-color: #FDCC06; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }
.btn-suburb { border: 1px solid #cf6cfb; color: #cf6cfb; background-color: transparent; }
.btn-suburb:hover { background-color: #cf6cfb; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }
.btn-university { border: 1px solid #00dc36; color: #00dc36; background-color: transparent; }
.btn-university:hover { background-color: #00dc36; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }
.btn-downtown { border: 1px solid #c00000; color: #c00000; background-color: transparent; }
.btn-downtown:hover { background-color: #c00000; color: #f1f1f1; border: solid 2px; border-color: #f1f1f1 }

/* ==========================================================================
   5. FAVORITES
   ========================================================================== */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--outer-spacing);
  width: 100%;
}

.creator-card {
  background-color: #1e293b;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 250ms ease;
}

.creator-card.mint { color: #38C696; border: 1px solid #38C696; }
.creator-card.cyan { color: #00BED4; border: 1px solid #00BED4; }
.creator-card.pink { color: #FF3EB5; border: 1px solid #FF3EB5; }
.creator-card.yellow { color: #fdcc06; border: 1px solid #fdcc06; }
.creator-card.purple { color: #cf6cfb; border: 1px solid #cf6cfb; }
.creator-card.lime { color: #d7ff00; border: 1px solid #d7ff00; }
.creator-card.white { color: #f1f1f1; border: 1px solid #f1f1f1; }
.creator-card.mint h3 { color: #38C696; }
.creator-card.cyan h3 { color: #00BED4; }
.creator-card.pink h3 { color: #FF3EB5; }
.creator-card.yellow h3 { color: #fdcc06; }
.creator-card.purple h3 { color: #cf6cfb; }
.creator-card.lime h3 { color: #d7ff00; }
.creator-card.white h3 { color: #f1f1f1; }

.creator-card:hover {
  transform: translateY(-4px);
  border-color: #f1f1f1;
  box-shadow: 0 6px 20px rgba(253, 204, 6, 0.15);
}

.creator-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed #2d3748;
}

.creator-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.status-tag {
  font-family: "Truculenta", sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #2d3748;
  background-color: #0f172a;
}

.status-tag.site-objects { color: #38C696; border-color: #38C696; }
.status-tag.site-bodyshop { color: #00BED4; border-color: #00BED4; }
.status-tag.site-mods { color: #FF3EB5; border-color: #FF3EB5; }
.status-tag.site-lots { color: #cf6cfb; border-color: #cf6cfb; }
.status-tag.site-hair { color: #fdcc06; border-color: #fdcc06; }
.status-tag.site-skins { color: #d7ff00; border-color: #d7ff00; }
.status-tag.site-database { color: #f1f1f1; border-color: #f1f1f1; }

.creator-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.creator-action {
  margin-top: auto;
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  background-color: transparent;
  font-family: "Boogaloo", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-visit.mint { background-color: #38C696; color: #0f172a; }
.btn-visit.cyan { background-color: #00BED4; color: #0f172a; }
.btn-visit.pink { background-color: #FF3EB5; color: #0f172a; }
.btn-visit.yellow { background-color: #fdcc06; color: #0f172a; }
.btn-visit.purple { background-color: #cf6cfb; color: #0f172a; }
.btn-visit.lime { background-color: #d7ff00; color: #0f172a; }
.btn-visit.white { background-color: #f1f1f1; color: #0f172a; }

.btn-visit:hover { color: #f1f1f1; border: 2px solid #f1f1f1; background-color: #00dc36; }

.btn-visit svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   6. TV GUIDE & VIDEO STREAMING
   ========================================================================== */
.tv-layout-wrapper { display: flex; flex-direction: column; gap: var(--outer-spacing); width: 100%; }
.featured-theater { background-color: #1a202c; border: 2px solid #38C696; border-radius: 8px; overflow: hidden; box-shadow: 0 0 20px rgba(56, 198, 150, 0.15); }
.video-frame-container { position: relative; width: 100%; padding-top: 56.25%; background-color: #000; }
.video-frame-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.theater-info { padding: 1.5rem; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--outer-spacing); width: 100%; }
.video-card { background-color: #1e293b; border: 1px solid #2d3748; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 200ms ease; }
.video-thumbnail-wrapper { position: relative; width: 100%; padding-top: 56.25%; background-color: #0f172a; }
.video-thumbnail-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

.timestamp-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #FDCC06;
  font-family: "Truculenta", sans-serif;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #FDCC06;
}

.play-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.play-overlay-icon svg { width: 45%; height: 45%; fill: #0f172a; margin-left: 2px; }
.video-card:hover .play-overlay-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.video-card-body h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 0.5rem; }
.video-card-body p { font-size: 0.85rem; line-height: 1.4; opacity: 0.8; }

/* ==========================================================================
   7. CHANNELS SEPARATION & SEGMENTATION MODULES
   ========================================================================== */
.channel-segment { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px dashed #2d3748; }
.channel-title-container { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.channel-tag { font-family: "Truculenta", sans-serif; font-size: 0.75rem; font-weight: bold; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.05em; background-color: #0f172a; }

.chan-stories .channel-tag { color: #38C696; border: 1px solid #38C696; box-shadow: 0 0 10px rgba(56, 198, 150, 0.2); }
.chan-builds .channel-tag { color: #FDCC06; border: 1px solid #FDCC06; box-shadow: 0 0 10px rgba(253, 204, 6, 0.2); }
.chan-lab .channel-tag { color: #FF3EB5; border: 1px solid #FF3EB5; box-shadow: 0 0 10px rgba(255, 62, 181, 0.2); }

.chan-stories .video-card:hover { border-color: #38C696; box-shadow: 0 6px 20px rgba(56, 198, 150, 0.15); }
.chan-stories .play-overlay-icon { background-color: rgba(56, 198, 150, 0.95); }
.chan-builds .video-card:hover { border-color: #FDCC06; box-shadow: 0 6px 20px rgba(253, 204, 6, 0.15); }
.chan-builds .play-overlay-icon { background-color: rgba(253, 204, 6, 0.95); }
.chan-lab .video-card:hover { border-color: #FF3EB5; box-shadow: 0 6px 20px rgba(255, 62, 181, 0.15); }
.chan-lab .play-overlay-icon { background-color: rgba(255, 62, 181, 0.95); }

.channel-segment { counter-reset: video-accumulator; }
.channel-segment .video-card { counter-increment: video-accumulator; }
.channel-tag::after { content: " (QTY: " counter(video-accumulator) ")"; }
.channel-segment:hover .channel-tag::after { color: #ffffff; transition: color 200ms ease; }

/* ==========================================================================
   8. ASYNCHRONOUS SCREENSHOT MASONRY GALLERY SYSTEM
   ========================================================================== */
.gallery-container { width: 100%; margin: 0 auto; }
.masonry-grid { column-count: 1; column-gap: var(--outer-spacing); width: 100%; }

@media (min-width: 640px) { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }

.masonry-item { background-color: #1e293b; border: 1px solid #2d3748; border-radius: 8px; margin-bottom: var(--outer-spacing); overflow: hidden; break-inside: avoid; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 200ms ease; }
.masonry-item:hover { transform: translateY(-4px) scale(1.01); border-color: #FF3EB5; box-shadow: 0 8px 25px rgba(255, 62, 181, 0.15); }
.story-media { width: 100%; position: relative; overflow: hidden; background-color: #0f172a; }
.story-media img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform 400ms ease; }
.masonry-item:hover .story-media img { transform: scale(1.03); }
.story-body { padding: 1.25rem; display: flex; flex-direction: column; }
.story-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; color: #38C696; }
.story-body p { font-size: 0.85rem; line-height: 1.45; opacity: 0.85; margin-bottom: 1rem; }
.story-meta { display: flex; justify-content: space-between; align-items: center; font-family: "Truculenta", sans-serif; font-size: 0.65rem; color: #00BED4; border-top: 1px dashed #2d3748; padding-top: 0.75rem; margin-top: auto; }
.story-date { color: #a0aec0; }

/* ==========================================================================
   9. SIMS CHARACTER DIRECTORY
   ========================================================================== */
.character-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--outer-spacing); width: 100%; }
.character-card { background-color: #003153; border: 1px solid #2d3748; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 250ms ease; }
.character-card:hover { transform: translateY(-5px); border-color: #00BED4; box-shadow: 0 8px 25px rgba(0, 190, 212, 0.2); }
.profile-portrait { width: 100%; height: 260px; background-color: #0f172a; position: relative; overflow: hidden; }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 400ms ease; }
.character-card:hover .profile-portrait img { transform: scale(1.04); }

.character-card.base-game { border-color: #00bed4; color: #00bed4; } /*cyan*/
.character-card.university { border-color: #00dc36; color: #00dc36; }/*green*/
.character-card.nightlife { border-color: #cf6cfb; color: #cf6cfb; }/*pruple*/
.character-card.ofb { border-color: #ff6f3c; color: #ff6f3c; }/*orange*/
.character-card.pets { border-color: #38c696; color: #38c696; }/*mint*/
.character-card.seasons { border-color: #c00000; color: #c00000; }/*red*/
.character-card.bonvoyage { border-color: #fdcc06; color: #fdcc06; }/*yellow*/
.character-card.freetime { border-color: #ff3eb5; color: #ff3eb5; }/*pink*/
.character-card.aptlife { border-color: #ff6f3c; color: #ff6f3c; }/*white*/
.character-card.stfpk { border-color: #d7ff00; color: #d7ff00; }/*lime*/

.lifestage-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #FDCC06;
  font-family: "Truculenta", sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #FDCC06;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.profile-subtitle { font-family: "Truculenta", sans-serif; font-size: 0.75rem; color: #00BED4; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.profile-body p { font-size: 0.85rem; line-height: 1.5; opacity: 0.85; margin-bottom: 1.5rem; }
.personality-matrix { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 1rem; border-top: 1px dashed #2d3748; }
.trait-row { display: flex; flex-direction: column; gap: 4px; }
.trait-labels { display: flex; justify-content: space-between; font-family: "Truculenta", sans-serif; font-size: 0.7rem; text-transform: uppercase; color: #a0aec0; letter-spacing: 0.05em; }
.stat-bar-track { width: 100%; height: 6px; background-color: #0f172a; border-radius: 3px; overflow: hidden; }
.stat-bar-fill { height: 100%; background-color: #FF3EB5; border-radius: 3px; box-shadow: 0 0 8px rgba(255, 62, 181, 0.6); width: var(--stat-val, 50%); }
.trait-row:nth-child(even) .stat-bar-fill { background-color: #38C696; box-shadow: 0 0 8px rgba(56, 198, 150, 0.6); }

/* ==========================================================================
    10. ENHANCED VECTOR SOCIAL MEDIA FOOTER
   ========================================================================== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 75%%;
  padding: 3rem 0 2rem 0;
  margin-top: auto;
}

.site-footer .footer-socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.site-footer .footer-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
  transition: transform 200ms ease;
}

.site-footer .footer-socials a svg {
  width: 100%;
  height: 100%;
  fill: #00BED4;
  transition: fill 200ms ease;
}

.site-footer .footer-socials a:hover { transform: translateY(-3px); }
.site-footer .footer-socials a:hover svg { fill: #00DC36; }
.site-footer .footer-socials a:active { transform: scale(0.92); }

.site-footer .copyright {
  font-size: 11px;
  color: #f1f1f1;
  opacity: 0.7;
  display: block;
}

/* ==========================================================================
   11. FLOATING BACK TO TOP INTERACTIVE COMPONENT
   ========================================================================== */
.top-btn {
display: block;
 position: relative;
 bottom: 10px;
 left: 10px;
 background: transparent; /* Transparent background */
 color: var(--color-cyan); /* Default blue outline */
 border: none;
 padding: 0;
 width: 75px;
 height: 75px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 1000;

 /* Smooth color shift and lift animations */
 transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;

 /* Hidden by default */
 opacity: 0;
 pointer-events: none;
}

/* Hover state: transitions color to purple and floats up */
.top-btn:hover {
 color: var(--color-purple); /* Turns purple */
 transform: translateY(-6px);
}

/* Click state feedback */
.top-btn:active {
 transform: translateY(-1px);
}

/* Class toggled by JavaScript based on scroll position */
.top-btn.show {
 opacity: 1;
 pointer-events: auto;
}

/* ==========================================================================
   12. RESPONSIVE NEWS LAYOUT
   ========================================================================== */

/* --- Responsive Re-Stacking Rules --- */
@media (max-width: 850px) {
  .split-story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .newsletter-header h2 {
    font-size: 2.5rem;
  }

  .lead-dispatch h3 {
    font-size: 1.8rem;
  }
}

@supports not (font-family: "Truculenta") {
  p, .inline-badge, .placeholder-text, .circle a::after, .issue-date {
    font-family: "Truculenta", sans-serif !important;
  }
}
