@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

/* Custom Styles */
.method-card.active > div {
    @apply ring-2 ring-purple-400 bg-opacity-70;
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Input focus styles */
input:focus {
    transform: scale(1.02);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(to right, #c084fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* Add these new styles for the footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Animation for the footer text */
footer p {
    transition: all 0.3s ease;
}

footer p:hover {
    transform: scale(1.05);
}

/* Make sure the main content area takes up remaining space */
.container {
    flex: 1 0 auto;
}

/* Method card hover and active states */
.method-card div {
    transition: all 0.3s ease;
}

.method-card:hover div {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.method-card div.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


@keyframes glow {
  0% { text-shadow: 0 0 5px #a855f7, 0 0 10px #a855f7; }
  50% { text-shadow: 0 0 15px #ec4899, 0 0 25px #ec4899; }
  100% { text-shadow: 0 0 5px #a855f7, 0 0 10px #a855f7; }
}
.animate-glow {
  animation: glow 2s ease-in-out infinite;
}
