/* Custom degen vibes for Roast My X */

/* Degen color variables */
:root {
    --neon-pink: #ff1493;
    --neon-green: #39ff14;
    --neon-blue: #00d4ff;
    --neon-cyan: #00ffff;
    --neon-purple: #8a2be2;
    --degen-purple: #8a2be2;
    --fire-orange: #ff6b35;
    --cyber-yellow: #ffff00;
    --toxic-green: #39ff14;
}

/* Animated background */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #330066 50%, #1a0033 75%, #0a0a0a 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: #ffffff;
}

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

/* Smooth animations with more flair */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Neon gradient backgrounds */
.bg-gradient {
    background: linear-gradient(135deg, var(--fire-orange) 0%, var(--neon-pink) 50%, var(--degen-purple) 100%);
    animation: hueRotate 3s linear infinite;
}

@keyframes hueRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Enhanced cards with neon glow */
.card {
    border: 2px solid var(--fire-orange);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6), 0 0 80px rgba(255, 20, 147, 0.3);
    border-color: var(--neon-pink);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

/* Progress bar animations */
.progress-bar {
    transition: width 2s ease-in-out;
}

/* Degen button effects */
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    position: relative;
}

/* Platform card hover effects */
.platform-card {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: var(--neon-blue) !important;
}

/* Enhanced icon visibility for platform cards */
.platform-card i.display-2 {
    text-shadow: 0 0 10px currentColor;
    filter: drop-shadow(0 0 5px currentColor);
}

/* X (Twitter) specific styling to ensure visibility */
.fab.fa-x-twitter {
    font-weight: bold;
    text-shadow: 0 0 10px currentColor;
}
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--fire-orange), var(--neon-pink));
    border-color: var(--fire-orange);
    color: #000;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
    filter: brightness(1.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Input focus effects */
.form-control:focus,
.input-group-text {
    border-color: var(--bs-info);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-info-rgb), 0.25);
}

/* Fire icon animation with more intensity */
@keyframes fireGlow {
    0%, 100% {
        text-shadow: 0 0 10px var(--fire-orange), 0 0 20px var(--fire-orange);
        color: var(--fire-orange);
    }
    25% {
        text-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
        color: var(--neon-pink);
    }
    50% {
        text-shadow: 0 0 30px var(--cyber-yellow), 0 0 60px var(--cyber-yellow);
        color: var(--cyber-yellow);
    }
    75% {
        text-shadow: 0 0 20px var(--neon-green), 0 0 40px var(--neon-green);
        color: var(--neon-green);
    }
}

.fa-fire {
    animation: fireGlow 1.5s ease-in-out infinite;
    font-size: 1.2em;
}

/* Degen score badge enhancement */
.badge {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    letter-spacing: 2px;
    font-size: 1.1em;
    text-shadow: 0 0 10px currentColor;
    border: 2px solid;
    background: rgba(0, 0, 0, 0.8) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 10px currentColor;
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px currentColor;
        transform: scale(1.05);
    }
}

.bg-success {
    color: var(--neon-green) !important;
    border-color: var(--neon-green) !important;
}

.bg-warning {
    color: var(--cyber-yellow) !important;
    border-color: var(--cyber-yellow) !important;
}

.bg-danger {
    color: var(--neon-pink) !important;
    border-color: var(--neon-pink) !important;
}

/* Alert enhancements */
.alert {
    border-left: 4px solid;
    font-size: 1rem;
    line-height: 1.6;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(255, 20, 60, 0.25) 0%, rgba(139, 0, 0, 0.35) 100%);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
    border-left-color: var(--neon-pink);
}

.alert-success {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.25) 0%, rgba(0, 128, 0, 0.35) 100%);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    border-left-color: var(--neon-green);
}

/* Responsive typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .fs-1 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Loading state for buttons */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced form styling */
.input-group-text {
    background: var(--bs-secondary);
    border-color: var(--bs-border-color);
    color: var(--bs-info);
    font-weight: 600;
}

/* Footer styling */
footer {
    border-top: 1px solid var(--bs-border-color);
    margin-top: 3rem;
}

/* Progress bar custom colors */
.progress {
    background-color: rgba(var(--bs-secondary-rgb), 0.3);
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Card body spacing */
.card-body h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Icon spacing and sizing */
.fas, .fab {
    margin-right: 0.5rem;
}

/* Animation for results appearing */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:last-child {
    animation: slideInUp 0.6s ease-out;
}
