/* =========================================
   Common Styles (inc/styles.php)
   ========================================= */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-glow {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.2);
}

.neon-text {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.4);
}

.gradient-text {
    background: linear-gradient(135deg, #00D4FF, #FF6B6B, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.hexagon {
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}

.cyber-grid {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 212, 255, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

.hologram-effect {
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: hologram 3s linear infinite;
}

@keyframes hologram {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }

    to {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(255, 107, 107, 0.4);
    }
}

.floating-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.section-padding {
    padding: 6rem 0;
}

/* Modals */
.modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 20px;
}

/* =========================================
   index.php Styles
   ========================================= */
.hero-bg {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(255, 107, 107, 0.1) 50%, rgba(138, 43, 226, 0.15) 100%);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grid\" width=\"10\" height=\"10\" patternUnits=\"userSpaceOnUse\"><path d=\"M 10 0 L 0 0 0 10\" fill=\"none\" stroke=\"rgba(0,212,255,0.1)\" stroke-width=\"0.5\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url(%23grid)\"/></svg>');
    opacity: 0.3;
}

.artist-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.artist-card:hover {
    border-color: #00D4FF;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    transform: translateY(-15px) scale(1.02);
}

.streaming-platform {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.streaming-platform:hover {
    border-color: #00D4FF;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
}

.news-timeline {
    position: relative;
    padding-left: 3rem;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #00D4FF, #FF6B6B, #8A2BE2);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.news-item {
    position: relative;
    margin-bottom: 2rem;
}

/* =========================================
   sites.php Styles
   ========================================= */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    border-color: #00D4FF;
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
}

.platform-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.platform-mini:hover {
    border-color: #00D4FF;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 212, 255, 0.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #00D4FF;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

.timeline-line {
    position: absolute;
    left: 0.375rem;
    top: 1.5rem;
    bottom: -1rem;
    width: 2px;
    background: linear-gradient(to bottom, #00D4FF, rgba(0, 212, 255, 0.3));
}

/* =========================================
   artists.php Styles
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
        url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.text-glow {
    text-shadow: 0 0 10px currentColor;
}

.artist-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.artist-card:hover {
    border-color: #00D4FF;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.filter-tab {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
    background: linear-gradient(135deg, #00D4FF, #FF6B6B);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.sort-dropdown {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(20px);
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.search-container input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-container input:focus {
    border-color: #00D4FF;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.load-more-btn {
    background: linear-gradient(135deg, #00D4FF, #FF6B6B);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.load-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.artist-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sns-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sns-link:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.genre-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.latest-info {
    background: rgba(255, 107, 107, 0.1);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00D4FF;
    border-radius: 50%;
    animation: float 6s infinite linear;
    box-shadow: 0 0 10px #00D4FF;
}

.floating-particles::before {
    left: 20%;
    animation-delay: -2s;
}

.floating-particles::after {
    right: 30%;
    animation-delay: -4s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =========================================
   artist.php Styles
   ========================================= */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hologram-text {
    background: linear-gradient(45deg, #00D4FF, #8B5CF6, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-stat {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.purple-glow {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00D4FF;
    border-radius: 50%;
    animation: particle-float 6s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-3d:hover {
    transform: rotateY(15deg) rotateX(5deg);
}

@keyframes hologram-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.circuit-pattern {
    background-image:
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.tab-active {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    color: #000;
}

.tab-inactive {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.artist-hero-bg {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
}

.music-player {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.progress-bar {
    background: linear-gradient(90deg, #00D4FF 0%, #8B5CF6 100%);
}

/* =========================================
   faq.php Styles
   ========================================= */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding-top: 1.5rem;
}

.search-highlight {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
    padding: 0 4px;
    border-radius: 4px;
}