/* Custom Styles for VinylFixTutorial Website */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Record Card Styles */
.record-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.record-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.record-card:hover::before {
    left: 100%;
}

.record-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.4);
}

/* Record Image Container */
.record-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.record-image-container img {
    transition: transform 0.5s ease;
}

.record-card:hover .record-image-container img {
    transform: scale(1.1) rotate(5deg);
}

/* Glowing Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e1b4b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9333ea, #3b82f6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7, #60a5fa);
}

/* Step Number Badge */
.step-number {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Tool Item */
.tool-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #a855f7;
    transition: all 0.2s ease;
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Tip Item */
.tip-item {
    background: rgba(234, 179, 8, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #facc15;
    position: relative;
}

.tip-item::before {
    content: '💡';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e1b4b;
    padding: 0.25rem;
    border-radius: 50%;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .record-card {
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #a855f7;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Text Selection */
::selection {
    background: rgba(147, 51, 234, 0.5);
    color: white;
}

/* Focus Styles */
a:focus,
button:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

