/* =====================================================
   TOKERA - Custom Styles
   ===================================================== */

/* Root Variables */
:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #EC4899;
    --dark-bg: #09090b;
    --dark-surface: #1a1a2e;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Animated Gradient Text */
.animated-gradient-text {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.gradient-bg-reverse {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
}

/* Blob Animations */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-purple {
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

.blob-pink {
    background: radial-gradient(circle, #EC4899 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -100px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(100px, 100px) scale(1.05); }
}

/* Grid Pattern */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    background: linear-gradient(#09090b, #09090b) padding-box,
                linear-gradient(135deg, #8B5CF6, #7C3AED) border-box;
    border: 2px solid transparent;
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Floating Animation */
.animate-float {
    animation: floatUpDown 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatUpDown 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #8B5CF6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

/* Responsive Text */
@media (max-width: 640px) {
    .text-5xl { font-size: 2.5rem; }
    .text-6xl { font-size: 3rem; }
}

/* Focus States */
input:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #8B5CF6;
}

/* Link Underline Animation */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B5CF6;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}