/* Vinyl Value Scanner - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* App icon glow effect */
.app-icon-glow {
    box-shadow:
        0 25px 50px -12px rgba(196, 30, 58, 0.25),
        0 0 0 1px rgba(196, 30, 58, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon-glow:hover {
    transform: scale(1.02);
    box-shadow:
        0 30px 60px -12px rgba(196, 30, 58, 0.35),
        0 0 0 1px rgba(196, 30, 58, 0.2);
}

/* FAQ animations */
.faq-icon {
    transition: transform 0.2s ease;
}

.faq-content {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Screenshots container */
.screenshots-container {
    scrollbar-width: thin;
    scrollbar-color: #C41E3A #F5F2ED;
}

.screenshots-container::-webkit-scrollbar {
    height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: #F5F2ED;
    border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background: #C41E3A;
    border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb:hover {
    background: #a01830;
}

/* Feature cards hover effect */
.bg-cream.rounded-2xl {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-cream.rounded-2xl:hover {
    transform: translateY(-2px);
}

/* Navigation blur support for older browsers */
@supports not (backdrop-filter: blur(12px)) {
    nav {
        background-color: rgba(245, 242, 237, 0.98);
    }
}

/* Button hover states */
a[class*="bg-vinyl"]:hover {
    transform: translateY(-1px);
}

/* Vinyl record spin animation (for potential use) */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.vinyl-spin {
    animation: spin 3s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .screenshots-container {
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .screenshots-container img {
        width: 200px;
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C41E3A;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .faq-toggle svg,
    section.bg-vinyl {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
