/**
 * ULTRA JAPAN 2025 - Component Styles
 * 
 * This file contains all component-specific styles extracted from PHP templates
 * for better maintainability and performance.
 */

/* ==========================================================================
   Artist Archive Styles
   ========================================================================== */

/* Stage Filter Pills */
.stage-filter {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    color: #4b5563;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.stage-filter:hover {
    border-color: #9333ea;
    color: #9333ea;
}

.stage-filter.active {
    background-color: #9333ea;
    color: #ffffff;
    border-color: #9333ea;
}

/* Stage Badges */
.stage-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.stage-badge.stage-main {
    background-color: #dc2626;
    color: #ffffff;
}

.stage-badge.stage-resistance {
    background-color: #9333ea;
    color: #ffffff;
}

.stage-badge.stage-park {
    background-color: #16a34a;
    color: #ffffff;
}

/* View Toggle (Artist Archive) */
.artists-container .view-toggle {
    padding: 0.5rem;
    color: #6b7280;
    transition: color 0.3s;
    background: transparent;
    border: none;
    cursor: pointer;
}

.artists-container .view-toggle:hover {
    color: #9333ea;
}

.artists-container .view-toggle.active {
    color: #9333ea;
    background-color: #f3e8ff;
    border-radius: 0.25rem;
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Artist Card Animations */
.artist-card {
    transition: all 0.3s ease;
    position: relative;
}

.artist-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.artist-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(220, 38, 38, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.artist-card:hover::after {
    opacity: 1;
}

/* Artist Image Zoom Effect */
.artist-image-container {
    overflow: hidden;
    position: relative;
}

.artist-image-container img {
    transition: transform 0.3s ease;
}

.artist-image-container:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

/* Desktop Navigation Links */
.nav-link {
    color: #374151;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link.current-menu-item,
.nav-link:hover {
    color: #dc2626;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: block;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    color: #dc2626;
    background-color: #f9fafb;
}

.mobile-nav-link.current-menu-item {
    color: #dc2626;
    background-color: #f9fafb;
}

/* ==========================================================================
   Sponsor Archive Styles
   ========================================================================== */

/* Filter Buttons */
.type-filter {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    color: #4b5563;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.type-filter:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.type-filter.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* View Toggle Buttons */
.view-toggle {
    padding: 0.5rem;
    color: #6b7280;
    transition: color 0.3s;
    background: transparent;
    border: none;
    cursor: pointer;
}

.view-toggle:hover {
    color: #2563eb;
}

.view-toggle.active {
    color: #2563eb;
    background-color: #eff6ff;
    border-radius: 0.25rem;
}

/* Sponsor-specific View Toggle */
.sponsors-container .view-toggle:hover {
    color: #2563eb;
}

.sponsors-container .view-toggle.active {
    color: #2563eb;
    background-color: #eff6ff;
}

/* Sponsor Type Badges */
.sponsor-type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.sponsor-type-badge.type-premium {
    background-color: #eab308;
    color: #ffffff;
}

.sponsor-type-badge.type-standard {
    background-color: #3b82f6;
    color: #ffffff;
}

.sponsor-type-badge.type-media {
    background-color: #a855f7;
    color: #ffffff;
}

/* Line Clamp Utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sponsor Card Animations */
.sponsor-card {
    transition: all 0.3s ease;
}

.sponsor-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* Premium Sponsor Card Effects */
.premium-sponsor-card {
    position: relative;
    overflow: hidden;
}

.premium-sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.premium-sponsor-card:hover::before {
    left: 100%;
}

/* ==========================================================================
   Single Sponsor Styles  
   ========================================================================== */

/* CTA Button Hover Effects */
.sponsor-cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sponsor-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sponsor-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ==========================================================================
   Artist Archive Styles
   ========================================================================== */

/* Stage Filter Pills */
.stage-filter {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-filter.filter-main {
    background-color: #fef3c7;
    color: #92400e;
}

.stage-filter.filter-main:hover,
.stage-filter.filter-main.active {
    background-color: #f59e0b;
    color: #ffffff;
}

.stage-filter.filter-resistance {
    background-color: #ddd6fe;
    color: #5b21b6;
}

.stage-filter.filter-resistance:hover,
.stage-filter.filter-resistance.active {
    background-color: #8b5cf6;
    color: #ffffff;
}

.stage-filter.filter-park {
    background-color: #cffafe;
    color: #155e75;
}

.stage-filter.filter-park:hover,
.stage-filter.filter-park.active {
    background-color: #06b6d4;
    color: #ffffff;
}

/* Artist Card Hover Effects */
.artist-card {
    transition: all 0.3s ease;
    position: relative;
}

.artist-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(220, 38, 38, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.artist-card:hover::after {
    opacity: 1;
}

/* Artist Image Zoom Effect */
.artist-image-container {
    overflow: hidden;
    position: relative;
}

.artist-image-container img {
    transition: transform 0.3s ease;
}

.artist-image-container:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   General Category Styles
   ========================================================================== */

/* Category Header Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #991b1b, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Post Card Hover Effects */
.post-card {
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Read More Link Animation */
.read-more-link {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more-link::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    padding-right: 20px;
}

.read-more-link:hover::after {
    opacity: 1;
    right: 0;
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */

.pagination-item a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-item .current {
    background-color: #dc2626;
    color: #ffffff;
}

.pagination-item a:not(.current):hover {
    background-color: #eff6ff;
    color: #2563eb;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

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

/* Selection Color */
::selection {
    background-color: #dc2626;
    color: #ffffff;
}

::-moz-selection {
    background-color: #dc2626;
    color: #ffffff;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #dc2626;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.skeleton {
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .sponsor-type-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }
    
    .premium-sponsor-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .type-filter {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }
    
    .artist-card::after {
        display: none;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .no-print,
    nav,
    .btn,
    .filter-buttons,
    .view-toggle {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    a {
        text-decoration: underline;
    }
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
  transition: opacity 1s ease-in-out, z-index 0s linear 0.5s;
	  pointer-events: none;
}
.opacity-100 {
  opacity: 1 !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.z-10 {
  z-index: 10 !important;
}

.z-0 {
  z-index: 0 !important;
}
.hero-bg-slide.opacity-100 {
    opacity: 1;
    z-index: 10;
}

.hero-bg-slide.opacity-0 {
    opacity: 0;
    z-index: 0;
}





