/* Navigation Tab Animations */
#nav ul.links li a {
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
}

#nav ul.links li a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.1);
}

#nav ul.links li.active a {
    transform: scale(1.02);
}

#nav ul.links li.active a:hover {
    transform: translateY(-3px) scale(1.07);
}

/* Social Icon Animations */
#nav ul.icons li a {
    transition: all 0.3s ease;
    transform: scale(1);
}

#nav ul.icons li a:hover {
    transform: scale(1.2) rotate(5deg);
    color: #fff !important;
}

/* Specific social media hover colors */
#nav ul.icons li a.fa-discord:hover {
    background: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

#nav ul.icons li a.fa-steam:hover {
    background: #171a21;
    box-shadow: 0 0 20px rgba(23, 26, 33, 0.5);
}

#nav ul.icons li a.fa-twitter:hover {
    background: #1DA1F2;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.5);
}

#nav ul.icons li a.fa-tiktok:hover {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.5);
}

#nav ul.icons li a.fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
}

/* Button Animations */
.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    transition: all 0.3s ease;
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
}

.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.button:active, button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Primary button special animation */
.button.primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a6f, #e44d67, #da3f5f);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.button.primary:hover {
    animation: gradientShift 1s ease infinite;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 30px rgba(238, 90, 111, 0.4);
}

/* Add to Wishlist button pulse animation */
a[href*="steam"].button.primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 90, 111, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(238, 90, 111, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(238, 90, 111, 0);
    }
}

/* Logo hover animation */
.logo {
    transition: all 0.3s ease;
    display: inline-block;
}

.logo:hover {
    transform: scale(1.1) rotate(-2deg);
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* Image hover effects */
.image.main {
    transition: all 0.3s ease;
}

.image.main:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Article hover animations */
article {
    transition: all 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Navigation menu slide effect */
#nav {
    animation: slideDown 0.5s ease;
}

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

/* Intro section fade-in animation */
#intro {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Box hover effect */
.box {
    transition: all 0.3s ease;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Actions list button spacing and animation */
.actions li {
    transition: all 0.3s ease;
}

.actions li:hover {
    transform: scale(1.05);
}

/* Continue arrow bounce animation */
.fa-arrow-down.scrolly {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Tab underline animation */
#nav ul.links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#nav ul.links li a:hover::after {
    width: 80%;
}

#nav ul.links li.active a::after {
    width: 100%;
}

/* Input field focus animations */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(238, 90, 111, 0.2);
    border-color: #ee5a6f;
}

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