/**
 * Reborn Custom Styles
 * Additional styles for animations and effects
 */

/* Fixed header styling */
.wp-block-group:has(.wp-block-site-title) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

/* Ensure content doesn't hide under fixed header */
body {
    padding-top: 80px;
}

/* Neon glow effect for site title */
.wp-block-site-title a {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transition: all 0.3s ease;
}

.wp-block-site-title a:hover {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

/* Navigation link hover effects */
.wp-block-navigation__container .wp-block-navigation-item a {
    position: relative;
    transition: all 0.3s ease;
}

.wp-block-navigation__container .wp-block-navigation-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wp--preset--color--primary);
    transition: width 0.3s ease;
}

.wp-block-navigation__container .wp-block-navigation-item a:hover::after {
    width: 100%;
}

/* Button hover effects */
.wp-block-button__link {
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.wp-block-button__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.8);
}

/* Post card hover effects */
.wp-block-post-template .wp-block-group {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 46, 0.6) !important;
}

.wp-block-post-template .wp-block-group:hover {
    transform: translateX(10px);
    background: rgba(26, 26, 46, 0.9) !important;
    box-shadow: -10px 10px 30px rgba(0, 255, 136, 0.2);
}

/* Hero section animations */
@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    25% { text-shadow: -2px 0 5px rgba(255, 0, 255, 0.5); }
    50% { text-shadow: 2px 0 5px rgba(0, 204, 255, 0.5); }
    75% { text-shadow: 0 2px 5px rgba(0, 255, 136, 0.5); }
}

/* Hero title with gradient text */
.hero-title {
    background: linear-gradient(135deg, #00ff88, #00ccff, #ff00ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Animation for hero title */
.hero-title {
    animation: glitch 3s infinite;
}



/* Background animation */
@keyframes bgShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    animation: bgShift 15s ease infinite;
}

/* Social links hover effects */
.wp-block-social-links .wp-social-link {
    transition: all 0.3s ease;
}

.wp-block-social-links .wp-social-link:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .wp-block-cover h1 {
        font-size: 48px !important;
    }
    
    .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Link hover animations */
a {
    transition: color 0.3s ease;
}

/* Comment section styling */
.wp-block-comments {
    margin-top: 60px;
}

.wp-block-comment-template {
    margin-bottom: 30px;
}

/* Pagination styling */
.wp-block-query-pagination {
    gap: 20px;
}

.wp-block-query-pagination .page-numbers {
    padding: 10px 20px;
    background: var(--wp--preset--color--dark-bg);
    color: var(--wp--preset--color--contrast);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.wp-block-query-pagination .page-numbers:hover,
.wp-block-query-pagination .page-numbers.current {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}
