/* === Zurax's Website - Enhanced Theme === */

:root {
    --bg: #09090f;
    --surface: #111117;
    --surface-hover: #18181f;
    --accent: #14b8a6;       /* Teal wolf vibe */
    --accent-light: #5eead4;
    --border: #27272f;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
}

h1, h2, h3 {
    font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
    letter-spacing: -0.03em;
}

/* Card hover effects */
a.group, .card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a.group:hover, .card:hover {
    transform: translateY(-3px);
}

/* Gallery */
#gallery img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease;
}

#gallery .group:hover img {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* Modal */
#modal {
    animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Con cards */
#cons .group {
    transition: all 0.2s ease;
}

#cons .group:hover {
    border-color: var(--border);
    background-color: var(--surface-hover);
}

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

img {
    image-rendering: -webkit-optimize-contrast;
}

/* === Fun Animations === */

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Subtle breathing effect on main PFP */
.hero-pfp {
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* Social link icon pop */
.social-icon {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.group:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Gallery staggered entrance */
.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* Modal entrance */
#modal-image {
    animation: modalZoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Con card hover lift */
#cons .group {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#cons .group:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Interest & Favorites items */
.interest-item {
    transition: all 0.2s ease;
}

.interest-item:hover {
    color: #5eead4;
    transform: translateX(3px);
}

/* Favorites list styling */
#favorites ul {
    font-size: 0.925rem;
}

/* Status banner */
.status-banner {
    background: linear-gradient(to right, rgba(20, 184, 166, 0.08), rgba(20, 184, 166, 0.04));
}

/* Mobile nav */
#mobile-menu {
    animation: slideDown 0.2s ease forwards;
}

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

/* Mobile improvements */
@media (max-width: 768px) {
    .gallery-item img {
        height: 180px;
    }
    
    #cons .group {
        padding: 1rem;
    }
}

/* Status banner */
.status-banner {
    font-size: 0.875rem;
}

/* Improved modal arrows */
#modal button {
    transition: all 0.2s ease;
}

#modal button:hover {
    transform: scale(1.1);
}

/* Better con cards */
#cons .group {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#cons .group:hover {
    border-color: #3f3f46;
}
