/*
 * Designed by XLOGC Studios © 2025
 * Crafted with passion and precision — all solo-built and engineered from scratch.
 * Website & stylesheet optimized for clean, modern, and streamlined performance.
 */

/* Table of contents

1. Body Main Layout
2. Mission
3. Portfolio
4. Mini Portfolio
5. Purchase
6. Contact
7. Footer
8. Keyframe Animations 

**********************************************************************/

		/* General body layout and reset */
		html {
		  scroll-behavior: smooth;
		}
		
		body {
		  font-family: 'Roboto', sans-serif;
		  color: #fff;
		  font-size: 17px;
		  line-height: 20px;
		  margin: 0;
		  padding: 0;
		  border: none;
		  box-sizing: border-box;
		  background-color: #000; /* adjust if your background is different */
		}	

		/* General element styling */
		a {
		  color: #181A1C;
		  text-decoration: none;
		}

		a:hover {
		  color: #FECE1A;
		  text-decoration: none;
		}

		h1, h2, h3, h4, h5, h6 {
		  font-weight: normal;
		}

		h1 {
		  margin: 10px;
		}

		p {
		  padding: 10px;
		  font-weight: 100;
		  color: #fff;
		}		
		
		.bg-neutral {
		  background-color: #0a0a0a; /* dark, almost black */
		  transition: background-color 0.6s ease; /* smooth color transitions */
		}
		
		.custom-navbar {
		  position: fixed;
		  top: 10px;
		  left: 80%;
		  transform: translateX(-50%);
		  width: 28vw; /* or tweak this number */
		  max-width: 90vw;
		  z-index: 9999;
		  background-color: #1a1a1a;
		  padding: 8px 30px;
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		  border-radius: 10px;
		}

		.logo-link {
		  margin-right: 20px; /* space between logo and links */
		  flex-shrink: 0;
		}

		.custom-navbar img {
		  height: 32px; /* smaller logo height */
		}

		.nav-toggle {
		  display: none; /* keep hidden for now, show on mobile */
		}

		.custom-navbar ul {
		  list-style: none;
		  display: flex;
		  gap: 25px;
		  margin: 0;
		  padding: 0;
		  flex-wrap: nowrap; /* force no wrapping on desktop */
		  overflow-x: auto; /* allow horizontal scroll if needed */
		  scrollbar-width: none; /* hide scrollbar Firefox */
		}

		.custom-navbar ul::-webkit-scrollbar {
		  display: none; /* hide scrollbar Chrome */
		}

		.custom-navbar a {
		  color: #fff;
		  font-weight: 500;
		  text-decoration: none;
		  white-space: nowrap; /* prevent text wrapping inside links */
		  transition: color 0.3s ease;
		}

		.custom-navbar a:hover {
		  color: #00ffff;
		}

		@media (max-width: 768px) {
		  .custom-navbar {
			width: 100%;
			left: 0;
			transform: none;
			padding: 10px 20px;
			flex-wrap: wrap;
		  }

		  .nav-toggle {
			display: block;
			font-size: 28px;
			background: none;
			border: none;
			color: #fff;
			cursor: pointer;
		  }

		  .nav-links {
			flex-direction: column;
			max-height: 0;
			overflow: hidden;
			transition: max-height 0.3s ease-in-out;
			width: 100%;
		  }

		  .nav-links.open {
			max-height: 500px;
		  }

		  .custom-navbar ul {
			gap: 0;
		  }

		  .custom-navbar li {
			padding: 10px 0;
			text-align: center;
		  }
		}
		
		.nav-collapse {
		  will-change: transform, opacity;
		}
		
		.custom-navbar a:focus {
		  outline: 2px solid #00ffff;  /* subtle cyan outline */
		  outline-offset: 2px;
		  caret-color: transparent;    /* hide caret */
		}
		
		  #word-particles {
		  position: absolute;
		  top: 0;
		  left: 0;
		  width: 100%;
		  height: 100%;
		  z-index: 2; /* just above the starfield, below logo */
		  pointer-events: none;
		}
		
		  #hero-text-container {
		  position: absolute;
		  top: 50%;
		  left: 0;
		  width: 100%;
		  height: 0;
		  transform: translateY(-50%);
		  z-index: 4;
		  pointer-events: none;
		}

		.hero-text {
		  display: none;
		  position: absolute;
		  color: #ffffff;
		  font-size: 3rem;
		  font-family: "Orbitron", sans-serif; 
		  text-shadow: 0 0 10px cyan;
		  opacity: 0;
		  transform: translateY(20px);
		}

		.left-text {
		  left:20%;
		  text-align: left;
		}

		.right-text {
		  right: 20%;
		  text-align: right;
		}
		
		  #starfield {
		  position: absolute;
		  top: 0;
		  left: 0;
		  width: 100%;
		  height: 100%;
		  display: block;
		  z-index: 1;
		}

		.curtain {
		  position: absolute;
		  width: 100%;
		  height: 60vh; /* full height */
		  object-fit: cover;
		  pointer-events: none;
		  opacity: 1;
		  transform: translateX(0);
		  display: block;
		}

		.top-curtain {
		  top: 0;
		  z-index: 6;
		  animation: slideLeft 4s ease-in-out forwards;
		  animation-delay: 0.5s;
		}

		.bottom-curtain {
		  bottom: 0;
		  z-index: 5;
		  animation: slideRight 4s ease-in-out forwards;
		  animation-delay: 0.5s;
		}
		
		/* === Custom Layout for Personal Mission Boxes === */
		
		.mission-section {
        background-color: #121212; /* your custom dark bg */
        padding: 10px 0;
		}

		.mission-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
		}

		.mission-title {
			text-align: center;
			margin-bottom: 40px;
		}

		.mission-title h1 {
		  font-size: 36px;
		  color: #FECE1A;
		  margin-bottom: 8px; /* shrink it from 10px to 8px */
		}

		.mission-title p {
		  font-size: 18px;
		  color: #cccccc;
		  font-weight: 300;
		  max-width: 720px;
		  margin: 0 auto 30px auto; /* add bottom margin to separate from next section */
		}

		.mission-row {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			gap: 15px;
		}

		.mission-column {
			flex: 1 1 30%;
			display: flex;
			justify-content: center;
		}

		.mission-service {
			text-align: center;
			color: #fff;
			max-width: 320px;
		}

		.mission-service h3 {
			color: #FECE1A;
			font-size: 20px;
			margin-top: 10px;
			margin-bottom: 2px;
		}

		.mission-service p {
			font-size: 16px;
			font-weight: 600;
			color: #bbb;
			line-height: 1.4;
			margin-top: 2px;
			margin-bottom: 10px;
		}
		
		#mission .row-fluid {
		  display: flex;
		  flex-wrap: wrap;
		  justify-content: center;
		  gap: 30px;
		  margin: 0 auto;
		  padding: 20px 0;
		}

		#mission .span4 {
		  flex: 1 1 300px;
		  max-width: 33%;
		  box-sizing: border-box;
		  padding: 10px;
		  text-align: center;
		}

		@media (max-width: 768px) {
		  #mission .span4 {
			max-width: 100%;
		  }
		}
		
		.circle-border {
		  position: relative;
		  width: 150px;
		  height: 150px;
		  margin: 0 auto;
		  overflow: hidden; /* keeps everything inside the circle */
		  border-radius: 50%;
		}

		.circle-border img {
		  position: absolute;
		  top: 0;
		  left: 0;
		  width: 100%;
		  height: 100%;
		  object-fit: cover;
		  border-radius: 50%;
		  display: block;
		}
		
		.circle-border.zoom-in img.img-circle {
		  transition: transform 0.3s ease;
		  transform-origin: center center; /* <- important */
		  will-change: transform;          /* <- smooth GPU rendering */
		}

		.circle-border.zoom-in:hover img.img-circle {
		  transform: scale(1.1);
		}

		/* Blueprint hover effect */
		img.img-circle {
		  transition: opacity 0.5s ease;
		}

		img.blueprint-hover {
		  opacity: 0;
		  pointer-events: none;
		  z-index: 2;
		  transition: opacity 0.4s ease, transform 0.4s ease;
		  transform: scale(1);
		}

		.circle-border:hover img.img-circle {
		  opacity: 0.2;
		}

		.circle-border:hover img.blueprint-hover {
		  opacity: 1;
		  transform: scale(1.05); /* slight zoom for scan effect */
		}
		
		.scan-beam {
		  position: absolute;
		  top: -100%;
		  left: 0;
		  width: 100%;
		  height: 20%; /* thinner beam */
		  background: linear-gradient(to bottom, rgba(0,255,255,0) 0%, rgba(0,255,255,0.75) 50%, rgba(0,255,255,0) 100%);
		  box-shadow: 0 0 15px rgba(0,255,255,0.4), 0 0 30px rgba(0,255,255,0.3);
		  opacity: 0;
		  transform: rotate(0deg);
		  border-radius: 50%;
		  pointer-events: none;
		  z-index: 3;
		  filter: blur(0.8px);
		}

		.circle-border:hover .scan-beam {
		  animation: scanSweep 1.2s ease-in-out;
		  animation-fill-mode: forwards;
		  opacity: 1;
		}
		
		.circle-border:hover .scan-highlight {
		  animation: scanHighlightSweep 1.2s ease-in-out;
		  opacity: 1;
		}
		
		.scan-highlight {
		  position: absolute;
		  top: -100%;
		  left: 0;
		  width: 100%;
		  height: 30%; /* same height as scan beam */
		  background: rgba(0, 255, 255, 0.15);
		  box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.35);
		  border-radius: 50% / 20%; /* elliptical shape for scan band */
		  pointer-events: none;
		  opacity: 0;
		  z-index: 2;
		  animation-fill-mode: forwards;
		}		
		
		.floating-logo {
		  position: absolute;
		  top: 50%;
		  left: 50%;
		  width: 256px;
		  transform: translate(-50%, -50%);
		  animation: floatLogo 6s ease-in-out infinite, scalePulse 10s ease-in-out infinite;
		  z-index: 3;
		  filter: drop-shadow(0 0 25px #00ffff) drop-shadow(0 0 60px #004d4d);
		}
		
		.glitch-portfolio-section {
		  position: relative;
		  overflow: hidden;
		  z-index: 0;
		  height: 360px;
		  padding: 60px 20px;
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  transition: background-color 0.7s ease-in-out;
		  opacity: 1;
		}
		
		.glitch-portfolio-section.bg-mainframe {
		  background-color: #162c46 !important; /* 🍊 Darker Teck Blue */
		}

		.glitch-portfolio-section.bg-devchamber {
		  background-color: #4b1e2f !important; /* Dark royal-purple */
		}

		.glitch-portfolio-section.bg-neuraldrive {
		  background-color: #264f42 !important; /* 🟢 Forest/teal hybrid */
		}
		
		#glitch-particles {
		  position: absolute;
		  top: 0;
		  left: 0;
		  z-index: -10; /* 🔥 Deeper behind everything */
		  width: 100%;
		  height: 100%;
		  background: transparent !important;
		  pointer-events: none;
		}

		.portfolio-grid {
		  display: flex;
		  justify-content: center;   /* Center the row */
		  gap: 60px;                 /* Space between cards */
		  flex-wrap: wrap;           /* Wrap on smaller screens */
		  padding: 40px 40px 40px 60px; /* top, right, bottom, left */
		  margin-left: 140px; /* THIS pushes the whole grid right */
		  position: relative;
		  z-index: 2;
		}
		
		.portfolio-grid-container {
		  position: relative;
		  top: 20px;
		}

		.flip-card {
		  width: 200px;
		  height: 260px;
		  perspective: 1000px;
		  flex: 0 0 auto;  /* prevent it from stretching or shrinking */
		}

		.flip-card-inner {
		  width: 100%;
		  height: 100%;
		  position: relative;
		  transition: transform 0.8s ease;
		  transform-style: preserve-3d;
		  border-radius: 12px;
		}

		.flip-card:hover .flip-card-inner {
		  transform: rotateY(180deg);
		  animation: glitchFlash 0.4s ease-in-out;
		}

		.flip-card-front, .flip-card-back {
		  position: absolute;
		  width: 100%;
		  height: 100%;
		  backface-visibility: hidden;
		  border-radius: 12px;
		  overflow: hidden;
		  box-shadow: 0 0 25px rgba(0,255,255,0.5);
		}

		.flip-card-front img {
		  width: 100%;
		  height: 100%;
		  object-fit: cover;
		  filter: brightness(1.1);
		}

		.flip-card-back {
		  background: #001a1a;
		  color: cyan;
		  transform: rotateY(180deg);
		  padding: 20px;
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		  gap: 12px;
		  text-align: center;
		  font-family: "Orbitron", sans-serif;
		}

		.flip-card-back a {
		  color: #0ff;
		  text-decoration: underline;
		}
		
		.section-title {
		  font-family: "Orbitron", sans-serif;
		  font-size: 4rem;
		  color: cyan;
		  text-align: center;
		  letter-spacing: 2px;
		  text-shadow: 0 0 10px rgba(0,255,255,0.7);
		  position: absolute;
		  top: 0px; /* 🔼 distance from top */
		  left: 50%;
		  transform: translateX(-50%);
		  transition: opacity 0.3s ease, top 0.4s ease, transform 0.4s ease;
		  z-index: 2;
		}
		
		.section-title.intro-title {
		  position: absolute;
		  font-size: 3rem;
		  color: magenta;
		  opacity: 0.6;
		  top: 40%;
          transform: translateX(-50%);
		}
		
		/* All section titles above flip cards (Fry-Up, Starfall, Tool Set) */
		.section-title:not(.intro-title) {
		  margin-bottom: 3rem; /* adds space below the title */
		}
		
		.project-selector {
		  display: flex;
		  flex-direction: column;
		  gap: 0.05rem;
		  align-items: center;
		  position: absolute;
		  left: 3.5rem;
		  top: calc(50% - 10px);
		  transform: translateY(-50%);
		  z-index: 10;
		}
		
		.badge-wrapper {
		  display: flex;
		  flex-direction: column;
		  align-items: center;
		  gap: 0; /* spacing between label and button */
		}

		.badge-label {
		  font-size: 0.95rem; /* slightly bigger */
		  font-weight: 500;   /* subtle boldness */
		  margin-bottom: 2px;
		  color: #fff;        /* more contrast */
		  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3), 0 0 8px rgba(0, 255, 255, 0.2);
		  text-align: center;
		  max-width: 90px;
		  line-height: 1.3;
		  pointer-events: none;
		  user-select: none;
		  letter-spacing: 0.03em;
		  transition: color 0.3s ease, text-shadow 0.3s ease; /* smooth transition */
		}
		
		.theme-dev .badge-label {
		  color: rgba(0, 200, 255, 0.85);
		  text-shadow: 0 0 4px rgba(0, 255, 255, 0.3), 0 0 8px rgba(0, 255, 255, 0.2);
		}

		.theme-main .badge-label {
		  color: rgba(180, 100, 255, 0.85);
		  text-shadow: 0 0 4px rgba(180, 100, 255, 0.3), 0 0 8px rgba(180, 100, 255, 0.2);
		}

		.theme-neural .badge-label {
		  color: rgba(100, 255, 180, 0.85);
		  text-shadow: 0 0 4px rgba(100, 255, 180, 0.3), 0 0 8px rgba(100, 255, 180, 0.2);
		}
		
		.label-fryup {
		  color: #ffd200;
		  text-shadow: 0 0 4px rgba(255, 210, 0, 0.3), 0 0 8px rgba(255, 210, 0, 0.2);
		}

		.label-starfall {
		  color: rgba(180, 100, 255, 0.85);
		  text-shadow: 0 0 4px rgba(180, 100, 255, 0.3), 0 0 8px rgba(180, 100, 255, 0.2);
		}

		.label-toolset {
		  color: #ff3377;
		  text-shadow: 0 0 4px rgba(255, 51, 119, 0.3), 0 0 8px rgba(255, 51, 119, 0.2);
		}
		
		.project-badge {
		  margin: 0;
		  padding: 0;
		  background: none;
		  border: none;
		  cursor: pointer;
		  transition: transform 0.3s ease, filter 0.3s ease;
		}

		.project-badge img {
		  display: block;
		  margin: 0;
		  vertical-align: bottom;
		  width: 80px;
		  height: auto;
		  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
		  transition: transform 0.3s ease, filter 0.3s ease;
		}

		/* ✅ Active pulse animation setup */
		.project-badge.active {
		  position: relative;
		  animation: pulseGlow 2.5s ease-in-out infinite;
		  z-index: 1;
		}

		/* ✅ Section-specific glow colors */
		[data-set="1"].active {
		  --active-glow-color: rgba(0, 150, 255, 0.7);
		}

		[data-set="2"].active {
		  --active-glow-color: rgba(120, 50, 200, 0.7);
		}

		[data-set="3"].active {
		  --active-glow-color: rgba(50, 255, 150, 0.7);
		}

		/* ✅ Hover and active visual boost */
		.project-badge:hover img,
		.project-badge.active img {
		  transform: scale(1.15) rotate(1deg);
		  filter: drop-shadow(0 0 12px rgba(255,255,255,0.4));
		}
		
		.card-set {
		  display: none;
		  opacity: 0;
		  transition: opacity 0.4s ease;
		}

		.card-set.active {
		  display: flex; /* or grid, whatever your layout uses */
		  opacity: 1;
		  flex-wrap: wrap; /* if flex */
		  justify-content: center; /* or your alignment */
		  gap: 1rem; /* spacing */
		}
		
		.card-set.glitch-out {
		  animation: glitchOut 0.4s ease forwards;
		}

		.card-set.glitch-in {
		  animation: glitchIn 0.4s ease forwards;
		}
		
		.card-set.glitch-in .flip-card {
		  animation: glitchZoom 0.5s ease forwards;
		}
		
		.glitch-zoom {
		  animation: glitchZoom 0.5s ease forwards;
		}
		
		.glitch-flicker {
		  animation: glitchFlicker 0.4s ease-in-out 1 forwards;
		}
		
		.glitch-shake {
		  animation: glitchShake 0.3s ease-in-out 1 forwards;
		}
		
		.glitch-lines {
		  position: absolute;
		  top: 0; left: 0; right: 0; bottom: 0;
		  pointer-events: none;
		  z-index: 9; /* make sure it sits above */
		  background: repeating-linear-gradient(
			rgba(0, 255, 255, 0.15) 0px,
			rgba(0, 255, 255, 0.15) 2px,
			transparent 2px,
			transparent 6px
		  );
		  mix-blend-mode: screen;
		  opacity: 0;
		  animation: glitchLinesFade 0.5s ease forwards;
		}

       /* Fry-Up section 4 styles */
		
		.fryup-section {
		  --bg-color1: #2a2a2a;
          --bg-color2: #162c46;
		  background: linear-gradient(135deg, var(--bg-color1), var(--bg-color2));
		  transition: background 0.5s ease;
		  position: relative;
		  padding: 160px 0 100px 0;
		  text-align: center;
		  z-index: 10;
		}

		.fryup-logo-wrapper {
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  margin-top: 40px;
		}

		.fryup-logo {
		  width: 256px;
		  height: auto;
		  max-width: 90%;
		  animation: pulseGlow 6s ease-in-out infinite;
          --active-glow-color: #ff9300;
		}

		.glow-effect {
		  filter: drop-shadow(0 0 6px #ffcc66) drop-shadow(0 0 10px #ff9966);
		}
		
		.fryup-header-logo-wrapper {
		  position: absolute;
		  top: 30px;
		  left: 50%;
		  transform: translateX(-50%);
		  z-index: 20;
		}

		.fryup-header-logo {
		  width: 150px;
		  height: 150px;
		  object-fit: contain;
		}
		
		@media (max-width: 480px) {
		  .fryup-header-logo {
			width: 96px;
			height: 96px;
		  }
		}
		
		 /* Fry-Up section 4 Button styles */

		.fryup-layout-wrapper {
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  gap: 40px;
		  position: relative;
		}

		.fryup-button-column {
		  display: flex;
		  flex-direction: column;
		  gap: 20px;
		  margin-top: 50px;
		}

		.fryup-button-left {
		  align-items: flex-end;
		}

		.fryup-button-right {
		  align-items: flex-start;
		}

		.fryup-button {
		  padding: 0;
		  border: none;
		  background: transparent;
		  cursor: pointer;
		  transition: transform 0.2s ease;
		  position: relative;
		  overflow: visible; /* allows border glow to extend */
		}
		
		.fryup-button::after {
		  content: "";
		  position: absolute;
		  top: -6px;
		  left: -6px;
		  right: -6px;
		  bottom: -6px;
		  border: 2px solid #00ffff; /* neon color */
		  border-radius: 16px;
		  opacity: var(--afterOpacity, 0);
		  transform: scale(var(--afterScale, 0.8));
		  transition: opacity 0.2s ease-out;
		  pointer-events: none;
		  z-index: 2;
		}

		/* Image inside the button */
		.fryup-button img {
		  display: block;
		  width: 100px;
		  height: 100px;
		  border-radius: 10px;
		  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
		  transition: transform 0.2s ease;
		}

		.fryup-button:hover img {
		  transform: scale(1.05);
		}

		/* Remove unused hover bg/text styles for image buttons */
		.fryup-button:hover {
		  background: transparent;
		  color: inherit;
		}

		/* Active button state (optional highlight or border) */
		.fryup-button.active img {
		  box-shadow: 0 0 15px 4px #ff9966;
		  transform: scale(1.05);
		}

		@media (max-width: 768px) {
		  .fryup-layout-wrapper {
			flex-direction: column;
			gap: 20px;
		  }

		  .fryup-button-column {
			flex-direction: row;
			justify-content: center;
		  }
		}
		
		 /* Flip Card Container - floats on top */
		 
		.fryup-flip-card {
		  position: absolute;
		  top: 50%;
		  transform: translateY(calc(-50% - 35px));
		  width: 600px;
		  height: 375px;
		  perspective: 1000px;
		  z-index: 20;
		  display: none;
		}

		/* Show flip card */
		.fryup-flip-card.active {
		  display: block;
		}

		/* Flip card appears on left side */
		.fryup-flip-card.left {
		  left: 40px;
		}

		/* Flip card appears on right side */
		.fryup-flip-card.right {
		  right: 40px;
		}

		.fryup-flip-inner {
		  width: 100%;
		  height: 100%;
		  position: relative;
		  transition: transform 0.8s ease;
		  transform-style: preserve-3d;
          transform-origin: center center;
		  border-radius: 12px;
		}

		.fryup-flip-card:hover .fryup-flip-inner {
		  transform: rotateY(180deg);
		  animation: glitchFlash 0.4s ease-in-out;
		}

		.fryup-flip-front,
		.fryup-flip-back {
		  position: absolute;
		  width: 100%;
		  height: 100%;
		  backface-visibility: hidden;
		  border-radius: 12px;
		  overflow: hidden;
		  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
		}

		.fryup-flip-front {
		  background: #111;
		  color: #ffff00;
		  font-size: 20px;
		  display: flex;
		  flex-direction: column;
		  align-items: center;
		  justify-content: center;
		  text-align: center;
		  padding: 16px;
		  gap: 0.6em;
		  box-sizing: border-box;
		}
		
		.fryup-flip-front h3 {
		  font-family: "Luckiest Guy", cursive;
		  font-size: 1.5rem;		  
		  margin: 0;
		}

		.fryup-flip-front p {
		  font-family: "Baloo 2", sans-serif;
		  font-size: 1.1rem;
		  line-height: 1.5;
		  margin: 0;
		}

		.fryup-flip-back {
		  background: #001a1a;
		  color: cyan;
		  transform: rotateY(180deg);
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		  text-align: center;
		  font-family: "Orbitron", sans-serif;
		}
		
		.fryup-flip-card-img {
		  width: 100%;
		  height: auto;
		  max-height: 100%;
		  object-fit: cover;
		  border-radius: 12px;
		}
		
		.fryup-flip-front::after {
		  content: "↻";
		  position: absolute;
		  bottom: 10px;
		  right: 12px;
		  font-size: 1.2rem;
		  opacity: 0.3;
		  transition: opacity 0.3s ease;
		  pointer-events: none;
		}

		.fryup-flip-card:hover .fryup-flip-front::after {
		  opacity: 0.7;
		}
		
		/* Override icon corner for LEFT cards */
		.fryup-flip-card.icon-left-corner .fryup-flip-front::after {
		  left: 12px;
		  right: auto;
		}

		/* Optional clarity for RIGHT cards */
		.fryup-flip-card.icon-right-corner .fryup-flip-front::after {
		  right: 12px;
		  left: auto;
		}
		
		/* Fryup mini Section */
		
		.fryup-mini-section {
		  background-color: #2e2e2e;
		  padding: 5px 20px 20px 20px; /* 5px top, 20px others */
		  display: flex;
		  flex-direction: column;
		  justify-content: space-between;
		  height: 150px; /* or whatever thin height you want */
		  box-sizing: border-box;
		  text-align: center;
		}

		.fryup-mini-text {
		  font-size: 1.6rem;
		  color: #ffcc00;
		  margin: 0 0 10px 0; /* margin-bottom 10px for some space below text */
		  align-self: flex-start; /* keep text aligned to the left at top */
		}

		.fryup-purchase-button {
		  display: inline-block;
		  background-color: #ff9900;
		  color: #000;
		  padding: 10px 20px;
		  margin-top: 20px;
		  font-size: 1.2rem;
		  font-weight: bold;
		  border-radius: 8px;
		  text-decoration: none;
		  transition: background 0.3s ease;
		  align-self: center;
		}

		.fryup-purchase-button:hover {
		  background-color: #ffaa33;
		}

		
		.fryup-mini-container {
		  max-width: 800px;
		  margin: 0 auto;
		}
		
		/* === Purchase Section Core === */

		#purchase-section {
		  padding: 15px 20px 50px;
		  background-color: #111;
		  color: #fff;
		  background: linear-gradient(-45deg, #1a1a1a, #2a2a2a, #1f1f2e, #302a1a);
          background-size: 400% 400%;
          animation: gradientShift 20s ease infinite;
		}
		
		@keyframes gradientShift {
		  0% { background-position: 0% 50%; }
		  50% { background-position: 100% 50%; }
		  100% { background-position: 0% 50%; }
		}

		.purchase-grid {
		  display: flex;
		  flex-wrap: wrap;
		  gap: 40px;
		  justify-content: center;
		}

		/* === Enhanced Purchase Box (Collector Card) === */

		.purchase-box {
		  width: 400px;
		  height: 600px;
		  background: linear-gradient(145deg, #1a1a1a, #222); /* subtle glossy base */
		  border-radius: 20px;
		  overflow: hidden;
		  box-shadow: 
			0 0 12px rgba(0, 0, 0, 0.5),
			0 0 30px rgba(255, 255, 255, 0.05),
			0 0 12px rgba(255, 204, 0, 0.2),
			inset 0 0 10px rgba(255, 255, 255, 0.03);
		  border: 2px solid #ffcc00;
		  display: flex;
		  flex-direction: column;
		  text-align: center;
		  transition: transform 0.3s ease, box-shadow 0.3s ease;
		  position: relative;
		}

		.purchase-box:hover {
		  transform: scale(1.03);
		  box-shadow:
			0 0 50px rgba(255, 204, 0, 0.3),
			0 0 20px rgba(255, 204, 0, 0.15);
		}
		
		/* 🔵 Starfall Protocol — custom blue glow on hover */
		.purchase-box.starfall-protocol:hover {
		  box-shadow:
			0 0 50px rgba(0, 180, 255, 0.3),   /* Cool blue outer glow */
			0 0 20px rgba(0, 180, 255, 0.15),
			0 0 12px rgba(0, 180, 255, 0.2),
			inset 0 0 10px rgba(255, 255, 255, 0.03);
		  border: 2px solid #00b4ff; /* Optional: blue border instead of yellow */
		}
		
		.purchase-box.starfall-protocol::before {
		  background: linear-gradient(120deg, rgba(0,180,255,0.08) 0%, rgba(0,180,255,0) 60%);
		}

		/* ✨ Gloss effect on hover */
		.purchase-box::before {
		  content: "";
		  position: absolute;
		  top: -50%;
		  left: -50%;
		  width: 200%;
		  height: 200%;
		  background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
		  transform: rotate(25deg);
		  pointer-events: none;
		  transition: opacity 0.3s ease;
		  z-index: 1;
		}
		.purchase-box:hover::before {
		  opacity: 1;
		}

		/* === Art area === */

		.purchase-art {
		  height: 600px;
		  background-size: cover;
		  background-position: center;
		  border-radius: 20px;
		  position: relative; /* Important for button positioning */
		}

		/* Background art (you already have these) */
		.fryup-bg {
		  background-image: url('../images/PurchaseSectionArt/FryupPurchaseCard.png');
		}

		.starfall-bg {
		  background-image: url('../images/PurchaseSectionArt/StarProtocolSoonCard.png');
		}

		/* === Content Area === */

		.purchase-content {
		  padding: 20px;
		  position: relative;
		  z-index: 2;
		}

		.purchase-content h2 {
		  font-size: 1.6rem;
		  margin: 0 0 10px;
		  color: #ffcc00;
		}

		.purchase-content p {
		  font-size: 1rem;
		  margin: 0 0 20px;
		  color: #ccc;
		}

		/* === Buttons & Labels === */

		.button {
		  display: inline-block;
		  padding: 10px 20px;
		  background-color: #ff9900;
		  color: #000;
		  text-decoration: none;
		  border-radius: 6px;
		  font-weight: bold;
		  transition: background-color 0.2s ease, transform 0.1s ease;
		}

		.button:hover {
		  background-color: #ffcc00;
		}

		.button:focus,
		.button:active {
		  background-color: #ffcc00;
		  color: #000;
		  outline: none;
		}

		.button:active {
		  transform: scale(0.97);
		}

		.coming-soon-label {
		  display: inline-block;
		  padding: 10px 20px;
		  background-color: #444;
		  color: #aaa;
		  border: 1px solid #777;
		  border-radius: 6px;
		  font-style: italic;
		  font-size: 0.9rem;
		}
		
		.purchase-art .coming-soon-label {
		  position: absolute;
		  bottom: 25px; /* Adjust as needed */
		  left: 50%;
		  transform: translateX(-50%);
		  z-index: 2;
		}
		
		.buy-now-button {
		  display: inline-block;
		  padding: 10px 20px;
		  background-color: #ff9900;
		  color: #000;
		  text-decoration: none;
		  border-radius: 6px;
		  font-weight: bold;
		  font-size: 1rem;
		  transition: background-color 0.2s ease, transform 0.1s ease;
		  position: absolute;
		  bottom: 27.5px;
		  left: 50%;
		  transform: translateX(-50%);
		  z-index: 2;
		}

		.buy-now-button:hover,
		.buy-now-button:focus {
		  background-color: #ffcc00;
		  color: #000;
		}

		.buy-now-button:active {
		  transform: translateX(-50%) scale(0.97);
		}

		/* === Purchase Title === */
		.purchase-title {
			text-align: center;
			margin-bottom: 40px;
		}

		.purchase-title h1 {
			font-size: 32px;
			color: #FECE1A;
			font-weight: 400;
			line-height: 1.4;
			max-width: 800px;
			margin: 0 auto;
		}
		
		/* === Footer === */
		
		.footer {
		  background: #fff; /* white background */
		  text-align: center;
		  padding-top: 2px;
          padding-bottom: 2px;
		  border-top: 1px solid #ddd;
		}

		.footer > p {
		  padding: 0;
		  color: #000;
		  margin: 0;
		  font-size: 13px;
		  letter-spacing: 0.5px;
		}

		.footer a {
		  color: #FECE1A;
		}

		.footer a:hover,
		.footer a:focus {
		  text-decoration: underline;
		}
		
		/* === Contact Section Tweaks === */
		
		#contact.section {
		  background-color: #000;
		  padding: 15px 0 40px; /* top + bottom breathing room */
		}

		#contact .title h2 {
		  margin: 0;
		  padding-top: 10px; /* space from the top of the section */
		  padding-bottom: 10px; /* space before the emails */
		  color: white;
		  font-size: 1.6rem;
          text-align: center;		  /* optional size tweak */
		}

		#contact .contact-emails {
		  text-align: center;
		  margin-top: 10px;
		  color: white;
		  font-size: 14px;
		}

		#contact .contact-emails a {
		  color: white;
		  text-decoration: none;
		  margin: 0 15px;
		}

		#contact .contact-emails a:hover {
		  text-decoration: underline;
		}
		
		/* === Scroll up button === */
		.scrollup {
		  position: fixed;
		  bottom: 30px;
		  right: 20px;
		  width: 64px; /* matches your image */
		  height: 64px;
		  background: none; /* remove background since image has it */
		  border: none;
		  border-radius: 10px; /* keep for hover glow shape */
		  cursor: pointer;
		  text-align: center;
		  opacity: 0;
		  transform: translateY(20px);
		  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
		  z-index: 9999;
		}

		.scrollup.show {
		  opacity: 1;
		  transform: translateY(0);
		}

		.scrollup:hover {
		  box-shadow: 0 0 15px rgba(254, 206, 26, 0.8), 0 4px 12px rgba(0,0,0,0.35);
		}

		.scrollup img {
		  display: block;
		  width: 100%;
		  height: 100%;
		  object-fit: contain;
		  animation: bounce 1.5s infinite;
		}

		@keyframes bounce {
		  0%, 100% { transform: translateY(0); }
		  50% { transform: translateY(-3px); }
		}
		
		@keyframes pulseGlow {
		  0%, 100% {
			filter: drop-shadow(0 0 2px #fff)
					drop-shadow(0 0 4px var(--active-glow-color))
					drop-shadow(0 0 8px var(--active-glow-color));
			transform: scale(1);
		  } 
		  50% {
			filter: drop-shadow(0 0 4px #fff)
					drop-shadow(0 0 8px var(--active-glow-color))
					drop-shadow(0 0 16px var(--active-glow-color));
			transform: scale(1.03);
		  }
		}

		@keyframes glitchLinesFade {
		  0% { opacity: 0; }
		  30% { opacity: 0.4; }
		  60% { opacity: 0.6; }
		  100% { opacity: 0; }
		}
		
		@keyframes glitchShake {
		  0%, 100% { transform: translate(0,0); }
		  20%, 60% { transform: translate(-3px, 2px); }
		  40%, 80% { transform: translate(3px, -2px); }
		}
		
		@keyframes glitchFlicker {
		  0%, 100% {
			clip-path: inset(0);
			filter: none;
			transform: translate(0);
		  }
		  20%, 60% {
			clip-path: inset(10% 0 85% 0);
			filter: drop-shadow(2px 0 red) drop-shadow(-2px 0 cyan);
			transform: translate(-2px, 0);
		  }
		  40%, 80% {
			clip-path: inset(85% 0 10% 0);
			filter: drop-shadow(-2px 0 red) drop-shadow(2px 0 cyan);
			transform: translate(2px, 0);
		  }
		}
		
		@keyframes glitchZoom {
		  0% {
			transform: scale(0.9) rotate(0.5deg);
			opacity: 0;
			filter: contrast(0.7) brightness(1.4) hue-rotate(20deg);
		  }
		  50% {
			transform: scale(1.05) rotate(-0.5deg);
			filter: contrast(1.8) brightness(1.2) hue-rotate(-20deg);
		  }
		  100% {
			transform: scale(1) rotate(0);
			opacity: 1;
			filter: none;
		  }
		}

		@keyframes glitchOut {
		  0% { transform: scale(1) skew(0deg); opacity: 1; }
		  25% { transform: scale(1.02) skew(2deg); opacity: 0.6; }
		  50% { transform: scale(0.95) skew(-3deg); opacity: 0.2; }
		  100% { transform: scale(0.9) skew(5deg); opacity: 0; }
		}

		@keyframes glitchIn {
		  0% { transform: scale(1.1) skew(-10deg); opacity: 0; }
		  25% { transform: scale(0.98) skew(4deg); opacity: 0.4; }
		  50% { transform: scale(1.03) skew(-2deg); opacity: 0.7; }
		  100% { transform: scale(1) skew(0deg); opacity: 1; }
		}		

		@keyframes glitchFlash {
		  0% { filter: hue-rotate(0deg); }
		  50% { filter: hue-rotate(40deg) saturate(2); }
		  100% { filter: none; }
		}
		
		@keyframes scanSweep {
		  0% {
			top: -100%;
			opacity: 0.6;
		  }
		  30% {
			opacity: 0.8;
		  }
		  50% {
			top: 20%;
			opacity: 1;
		  }
		  70% {
			opacity: 0.6;
		  }
		  100% {
			top: 100%;
			opacity: 0;
		  }
		}

		@keyframes scanHighlightSweep {
		  0% {
			top: -100%;
			opacity: 1;
		  }
		  60% {
			top: 100%;
			opacity: 1;
		  }
		  100% {
			top: 100%;
			opacity: 0;
		  }
		}

		@keyframes slideLeft {
		  0%   { transform: translateX(0);        opacity: 1; }
		  60%  { transform: translateX(-100vw);   opacity: 1; }  /* fully offscreen, still visible */
		  100% { transform: translateX(-100vw);   opacity: 0; }  /* then fade out */
		}

		@keyframes slideRight {
		  0%   { transform: translateX(0);        opacity: 1; }
		  60%  { transform: translateX(100vw);    opacity: 1; }
		  100% { transform: translateX(100vw);    opacity: 0; }
		}		 

		@keyframes floatLogo {
		  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
		  50% { transform: translate(-50%, -50%) translateY(-12px); }
		}

		@keyframes scalePulse {
		  0%, 100% { transform: translate(-50%, -50%) scale(1); }
		  50% { transform: translate(-50%, -50%) scale(1.15); }
		}