/* ============================================
   crytus - Global Styles
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background: #000;
}

h1 {
    text-align: center;
}

/* ============================================
   Background Effects
   ============================================ */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(138, 43, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Particles (index.html) */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #9d4edd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

/* ============================================
   Common Animations
   ============================================ */

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.7));
    }
}

/* ============================================
   Page Title (Subpages)
   ============================================ */

.page-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: lowercase;
    background: linear-gradient(45deg, #00d4ff, #9d4edd, #ff006e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
    animation: glow 3s ease-in-out infinite;
}

/* ============================================
   Index Page Styles
   ============================================ */

.container-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.glitch-wrapper {
    position: relative;
}

.artist-name {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: lowercase;
    background: linear-gradient(45deg, #00d4ff, #9d4edd, #ff006e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    font-weight: 300;
}

.nav-links {
    margin-top: 60px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-button {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.nav-button:hover::before {
    width: 300px;
    height: 300px;
}

.nav-button:hover {
    border-color: rgba(157, 78, 221, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.nav-button span {
    position: relative;
    z-index: 1;
}

.info-section {
    margin-top: 80px;
    text-align: center;
    max-width: 600px;
}

.label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.value {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 300;
    word-break: break-all;
}

.email-link {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #9d4edd);
    transition: width 0.3s ease;
}

.email-link:hover::after {
    width: 100%;
}

/* ============================================
   Info Card (Shared)
   ============================================ */

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(157, 78, 221, 0.5);
}

/* Index page info-card hover effect */
.container-home .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.2);
}

/* ============================================
   Subpage Container
   ============================================ */

.container {
    min-height: 100vh;
    padding: 150px 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Provider page specific */
.container-provider {
    max-width: 900px;
}

.container-provider .page-title {
    font-size: clamp(2rem, 8vw, 4rem);
    text-align: center;
}

/* ============================================
   Provider Page Styles
   ============================================ */

.info-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.info-value {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.info-value:last-child {
    margin-bottom: 0;
}

.info-value a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-value a:hover {
    color: #9d4edd;
}

/* ============================================
   Discography Page Styles
   ============================================ */

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.album-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.album-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(157, 78, 221, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.3);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    position: relative;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-cover .cover-placeholder {
    position: absolute;
    z-index: 1;
}

.album-cover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        );
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.album-cover-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.album-cover-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.album-cover-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.album-cover-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.album-cover-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.album-info {
    padding: 30px;
}

.album-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.album-year {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.album-type {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00d4ff;
}

.tracklist {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.track-number {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 15px;
}

.track-name {
    flex: 1;
}

.track-duration {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 10px;
}

.track-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 4px 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.track-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
}

.album-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-link {
    flex: 1;
    padding: 12px;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.5);
    border-radius: 15px;
    color: #ff006e;
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.video-link:hover {
    background: rgba(255, 0, 110, 0.3);
    border-color: rgba(255, 0, 110, 0.8);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Index page footer */
.container-home .footer {
    padding: 40px 20px;
    width: 100%;
    max-width: 800px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Index page footer links centered */
.container-home .footer-links {
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #00d4ff;
}

.footer-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Index page copyright centered */
.container-home .copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .nav {
        padding: 20px 30px;
    }

    .container {
        padding: 120px 30px 60px;
    }

    .container-home {
        padding: 20px;
    }

    .info-card {
        padding: 30px 20px;
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 20px;
    }
}
