/* Dragon-themed custom styles */

.dragon-title {
    background: linear-gradient(45deg, #FFD700, #FF4500, #8B0000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.dragon-breathe {
    animation: breathe-fire 2s ease-in-out infinite;
}

@keyframes breathe-fire {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px #FF4500);
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px #FF4500) drop-shadow(0 0 30px #FFD700);
    }
}

.claw-button {
    position: relative;
    overflow: hidden;
}

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

.claw-button:hover::before {
    left: 100%;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8B0000, #FFD700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FF4500, #FFD700);
}

/* Text area focus animation */
textarea:focus {
    animation: input-glow 0.3s ease-in-out;
}

@keyframes input-glow {
    from {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 69, 0, 0.3);
    }
}

/* Line clamp utility for text overflow */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Responsive scale hover effects */
.hover\:scale-102:hover {
    transform: scale(1.02);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Dragon scale texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(139, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    pointer-events: none;
    z-index: -1;
}

/* Ember particle effect */
@keyframes float-ember {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
    }
}

.ember-float {
    animation: float-ember 3s ease-in-out infinite;
}