@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Poetsen+One&family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jacquard+12&display=swap');

/* ===========================================================
   FishTank Studios - Royal Purple Dynamic Theme
=========================================================== */

:root {
  --royal-purple: #6c1fc4;
  --deep-violet: #1a0b2e;
  --mid-violet: #2d1250;
  --neon-magenta: #d946ef;
  --electric-pink: #ff4fd8;
  --gold: #ffd166;
  --cyan-spark: #7df9ff;
  --text-light: #f1e9ff;
  --text-muted: #c5b8e0;

  --gradient-main: linear-gradient(135deg, #2d0a4e 0%, #6c1fc4 45%, #b347ff 100%);
  --gradient-glow: linear-gradient(120deg, #7df9ff, #d946ef, #ffd166, #7df9ff);
  --shadow-glow: 0 0 25px rgba(180, 80, 255, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: "Share Tech Mono", monospace;
  font-weight: 300;
  font-size: 16px;
  text-decoration: none;
  justify-content: center;
  background: var(--deep-violet);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Fallback in case AOS script fails to load from CDN -
   without this, [data-aos] elements would stay invisible forever */
.no-aos [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Animated background blobs */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  z-index: -2;
  pointer-events: none;
  animation: floatBlob 22s ease-in-out infinite alternate;
}

body::before {
  width: 600px;
  height: 600px;
  background: var(--royal-purple);
  top: -150px;
  left: -150px;
}

body::after {
  width: 700px;
  height: 700px;
  background: var(--neon-magenta);
  bottom: -200px;
  right: -200px;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 60px) scale(0.95); }
}

::selection {
  background: var(--neon-magenta);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--deep-violet);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--royal-purple), var(--neon-magenta));
  border-radius: 10px;
}

.poetsen-one-regular {
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

li, a, button {
  font-family: "Share Tech Mono", monospace;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-light);
  text-decoration: none;
}

a {
  color: var(--cyan-spark);
  transition: all 0.25s ease;
}
a:hover {
  color: var(--electric-pink);
}

h1, h2, h3, h4, h5 {
  font-family: "Orbitron", "Share Tech Mono", monospace;
  letter-spacing: 1px;
}

/* ===========================================================
   NAVBAR
=========================================================== */
.navbar {
  background: rgba(20, 6, 41, 0.55) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 70, 239, 0.25);
  padding: 0.6% 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 4, 33, 0.85) !important;
  box-shadow: 0 4px 30px rgba(108, 31, 196, 0.35);
}

.navbar-brand {
  min-height: 100%;
  padding: 0 15px 0;
  font-family: "Poetsen One", sans-serif;
  font-style: normal;
  font-size: larger;
}

.navbar-brand img {
  filter: drop-shadow(0 0 10px rgba(217, 70, 239, 0.55));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.navbar-brand:hover img {
  filter: drop-shadow(0 0 18px rgba(125, 249, 255, 0.8));
  transform: scale(1.04);
}

.navbar-nav .nav-link {
  position: relative;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-glow);
  background-size: 300% 300%;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--cyan-spark);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
  left: 10%;
  animation: gradientShift 3s ease infinite;
}

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

.navbar-toggler {
  border-color: rgba(217, 70, 239, 0.5);
}

/* ===========================================================
   BUTTONS
=========================================================== */
button {
  margin-left: 20px;
  padding: 9px 25px;
  background-color: var(--royal-purple);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
button:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--deep-violet);
}

.btn-primary, .btn-spark {
  background: linear-gradient(135deg, var(--royal-purple), var(--neon-magenta)) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 32px !important;
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease;
  background-size: 200% auto !important;
}
.btn-primary:hover, .btn-spark:hover {
  background-position: right center !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(217, 70, 239, 0.55), 0 0 20px var(--cyan-spark);
}

.btn-dark {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(217, 70, 239, 0.4) !important;
  border-radius: 50px !important;
  backdrop-filter: blur(6px);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 32px !important;
  transition: all 0.25s ease;
}
.btn-dark:hover {
  background: var(--royal-purple) !important;
  border-color: var(--cyan-spark) !important;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.btn-light {
  border-radius: 50px !important;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 32px !important;
  transition: all 0.25s ease;
}
.btn-light:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* ===========================================================
   HERO / SLIDER
=========================================================== */
.slider {
  position: relative;
}

.c-item {
  height: 100vh;
  min-height: 520px;
}

.c-img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  background-position: absolute;
  z-index: 10;
}

.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,11,46,0) 55%, var(--deep-violet) 100%);
  pointer-events: none;
  z-index: 11;
}

