/* ===== ANIMATIONS ===== */

/* Blob animation */
@keyframes blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Pulse effect */
@keyframes pulse-smooth {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-pulse {
  animation: pulse-smooth 3s ease-in-out infinite;
}

/* Glow effect */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(254, 192, 52, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(254, 192, 52, 0.6);
  }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Float up animation */
@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float-up {
  animation: float-up 0.6s ease-out forwards;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #fec034 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #fec034, #ff8a00);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ff8a00, #fec034);
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== TEXT SELECTION ===== */
::selection {
  background-color: #fec034;
  color: #031734;
}

::-moz-selection {
  background-color: #fec034;
  color: #031734;
}

/* ===== HOVER EFFECTS ===== */
.group:hover {
  /* Cards automatically scale via Tailwind */
}

/* ===== FOCUS STATES ===== */
a:focus,
button:focus {
  outline: 2px solid #fec034;
  outline-offset: 2px;
}

/* ===== RESPONSIVE IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== MOBILE MENU ===== */
#mobileMenuPanel {
  will-change: transform;
}


/* ===== FORM ELEMENTS ===== */
input,
textarea,
select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #fec034;
  box-shadow: 0 0 0 3px rgba(254, 192, 52, 0.1);
}

/* ===== PLACEHOLDER ===== */
::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== CUSTOM LIST MARKERS ===== */
ul {
  list-style: none;
}

/* ===== CODE BLOCKS ===== */
code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #fec034;
}

pre {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== UTILITIES ===== */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

thead {
  background: rgba(254, 192, 52, 0.1);
  border-bottom: 2px solid rgba(254, 192, 52, 0.3);
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tbody tr:hover {
  background: rgba(254, 192, 52, 0.05);
}

/* ===== BLOCKQUOTE ===== */
blockquote {
  border-left: 4px solid #fec034;
  padding: 1rem 1.5rem;
  background: rgba(254, 192, 52, 0.05);
  margin: 1.5rem 0;
  border-radius: 0.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }
}
