@font-face {
  font-family: 'Hello-Headline';
  src: url('./public/Hello-Headline.ttf') format('truetype');
}

:root {
  --font-main: 'Hello-Headline', sans-serif;
  --bg-dark: #0f172a;
  --text-light: #ffffff;
  --accent: #93bfe6;
  /* Changed to Bluey Light Blue */
  --border-radius: 16px;
  --padding-small: 8px;
  --bluey-stroke: #93bfe6;
}

.bluey-voice-text,
.nav-links a,
.scroll-links a,
.mobile-menu-links a {
  color: var(--bluey-stroke) !important;
  text-shadow:
    -4px -4px 0 #fff,
    4px -4px 0 #fff,
    -4px 4px 0 #fff,
    4px 4px 0 #fff,
    -5px 0 0 #fff,
    5px 0 0 #fff,
    0 -5px 0 #fff,
    0 5px 0 #fff !important;
  font-weight: 900;
  -webkit-text-stroke: 0;
  letter-spacing: 1px;
}

.hamburger {
  display: flex !important;
  position: fixed;
  top: 25px;
  /* Center in header */
  left: 30px;
  z-index: 10005;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 45px;
  height: 40px;
  padding: 5px;
}

.hamburger span {
  width: 35px;
  height: 4px;
  background: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  transform-origin: center;
}

.mobile-logo {
  max-width: clamp(120px, 18vh, 280px);
  /* Smaller for better fit */
  height: auto;
  filter: none !important;
  margin-bottom: 1vh;
  /* Tightened */
  flex-shrink: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Center perfectly */
  padding: 20px 1rem;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  opacity: 0.15;
  /* Very subtle */
  pointer-events: none;
  overflow: hidden;
}

.menu-bg .collage-item {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  opacity: 0.8;
}

.mobile-menu.active {
  display: flex !important;
  right: 0;
}

/* Massive buttons for 3 per row grid-like flex */
.mobile-socials {
  display: flex !important;
  gap: 1vh 1.5vw;
  /* Tighter gaps */
  margin-bottom: 1.5vh;
  /* Tightened */
  flex-wrap: wrap;
  justify-content: center;
  max-width: 95%;
  width: 100%;
}

.mobile-menu-links a {
  font-size: clamp(2rem, 5vh, 3.5rem);
  /* Scaled down slightly for fit */
  color: var(--bluey-stroke) !important;
  text-decoration: none;
  font-weight: 900;
  margin-bottom: 1vh;
  /* Tighter gap */
  letter-spacing: 1px;
  text-shadow:
    -4px -4px 0 #fff,
    4px -4px 0 #fff,
    -4px 4px 0 #fff,
    4px 4px 0 #fff,
    -5px 0 0 #fff,
    5px 0 0 #fff,
    0 -5px 0 #fff,
    0 5px 0 #fff !important;
  display: block;
  /* Ensure margin works */
  text-align: center;
  word-wrap: break-word;
  /* Ensure word wrap */
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 90vw;
}

.mobile-menu .btn-3d {
  background: #fff !important;
  color: #000 !important;
  padding: 1vh 1vw !important;
  /* Compressed padding */
  flex: 0 0 calc(28% - 1vw);
  /* Slightly narrower */
  min-width: 80px;
  max-width: 150px;
  box-shadow: 6px 6px 0px #000 !important;
  border-width: 3px !important;
  display: flex;
  justify-content: center;
}

.mobile-menu .btn-3d img {
  height: clamp(35px, 5vh, 70px) !important;
  width: auto !important;
}

/* Force white theme in Megamenu always */
.mobile-menu .btn-3d:hover {
  background: #fff !important;
  color: #000 !important;
  transform: translate(3px, 3px);
  box-shadow: 6px 6px 0px #000 !important;
}

.mobile-ca {
  display: block !important;
  width: 95%;
  max-width: 500px;
  text-align: center;
  font-size: clamp(0.9rem, 2.5vh, 1.8rem) !important;
  padding: 1vh 2vw !important;
  /* Compressed */
  background: #fff !important;
  color: #000 !important;
  border: 4px solid #000 !important;
  box-shadow: 8px 8px 0px #000 !important;
  margin-top: 1vh;
  /* Tighter */
  word-break: break-all;
}

.nav-mobile {
  display: none !important;
}