.carousel-caption {
  z-index: 20;
  text-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* The hero captions use Bootstrap's top-50 / translate-middle-y
   utilities for vertical centering, but .carousel-caption also
   ships with a default `bottom` value which fights that
   positioning on tall (desktop) viewports. Clear it so the
   caption centers cleanly at any screen size. */
.carousel-caption.top-50 {
  bottom: auto;
  left: 6%;
  right: 6%;
}

@media (min-width: 992px) {
  .carousel-caption.top-50 {
    left: 10%;
    right: 10%;
    max-width: 700px;
    margin: 0 auto;
  }
}

.carousel-caption .display-1 {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  color: #fff;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .carousel-caption .display-1 {
    background: linear-gradient(90deg, var(--cyan-spark), var(--neon-magenta), var(--gold), var(--cyan-spark));
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 6s ease infinite;
  }
}

.carousel-caption p {
  color: var(--text-light);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.slidetext {
  color: var(--text-light);
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  height: 60px;
  font-size: small;
  text-align: center;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(217, 70, 239, 0.35);
  border-radius: 50%;
  padding: 20px;
  filter: drop-shadow(0 0 8px var(--neon-magenta));
}

.carousel-indicators [data-bs-target] {
  background-color: var(--neon-magenta);
}

/* Scroll-down indicator */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  color: var(--cyan-spark);
  font-size: 2rem;
  animation: bounce 2s infinite;
  text-shadow: 0 0 12px var(--cyan-spark);
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6;}
  50% { transform: translate(-50%, 12px); opacity: 1;}
}

/* ===========================================================
   GENERAL SECTIONS
=========================================================== */
section {
  position: relative;
  z-index: 1;
}

.p-5 {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
}
.p-5 h1 {
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-weight: 600;
  text-align: center;
}
.p-6 {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
}

.text-success {
  color: var(--electric-pink);
  font-weight: 700;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .text-success {
    background: linear-gradient(90deg, var(--neon-magenta), var(--cyan-spark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--electric-pink);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .section-title {
    background: linear-gradient(90deg, var(--cyan-spark), var(--neon-magenta), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 8s ease infinite;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  letter-spacing: 1px;
}

/* Glass cards */
.history, .glass-card, .card {
  background: rgba(45, 18, 80, 0.35) !important;
  border: 1px solid rgba(217, 70, 239, 0.2) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  padding: 15px 0;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-spark) !important;
  box-shadow: 0 16px 40px rgba(108, 31, 196, 0.5), 0 0 25px rgba(125, 249, 255, 0.25);
}

.card-title {
  font-family: "Orbitron", sans-serif;
  color: var(--text-light);
}

.card-text {
  color: var(--text-muted);
}

.bg-dark, .bg-secondary {
  background: rgba(45, 18, 80, 0.35) !important;
}

/* Section background panels */
section.bg-dark, section.bg-secondary {
  border-radius: 24px;
  margin: 30px auto;
  max-width: 1300px;
  padding: 50px 30px !important;
  background: linear-gradient(135deg, rgba(45,18,80,0.55), rgba(108,31,196,0.25)) !important;
  border: 1px solid rgba(217,70,239,0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

iframe {
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(108, 31, 196, 0.45);
  max-width: 100%;
}

video {
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.35);
  max-width: 100%;
}

.img-thumbnail {
  background: rgba(45,18,80,0.4);
  border: 1px solid rgba(217,70,239,0.25) !important;
  box-shadow: 0 0 25px rgba(108,31,196,0.35);
}

/* ===========================================================
   PARALLAX PANELS
=========================================================== */
.pimg1, .pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7, .pimg8, .pimg9, .pimg10, .pimg11, .pimg12, .pimg14 {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  background-attachment: fixed;
  min-height: 320px;
  border-top: 1px solid rgba(217,70,239,0.2);
  border-bottom: 1px solid rgba(217,70,239,0.2);
}

.pimg1{ background-image: url(img/v3/Map.png); }
.pimg2{ background-image: url(img/v3/P15Proto.jpg); }
.pimg3{ background-image: url(img/v3/fm1.png); }
.pimg4{ background-image: url(img/v3/fm3.png); }
.pimg5{ background-image: url(img/v3/NICE.jpg); }
.pimg6{ background-image: url(img/v3/george1.jpg); }
.pimg7{ background-image: url(img/v3/1924sceneCamp4.jpg); }
.pimg8{ background-image: url(img/v3/HistoryVRImg1.jpg); }
.pimg9{ background-image: url(img/v3/solorb2.JPG); }
.pimg10{ background-image: url(img/v3/sol1.jpg); }
.pimg11{ background-image: url(img/v3/elderspire.jpg); }
.pimg12{ background-image: url(img/v3/rat1.png); }
.pimg14{ background-image: url(img/v3/profile1-4k.jpg); min-height: 420px; }

/* ===========================================================
   PORTFOLIO / GALLERY
=========================================================== */
#portfolio {
  padding: 80px 0;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.portfolio-filters button {
  margin: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(217,70,239,0.3);
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: linear-gradient(135deg, var(--royal-purple), var(--neon-magenta));
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(45, 18, 80, 0.35);
  border: 1px solid rgba(217, 70, 239, 0.2);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  aspect-ratio: 4 / 3;
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--cyan-spark);
  box-shadow: 0 20px 45px rgba(108,31,196,0.55), 0 0 30px rgba(125,249,255,0.3);
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  border-radius: 0;
  box-shadow: none;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(26,11,46,0) 30%, rgba(26,11,46,0.92) 100%);
}

.portfolio-overlay .tag {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--royal-purple), var(--neon-magenta));
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  font-family: "Share Tech Mono", monospace;
}

