/* Custom styles for Gamelot */

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

/* Subtle fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Custom selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}

/* Subtle gradient text for hero accent */
.gradient-text {
    background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative blob shapes */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.25s ease;
}

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

/* Form focus ring glow */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Parallax-like hero depth */
#hero {
    perspective: 1000px;
}

/* Soft shadow utilities */
.shadow-teal {
    box-shadow: 0 20px 60px -15px rgba(13, 148, 136, 0.2);
}

/* Image hover zoom wrapper */
img {
    transition: transform 0.4s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
    img {
        transition: none;
    }
    .group:hover img {
        transform: none;
    }
}
