@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-roman.var.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-italic.var.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/material-icons-outlined.woff2') format('woff2');
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  font-display: block;
}

.glass-panel {
  background: rgba(22, 24, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  pointer-events: none;
}

.text-gradient {
  background: linear-gradient(to right, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid-bg {
  background-size: 50px 50px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Standardized Section Classes */
.site-section-hero {
  position: relative;
  overflow: hidden;
  background: #030305;
}

.site-section-content {
  position: relative;
  z-index: 10;
  background-image: linear-gradient(to bottom, #030305, #0f1119),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-main {
  background: #030305;
  min-height: 100vh;
}

.yolk {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #fbd524, #fc850e);
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.fried-egg {
  position: relative;
  width: 35px;
  height: 35px;
  background: #6b6ef1;
  border-radius: 42% 58% 70% 40% / 45% 45% 55% 55%;
  margin-right: 15px;
  display: inline-block;
  /* box-shadow: inset -3px -3px 0px rgba(249, 115, 22, 0.2); */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Core animations */
@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.bg-glow-pulse {
  animation: pulse-glow 8s infinite ease-in-out;
}

@keyframes complex-spin {
  0% {
    transform: rotate(0deg) translateY(0px);
  }

  50% {
    transform: rotate(180deg) translateY(-20px);
  }

  100% {
    transform: rotate(360deg) translateY(0px);
  }
}

.animate-mega-object {
  animation: complex-spin 40s infinite linear;
}

@keyframes light-sweep {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.light-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: light-sweep 4s infinite;
}

@keyframes float-particle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float-particle 15s infinite linear;
}

/* One-time fade animations with delay */
@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes steam-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
    filter: blur(8px);
  }

  10% {
    opacity: 0.3;
  }

  30% {
    transform: translateY(-100px) scale(1.5);
    opacity: 0.6;
    filter: blur(12px);
  }

  70% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-300px) scale(3);
    opacity: 0;
    filter: blur(20px);
  }
}

.steam-particle {
  position: absolute;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: steam-rise 5s infinite ease-in-out;
  opacity: 0;
  /* Initial hidden */
}

@keyframes shadow-pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0.4;
    background: rgba(37, 99, 235, 0.3);
  }

  50% {
    transform: translateX(-50%) scale(1.8);
    opacity: 0.7;
    background: rgba(249, 115, 22, 0.4);
  }
}

.egg-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 250px;
  height: 50px;
  filter: blur(20px);
  border-radius: 50%;
  animation: shadow-pulse 8s infinite ease-in-out 4s;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(15px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.bg-grid-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='white' stroke-opacity='0.03'%3E%3Cpath d='M0 .5H31.5V32'/%3E%3C/svg%3E");
}

.move {
  animation: bob 8s infinite ease-in-out;
}

.fire-text {
  background: linear-gradient(120deg, #ff7a18, #ff0000, #ffae00, #ff0000, #ff7a18);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fireMove 4s linear infinite;
}



@keyframes fireMove {
  0% {
    background-position: 0% 40%;
  }

  50% {
    background-position: 150% 60%;
  }

  100% {
    background-position: 300% 40%;
  }
}

.bg-einstein {
  position: relative;
  overflow: hidden;
}

.bg-tyson,
.bg-napoleon,
.bg-perefouras {
  position: relative;
  overflow: hidden;
}

.bg-einstein::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 15%;
  width: 100%;
  height: 600px;
  background-image: url(../img/einstein.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
} 
@media (max-width: 768px) {
  .bg-einstein::before {
    right: 5%;
  }
  .bg-tyson::before {
    right: -5% !important;
  }
  .bg-napoleon::before{
    left: 3% !important;
  }
}
.bg-tyson::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 15%;
  width: 100%;
  height: 500px;
  background-image: url(../img/tyson.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.bg-napoleon::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 15%;
  width: 100%;
  height: 600px;
  background-image: url(../img/napoleon.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.bg-perefouras::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 15%;
  width: 100%;
  height: 600px;
  background-image: url(../img/perefouras.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}


.bg-einstein>* {
  position: relative;
  z-index: 1;
}

.bg-tyson>*,
.bg-napoleon>*,
.bg-perefouras>* {
  position: relative;
  z-index: 1;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.tag-chip {
  transition: all 0.2s ease;
}

.tag-chip:hover {
  transform: translateY(-2px);
}

/* Layout Stability & Premium Menu Animations */
html {
  scrollbar-gutter: stable;
}

@keyframes menu-item-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.animate-menu-item {
  animation: menu-item-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.link-outline-hover {
  position: relative;
  color: white;
  -webkit-text-stroke: 1px transparent;
  transition: all 0.4s ease;
}

.link-outline-hover:hover {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.menu-grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}