.portfolio-overlay h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-light);
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-item .spark-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  font-size: 1rem;
  color: var(--cyan-spark);
}

/* Portfolio modal */
.portfolio-modal .modal-content {
  background: linear-gradient(160deg, rgba(26,11,46,0.97), rgba(45,18,80,0.97));
  border: 1px solid rgba(217,70,239,0.3);
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(108,31,196,0.5);
  color: var(--text-light);
}

.portfolio-modal .modal-header,
.portfolio-modal .modal-footer {
  border-color: rgba(217,70,239,0.2);
}

.portfolio-modal .modal-media img,
.portfolio-modal .modal-media video,
.portfolio-modal .modal-media iframe {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.portfolio-modal .modal-tags span {
  display: inline-block;
  background: rgba(217,70,239,0.18);
  border: 1px solid rgba(217,70,239,0.35);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 14px;
  margin: 0 6px 6px 0;
  text-transform: uppercase;
}

/* ===========================================================
   FAQ / ACCORDION
=========================================================== */
.accordion-item {
  background: rgba(45, 18, 80, 0.35) !important;
  border: 1px solid rgba(217,70,239,0.2) !important;
  margin-bottom: 10px;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-button {
  background: transparent !important;
  color: var(--text-light) !important;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--royal-purple), var(--neon-magenta)) !important;
  color: #fff !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(217, 70, 239, 0.35);
}

.accordion-body {
  background: rgba(26,11,46,0.4);
  color: var(--text-muted);
}

/* ===========================================================
   CREATOR / HATS OFF SECTION
=========================================================== */
.inspiration-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(45,18,80,0.65), rgba(108,31,196,0.3)) !important;
  border: 1px solid rgba(217,70,239,0.2);
  border-radius: 24px;
  color: var(--text-light) !important;
  padding: 70px 24px !important;
}

/* Animated rotating glow ring around the section */
.inspiration-section::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -2;
  background: conic-gradient(from 0deg, var(--royal-purple), var(--neon-magenta), var(--cyan-spark), var(--gold), var(--royal-purple));
  opacity: 0.25;
  animation: spinGlow 16s linear infinite;
}

/* Soft inner glass layer so the spinning glow stays subtle */
.inspiration-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(45,18,80,0.85), rgba(20,8,40,0.92) 70%);
  backdrop-filter: blur(20px);
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

.inspiration-section h2 {
  display: inline-block;
  position: relative;
}

.inspiration-section .sparkle {
  display: inline-block;
  animation: sparkleSpin 3s ease-in-out infinite;
}

@keyframes sparkleSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.2); }
  50% { transform: rotate(10deg) scale(1.1); }
  75% { transform: rotate(-5deg) scale(1.15); }
}

.creator-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.creator-card {
  position: relative;
  background: rgba(26,11,46,0.6) !important;
  border: 1px solid rgba(217,70,239,0.2);
  border-radius: 18px;
  padding: 24px 20px;
  width: 200px;
  text-align: center;
  color: var(--text-light) !important;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Glowing rotating ring behind the avatar */
.creator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 30%, rgba(217,70,239,0.18), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.creator-card:hover::before {
  transform: translateX(100%);
}

.creator-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--mid-violet), var(--mid-violet)) padding-box,
    conic-gradient(var(--cyan-spark), var(--neon-magenta), var(--gold), var(--cyan-spark)) border-box;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.creator-card h3 {
  position: relative;
  z-index: 1;
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: 1px;
}