@media (max-width: 1350px) {
  .nav-mobile {
    display: flex !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 16px;
  /* Reduced from 32px for elegance */
}

::-webkit-scrollbar-track {
  background: #a3e0f2;
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 999px;
  border: 6px solid #a3e0f2;
}

::-webkit-scrollbar-thumb:hover {
  background: #f1f1f1;
}

::-webkit-scrollbar-button:single-button {
  background-color: #a3e0f2;
  display: block;
  height: 16px;
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a3e0f2" viewBox="0 0 16 16"><path d="M8 4.5l-5 5h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

::-webkit-scrollbar-button:single-button:vertical:increment {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a3e0f2" viewBox="0 0 16 16"><path d="M8 11.5l-5-5h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-x: hidden;
  /* Prevent side bleeding */
  width: 100%;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(45deg, #7fc5f9, #a3e0f2, #7fc5f9, #a3e0f2);
  background-size: 400% 400%;
  animation: bgGradientFlow 15s ease infinite;
  color: var(--text-light);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

@keyframes subtleBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes bgGradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* TV Tube Animation */
@keyframes tvTube {
  0% {
    transform: scale(0.01, 0.01);
    opacity: 0;
    filter: brightness(200%);
  }

  40% {
    transform: scale(1, 0.02);
    opacity: 1;
    filter: brightness(150%);
  }

  100% {
    transform: scale(1, 1);
    opacity: 1;
    filter: brightness(100%);
  }
}

.tv-tube {
  animation: tvTube 1.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
  opacity: 0;
  /* starts hidden */
}

@keyframes fadeInHero {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownNav {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  /* Changed from 100vw to prevent scrollbar overlap */
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-content {
  position: absolute;
  z-index: 10;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  opacity: 0;
  animation: fadeInHero 1s ease 1.5s forwards;
}

.hero-logo {
  width: 70%;
  max-width: 500px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  margin-bottom: 20px;
}

.hero p.hero-subtext {
  font-size: 2.22rem;
  letter-spacing: 1px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

/* Collage */
.collage-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-45deg);
  /* Isometric */
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--padding-small);
  width: 150vw;
  height: 150vh;
  z-index: 1;
}

.collage-item {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  will-change: transform;
}

.collage-item:hover {
  transform: translateZ(20px) scale(1.05);
}

/* Content Sections */
section.content {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem;
  color: #1e293b;
  overflow: hidden;
}

section.content .container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  z-index: 2;
  gap: 2rem;
}

section.content .text {
  flex: 1;
  color: #ffffff;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.card-style-1 {
  background: rgba(100, 137, 236, 0.9);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 4px solid #ffffff;
  transform: rotate(-1deg);
}

.card-style-2 {
  background: rgba(254, 239, 104, 0.9);
  color: #000 !important;
  border-radius: 12px 40px 12px 40px;
  box-shadow: 8px 8px 0px #000;
  border: 4px solid #000;
  transform: rotate(1deg);
}

.card-style-3 {
  background: rgba(248, 127, 155, 0.9);
  border-radius: 50px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 4px dashed #fff;
}

.card-style-4 {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 0px 30px 0px 30px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
  border-left: 8px solid #bdf677;
}

section.content .text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

section.content .text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

section.content .character {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.content .character img {
  max-width: 100%;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section.content .character img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Character Placement Logic based on look direction */
.look-left .container {
  flex-direction: row;
  /* Text Left, Char Right (looking left at text) */
}

.look-right .container {
  flex-direction: row-reverse;
  /* Text Right, Char Left (looking right at text) */
}

.look-top-right .container {
  align-items: flex-start;
  flex-direction: row-reverse;
}

.look-top-right .character {
  align-items: flex-end;
  height: 100%;
}

.look-straight .container {
  flex-direction: column;
  text-align: center;
}

.look-straight .character img {
  width: 300px;
}

/* Background Colors - Defined from filenames */
.bg-bdf677 {
  background-color: #bdf776;
}

.bg-6489ec {
  background-color: #6489ec;
}

.bg-f87f9b {
  background-color: #f87e9a;
}

.bg-fcac93 {
  background-color: #fdac92;
}

.bg-feef68 {
  background-color: #feef68;
}

/* Marquee Styling */
.marquee-wrapper {
  width: 100%;
  /* Changed from 100vw */
  overflow: hidden;
  position: relative;
  background: rgba(15, 23, 42, 0.5);
  padding: 20px 0;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 30px;
  align-items: center;
  white-space: nowrap;
  animation: scrollMarquee 45s linear infinite;
  min-width: max-content;
}

.marquee-track.reverse {
  animation: scrollMarquee 45s linear infinite reverse;
}

.marquee-img {
  height: 150px;
  width: auto;
  pointer-events: none;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 11000;
  /* Higher than mobile-menu (10000) */
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1;
  transition: all 0.4s ease;
}

.nav-normal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 80px;
  /* Space for hamburger */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-scrolled {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav.scrolled-mode .nav-normal {
  display: none;
}

.nav-scrolled .social-buttons {
  margin-top: 0;
  flex: 1;
  display: flex;
  justify-content: center;
}

nav.scrolled-mode {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 0;
  min-height: 110px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid #000;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-link:hover {
  transform: scale(1.1);
}

.nav-social .btn-3d {
  padding: 8px 12px;
  background: #fff;
  color: #000;
  opacity: 0;
  transform: translateY(10px);
}

nav.scrolled-mode .nav-social .btn-3d {
  animation: navBtnIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Staggered animation for nav social buttons */
nav.scrolled-mode .nav-social a:nth-child(1) .btn-3d {
  animation-delay: 0.1s;
}

nav.scrolled-mode .nav-social a:nth-child(2) .btn-3d {
  animation-delay: 0.15s;
}

nav.scrolled-mode .nav-social a:nth-child(3) .btn-3d {
  animation-delay: 0.2s;
}

nav.scrolled-mode .nav-social a:nth-child(4) .btn-3d {
  animation-delay: 0.25s;
}

nav.scrolled-mode .nav-social a:nth-child(5) .btn-3d {
  animation-delay: 0.3s;
}

nav.scrolled-mode .nav-social a:nth-child(6) .btn-3d {
  animation-delay: 0.35s;
}

nav.scrolled-mode .nav-social a:nth-child(7) .btn-3d {
  animation-delay: 0.4s;
}

nav.scrolled-mode .nav-social a:nth-child(8) .btn-3d {
  animation-delay: 0.45s;
}

@keyframes navBtnIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav.scrolled-mode .nav-normal {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

nav.scrolled-mode .nav-scrolled {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  padding-left: 100px;
  /* Space for hamburger in sticky */
}

.nav-scrolled .logo img {
  height: 40px;
}

.nav-social {
  margin-top: 0;
  gap: 20px;
}

.nav-social .btn-3d {
  padding: 8px 12px;
  background: #fff;
  color: #000;
}

.nav-social .btn-3d img {
  height: 24px !important;
}

.nav-social .cmc-icon {
  height: 30px !important;
  width: auto !important;
  transform: none;
}

.nav-social .cg-icon {
  height: 30px !important;
  width: auto !important;
  transform: none;
}

.logo img {
  height: 40px;
  display: block;
}

.nav-links a,
.scroll-links a,
.mobile-menu-links a {
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links {
  display: flex;
}

.nav-links a {
  margin-left: 80px;
  /* Even more spread out */
  font-size: 2.5rem;
}

@media (max-width: 1350px) {
  .nav-links {
    display: none !important;
  }
}

.scroll-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.scroll-links a {
  margin-left: 0;
  font-size: 1.5rem;
}

.nav-links a:hover {
  transform: scale(1.1);
}

.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-decoration: none;
  text-shadow: none;
  border: 3px solid #000;
  box-shadow: 6px 6px 0px #000;
  transition: all 0.1s ease;
  pointer-events: auto;
  animation: subtleBounce 3s ease-in-out infinite;
}

.btn-3d:nth-child(even) {
  animation-delay: 0.5s;
  animation-duration: 3.5s;
}

.btn-3d:nth-child(3n) {
  animation-delay: 1.2s;
  animation-duration: 4.2s;
}

.btn-3d:nth-child(5n) {
  animation-delay: -0.8s;
  animation-duration: 2.8s;
}

.btn-3d:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
  background: #fff;
  color: var(--accent);
  animation-play-state: paused;
}

.btn-3d:active {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0px #000;
}

.hero .btn-3d {
  background: #fff;
  color: #000;
}

.btn-3d img {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

.btn-3d.icon-only {
  padding: 12px 18px;
}

.btn-3d.icon-only img {
  height: 32px;
}

.cg-icon {
  height: 32px !important;
  width: auto !important;
  transform: none !important;
}

.cmc-icon {
  height: 32px !important;
  width: auto !important;
  transform: none !important;
}

.hero .cg-icon {
  height: 32px !important;
}

.hero .cmc-icon {
  height: 32px !important;
}

.x-comm-icon,
.filter-black {
  filter: brightness(0);
}

.social-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  gap: 15px;
  pointer-events: auto;
}

.hero .social-buttons {
  max-width: 100vw;
  flex-wrap: nowrap;
  gap: 10px;
}

.ca-full {
  margin-top: 25px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0px #000;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.1s ease;
  text-shadow: none;
  max-width: 90%;
  word-break: break-all;
  animation: subtleBounce 3.2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.ca-full:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
  background: var(--accent);
  color: #fff;
}

.ca-full:active {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0px #000;
}

.ca-full,
.ca-bar {
  animation: subtleBounce 3.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
  border: 2px solid #000;
  box-shadow: 4px 4px 0px #000;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  /* Ensure z-index/transform works */
  z-index: 10;
}

.ca-bar:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px #000;
}

.collage-break {
  position: relative;
  width: 100%;
  /* Changed from 100vw */
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
}

.collage-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  /* Changed from 100vw */
}

.strip-item {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  filter: brightness(0.4) blur(1px);
}

.collage-overlay {
  position: relative;
  z-index: 10;
  background: rgba(100, 137, 236, 0.95);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: 4px solid #fff;
  max-width: 800px;
  color: #fff;
}

.collage-overlay h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 var(--bg-dark);
}

.collage-overlay p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.footer {
  position: relative;
  padding: 4rem 2rem 8rem 2rem;
  background: linear-gradient(45deg, #7fc5f9, #a3e0f2, #7fc5f9, #a3e0f2);
  background-size: 400% 400%;
  animation: bgGradientFlow 15s ease infinite;
  text-align: center;
  border-top: 5px solid var(--accent);
  z-index: 100;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-row {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 25px;
}

.footer .btn-3d {
  background: #fff;
  color: #000;
  padding: 16px 32px;
  font-size: 1.5rem;
}

.footer .btn-3d.icon-only {
  padding: 16px 24px;
}

.footer-subtext {
  margin-top: 40px;
  font-size: 2.22rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer .btn-3d img {
  height: 48px;
}

.footer .cmc-icon {
  height: 64px !important;
}

@media (max-width: 1350px) {
  .collage-container {
    grid-template-columns: repeat(3, 1fr);
    width: 200vw;
    height: 200vh;
  }

  section.content {
    padding: 3rem 1rem;
  }

  section.content .container {
    flex-direction: column !important;
    text-align: center;
    padding: 0;
    gap: 3rem;
  }

  section.content .text {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  section.content .text p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
  }

  .character img {
    max-width: 280px;
    margin-top: 1rem;
  }

  .text h2 {
    font-size: 2.2rem;
  }

  nav.scrolled-mode .nav-scrolled,
  .nav-normal,
  .nav-scrolled {
    display: none !important;
  }

  nav,
  nav.scrolled-mode {
    display: block !important;
    /* Keep container visible */
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    min-height: 0 !important;
    border: none !important;
    padding: 0 !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .nav-mobile {
    display: flex !important;
    justify-content: flex-end;
    /* Align right side stuff */
    align-items: center;
    width: 100%;
    height: 90px;
    background: #fff;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    border-bottom: 4px solid #000;
  }

  /* Hamburger should NOT be inside nav-mobile padding if we want it far left */
  /* Since it is fixed at top:25 left:30, it will sit over the white bar */

  .nav-links,
  .nav-social,
  .ca-bar {
    display: none !important;
  }

  .nav-mobile-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .nav-mobile-socials {
    display: flex;
    gap: 15px;
  }

  .icon-only-mobile {
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
    border: 2px solid #000 !important;
    box-shadow: 3px 3px 0px #000 !important;
  }

  .icon-only-mobile img {
    height: 100% !important;
    width: auto !important;
  }

  .buy-btn-mobile {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    border: 3px solid #000 !important;
    box-shadow: 4px 4px 0px #000 !important;
    height: 40px;
    letter-spacing: 0.5px;
  }

  /* Mobile Menu works with the global .hamburger.active */
  /* Base mobile-menu styles now moved to global scope */

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu-header {
    display: flex !important;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Removed mobile-logo overrides from media query to handle it globally */

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .mobile-menu-links a {
    font-size: 1.8rem;
    color: var(--bluey-stroke);
    text-decoration: none;
    font-weight: 900;
    text-shadow:
      -2px -2px 0 #fff,
      2px -2px 0 #fff,
      -2px 2px 0 #fff,
      2px 2px 0 #fff,
      -3px 0 0 #fff,
      3px 0 0 #fff,
      0 -3px 0 #fff,
      0 3px 0 #fff !important;
  }

  .hero p.hero-subtext {
    font-size: 1.4rem;
    padding: 0 15px;
    text-shadow: 3px 3px 0px #000;
  }

  .footer-subtext {
    font-size: 1.4rem;
    padding: 0 15px;
  }

  /* Removed mobile-socials and mobile-ca overrides - now global */

  .no-scroll {
    overflow: hidden;
  }

  .hero .social-buttons {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 12px;
    padding: 0 1rem;
    max-width: 100%;
  }

  .hero .social-buttons .btn-3d {
    padding: 12px 18px;
    font-size: 1rem;
  }

  .hero .cmc-icon,
  .hero .cg-icon {
    height: 28px !important;
  }

  .footer-row {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .btn-3d {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .ca-full {
    font-size: 1rem;
    padding: 10px 15px;
  }

  .collage-overlay p {
    font-size: 1rem;
  }
}

/* Close @media (max-width: 1350px) properly here */

/* Global Fixed Controls - Moved out of media query */

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: #fff;
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 6px 6px 0px #000;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(100px) scale(0);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: subtleBounce 4s ease-in-out infinite;
}

.back-to-top img {
  width: 45px;
  height: auto;
}

.back-to-top span {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 900;
  color: #000;
  margin-top: -5px;
}

.back-to-top:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent);
  box-shadow: 4px 4px 0px #000;
  animation-play-state: paused;
}

.back-to-top:active {
  transform: scale(0.9) translate(4px, 4px);
  box-shadow: 0px 0px 0px #000;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .back-to-top img {
    width: 30px;
  }

  .back-to-top span {
    font-size: 0.6rem;
  }
}

/* Music Control Button */
.music-control {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 6px 6px 0px #000;
  cursor: pointer;
  z-index: 100000;
  /* Extremely high to ensure visibility */
  display: flex !important;
  /* Force display */
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  animation: subtleBounce 4s ease-in-out infinite;
  animation-delay: 0.2s;
  visibility: visible !important;
  pointer-events: auto !important;
}

.music-control.playing {
  animation: musicPulse 2s infinite, subtleBounce 3.8s ease-in-out infinite;
}

@keyframes musicPulse {
  0% {
    transform: scale(1);
    box-shadow: 4px 4px 0px #000, 0 0 0px rgba(147, 191, 230, 0);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 6px 6px 0px #000, 0 0 20px rgba(147, 191, 230, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 4px 4px 0px #000, 0 0 0px rgba(147, 191, 230, 0);
  }
}

.music-control svg {
  width: 30px;
  height: 30px;
  fill: #000;
  pointer-events: none;
}

.music-control:hover {
  transform: scale(1.1);
  background: var(--accent);
  box-shadow: 4px 4px 0px #000;
  animation-play-state: paused;
}

.music-control:active {
  transform: scale(0.9) translate(4px, 4px);
  box-shadow: 0px 0px 0px #000;
}

.music-control.muted svg {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .music-control {
    bottom: 20px;
    left: 20px;
    top: auto;
    width: 50px;
    height: 50px;
  }

  .music-control svg {
    width: 25px;
    height: 25px;
  }
}

/* Footer Styling */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  padding: 100px 0;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 10;
  border-top: 10px solid #000;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('public/images/background gifs/bg-1.gif');
  opacity: 0.05;
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-logo {
  max-width: 280px;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo:hover {
  transform: scale(1.1) rotate(-3deg);
}

.footer-buttons {
  margin: 2.5rem 0;
}

.footer-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-subtext {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  max-width: 850px;
  margin: 2.5rem auto;
  line-height: 1.3;
  color: #94a3b8;
}

.footer-ca {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .footer {
    padding: 80px 0;
  }

  .footer-row {
    gap: 15px;
  }

  .footer-logo {
    max-width: 200px;
  }
}