/* Logo Animation Styles */
.logo-text {
  font-family: 'Audiowide', cursive; /* Use the Audiowide font with a fallback */
  font-weight: bold;
  font-size: 28px;
  line-height: 1; /* Equivalent to leading-none */
  color: #dc2626; /* Use your defined primary color */
}

.logo-container {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo {
  width: 100%;
  height: 100%;
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.1), transparent);
  transition: left 0.8s ease;
}

.logo-symbol {
  position: relative;
  z-index: 2;
}

.logo-letter {
  font-size: 20px;
  font-weight: 600;
  color: #E50914;
  transition: all 0.3s ease;
}

.logo-accent {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #E50914;
  border-radius: 50%;
  transform: scale(0);
  animation: accentPulse 2s ease-in-out infinite;
}

.logo-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: linear-gradient(45deg, #E50914, #ff1a2e) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effects */
.logo-container:hover {
  transform: translateY(-2px);
}

.logo-container:hover .logo {
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.15);
}

.logo-container:hover .logo::before {
  left: 100%;
}

.logo-container:hover .logo-letter {
  transform: scale(1.05);
  color: #b91c1c;
}

.logo-container:hover .logo-border {
  opacity: 1;
}

/* Animations */
@keyframes accentPulse {
  0%, 100% { 
    transform: scale(0);
    opacity: 0;
  }
  50% { 
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.logo-container {
  animation: fadeIn 0.8s ease-out;
}

/* Responsive scaling */
@media (max-width: 768px) {
  /* Scale down the main logo container */
  .logo-container {
    width: 40px;
    height: 40px;
  }

  /* Scale down the "S" inside the logo */
  .logo-letter {
    font-size: 16px;
  }

  /* Scale down the pulsing accent dot */
  .logo-accent {
    width: 4px;
    height: 4px;
    bottom: 3px;
    right: 3px;
  }
}
/* Flame elements */
svg .svg-elem-3 {
stroke-dashoffset: 358.17120361328125px;
stroke-dasharray: 358.17120361328125px;
fill: transparent !important;
transition: stroke-dashoffset 1s ease-out 0.24s,
            fill 0.7s ease-out 1s;
}
svg.active .svg-elem-3 {
stroke-dashoffset: 0;
fill: rgb(252, 251, 251)!important;
}

svg .svg-elem-4 {
stroke-dashoffset: 348.9036560058594px;
stroke-dasharray: 348.9036560058594px;
fill: transparent !important;
transition: stroke-dashoffset 1s ease-out 0.36s,
            fill 0.7s ease-out 1.1s;
}
svg.active .svg-elem-4 {
stroke-dashoffset: 0;
fill: rgb(251, 155, 27)!important;
}

svg .svg-elem-5 {
stroke-dashoffset: 321.2957763671875px;
stroke-dasharray: 321.2957763671875px;
fill: transparent !important;
transition: stroke-dashoffset 1s ease-out 0.48s,
            fill 0.7s ease-out 1.2s;
}
svg.active .svg-elem-5 {
stroke-dashoffset: 0;
fill: rgb(251, 110, 48)!important;
}

svg .svg-elem-6 {
stroke-dashoffset: 127.00608825683594px;
stroke-dasharray: 127.00608825683594px;
fill: transparent !important;
transition: stroke-dashoffset 1s ease-out 0.6s,
            fill 0.7s ease-out 1.3s;
}
svg.active .svg-elem-6 {
stroke-dashoffset: 0;
fill: rgb(251, 66, 68) !important;
}