.creator-card span.role {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.creator-card:hover {
  transform: translateY(-10px) scale(1.05) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(108,31,196,0.55), 0 0 30px rgba(125,249,255,0.3) !important;
  border-color: var(--cyan-spark);
}

.creator-card:hover img {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 0 22px rgba(125, 249, 255, 0.6);
}

/* ===========================================================
   FOOTER
=========================================================== */
footer.bg-dark {
  background: linear-gradient(180deg, var(--deep-violet), #0c0418) !important;
  border-top: 1px solid rgba(217,70,239,0.2);
}

.footer h1 {
  color: var(--text-muted);
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  text-align: center;
  font-size: small;
  padding: 25px;
}
.footer h2 {
  color: var(--text-light);
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  text-align: center;
}
.footer h3 {
  color: var(--text-light);
  font-family: "Share Tech Mono", monospace;
  font-weight: 300;
  height: 15px;
  font-size: smaller;
  text-align: center;
  padding: 10px;
}
.footer img {
  width: 50%;
  height: 50%;
  align-items: center;
}
.footer lead {
  color: var(--text-light);
  font-family: "Share Tech Mono", monospace;
  font-weight: 300;
  height: 15px;
  font-size: small;
  text-align: center;
}

.footer i.bi {
  font-size: 1.4rem;
  transition: all 0.25s ease;
  display: inline-block;
}
.footer i.bi:hover {
  color: var(--cyan-spark) !important;
  transform: translateY(-4px) scale(1.2);
  text-shadow: 0 0 12px var(--cyan-spark);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: linear-gradient(135deg, var(--royal-purple), var(--neon-magenta));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  color: #fff;
}

/* ===========================================================
   MISC
=========================================================== */
.historytest {
  align-items: center;
}

.explore img {
  width: 10px;
  height: 10px;
  align-items: center;
}

.map {
  font-family: "Share Tech Mono", monospace;
  font-weight: 500;
  text-align: center;
  font-size: small;
  align-items: center;
}

/* ===========================================================
   RESPONSIVE / MOBILE
=========================================================== */

/* Make any embedded media scale to its container, regardless
   of fixed width/height attributes in the HTML */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Parallax backgrounds render badly (or not at all) on most
   mobile browsers - switch to normal scrolling backgrounds */
@media (max-width: 992px) {
  .pimg1, .pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7,
  .pimg8, .pimg9, .pimg10, .pimg11, .pimg12, .pimg14 {
    background-attachment: scroll;
    min-height: 220px;
  }
}

@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(15, 4, 33, 0.95);
    border-radius: 14px;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(217, 70, 239, 0.25);
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.5rem !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  html, body {
    font-size: 15px;
    overflow-x: hidden;
  }

  .landing-text h1 {
    font-size: 300%;
  }

  .footer {
    font-size: 10px;
    padding: 10px;
  }

  body::before, body::after {
    width: 260px;
    height: 260px;
    filter: blur(70px);
    opacity: 0.18;
  }

  /* Hero */
  .c-item {
    height: 75vh;
    min-height: 420px;
  }

  .carousel-caption {
    padding: 0 12px;
  }

  .carousel-caption .display-1 {
    font-size: 2.2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .carousel-control-prev-icon, .carousel-control-next-icon {
    padding: 12px;
  }

  /* Sections */
  .p-5, .p-6 {
    padding: 2rem 1rem !important;
    font-size: 15px;
  }

  section.bg-dark, section.bg-secondary {
    border-radius: 14px;
    margin: 16px auto;
    padding: 28px 16px !important;
  }

  .history .d-sm-flex {
    flex-direction: column;
    text-align: center;
  }

  .history .d-sm-flex > div,
  .history .d-sm-flex > .p-2,
  .history .d-sm-flex > .p-4 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  video {
    width: 100% !important;
    height: auto !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    padding: 0 10px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 14px;
  }

  .portfolio-item {
    aspect-ratio: 16 / 11;
  }

  .portfolio-filters button {
    font-size: 12px;
    padding: 6px 14px;
  }

  /* Cards */
  .card {
    margin-bottom: 1rem;
  }

  /* Creator cards */
  .creator-grid {
    gap: 16px;
  }

  .creator-card {
    width: 140px;
    padding: 14px;
  }

  /* Footer */
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 16px;
    right: 16px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption .display-1 {
    font-size: 1.6rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .navbar-brand img {
    width: 80px;
    height: auto;
  }

  .creator-card {
    width: 110px;
    padding: 10px;
  }

  .creator-card img {
    width: 48px;
    height: 48px;
  }
}
