/* ========================================
   DJ Fresh Fox - Links Landing Page
   Responsive Design with Animated Colors
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --accent: #F77F00;
    --background: #0A0E27;
    --text: #FFFFFF;
    --text-muted: #B8C1CC;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ========== Animated Background ========== */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        var(--background) 0%, 
        #1a1f3a 25%, 
        #0f1629 50%, 
        var(--background) 75%, 
        #0d1229 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Add subtle animated particles effect */
.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 78, 137, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(247, 127, 0, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ========== Container ========== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* ========== Profile Section ========== */
.profile-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.profile-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
    animation: pulse 3s ease-in-out infinite;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary));
    background-size: 300% 300%;
    animation: gradientRotate 4s linear infinite;
    z-index: -1;
}

@keyframes gradientRotate {
    0% { transform: rotate(0deg); background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { transform: rotate(360deg); background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background);
}

.artist-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorShift 3s ease infinite;
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.tagline {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Section Styles ========== */
.section {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    animation: expandWidth 2s ease-in-out infinite;
}

@keyframes expandWidth {
    0%, 100% { width: 60px; }
    50% { width: 80px; }
}

/* ========== Albums Grid ========== */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    justify-items: center;
}

.album-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-card:hover {
    transform: translateY(-10px);
    background: var(--card-hover);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.album-cover-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.album-card:hover .album-cover {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    transform: translateY(0);
}

.album-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.album-year {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.album-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.album-link {
    color: var(--text);
    font-size: 1.3rem;
    transition: var(--transition);
}

.album-link:hover {
    color: var(--accent);
    transform: scale(1.2);
}

/* ========== Social Links ========== */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(247, 127, 0, 0.3);
}

.social-link i {
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-link:hover i {
    color: var(--accent);
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.social-link span {
    font-weight: 500;
    font-size: 1rem;
}

/* ========== Coming Soon Grid ========== */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.coming-soon-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    background-size: 200% 100%;
    animation: slideGradient 3s linear infinite;
}

@keyframes slideGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.coming-soon-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    box-shadow: 0 15px 35px rgba(247, 127, 0, 0.2);
}

.project-cover-wrapper {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.coming-soon-card:hover .project-cover {
    transform: scale(1.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.album-type .card-icon { color: var(--primary); }
.event-type .card-icon { color: var(--accent); }
.product-type .card-icon { color: var(--secondary); }

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-date {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========== Footer ========== */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Responsive Design ========== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .artist-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }

    .profile-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .artist-name {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .album-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
    }

    .social-link {
        padding: 15px 20px;
    }

    .coming-soon-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 2.5rem;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }

    .albums-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== Print Styles ========== */
@media print {
    .background-overlay {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
