/* Complete redesign with black background and neon yellow theme */

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: #ccff00;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(204, 255, 0, 0.3);
  z-index: 9999;
  max-width: 600px;
  width: 90%;
  transition: bottom 0.5s ease;
  border: 2px solid #000;
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-content p {
    margin-bottom: 0;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #ccff00;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8e600;
}

/* Form Input Focus States */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #ccff00;
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.2);
}

/* Flip Card Animation */
.flip-card {
  perspective: 1000px;
  height: 100%;
  min-height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for images */
img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* Button hover effects */
a,
button {
  transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease;
}

/* Ensure proper text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Torn paper effect helper */
svg path {
  transition: fill 0.3s ease;
}

/* Glowing effect for lime elements */
.border-lime-400 {
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.bg-lime-400 {
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

/* Hover glow enhancement */
.hover\:border-lime-400:hover {
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.5);
}

/* Text glow for headings */
h1,
h2 {
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

/* Card hover effects */
.hover\:transform:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(204, 255, 0, 0.2);
}

/* Rotation animations */
@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .cookie-popup {
    display: none;
  }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
  .flip-card {
    min-height: 250px;
  }

  .flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* Ensure lime color consistency */
:root {
  --lime-primary: #ccff00;
  --lime-hover: #b8e600;
  --black-primary: #000000;
  --gray-dark: #1a1a1a;
}
