/* ============================
   yesang.xyz - Styles
   Nostalgic Retro Holographic Sang
   ============================ */

/* Color Palette:
   #1a1a2e - Deep base
   #4a90d9 - Primary blue
   #f5f0e8 - Warm off-white
   #e8b84b - Accent gold
   #6c757d - Muted gray
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #f5f0e8;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---- Holographic Effect ---- */
@keyframes holographic-shift {
    0% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(45deg); }
    50% { filter: hue-rotate(90deg); }
    75% { filter: hue-rotate(45deg); }
    100% { filter: hue-rotate(0deg); }
}

.holographic {
    background: linear-gradient(135deg, #4a90d9, #e8b84b, #4a90d9, #e8b84b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographic-gradient 6s ease infinite;
}

@keyframes holographic-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.holographic-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a90d9, #e8b84b, #4a90d9, transparent);
    background-size: 300% 100%;
    animation: holographic-gradient 4s ease infinite;
}

/* ---- Floating Notes ---- */
.floating-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.note {
    position: absolute;
    font-size: 1.5rem;
    color: #4a90d9;
    opacity: 0.12;
    animation: float-note 20s ease-in-out infinite;
}

.note-1 { left: 5%; top: 10%; animation-delay: 0s; animation-duration: 22s; }
.note-2 { left: 15%; top: 60%; animation-delay: -3s; animation-duration: 18s; color: #e8b84b; }
.note-3 { left: 30%; top: 25%; animation-delay: -6s; animation-duration: 25s; }
.note-4 { left: 50%; top: 70%; animation-delay: -9s; animation-duration: 20s; color: #e8b84b; }
.note-5 { left: 65%; top: 15%; animation-delay: -2s; animation-duration: 23s; }
.note-6 { left: 78%; top: 50%; animation-delay: -5s; animation-duration: 19s; color: #e8b84b; }
.note-7 { left: 88%; top: 30%; animation-delay: -8s; animation-duration: 21s; }
.note-8 { left: 42%; top: 85%; animation-delay: -11s; animation-duration: 24s; color: #e8b84b; }

@keyframes float-note {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.08; }
    25% { transform: translateY(-40px) translateX(20px) rotate(10deg); opacity: 0.15; }
    50% { transform: translateY(-20px) translateX(-15px) rotate(-5deg); opacity: 0.1; }
    75% { transform: translateY(-50px) translateX(10px) rotate(8deg); opacity: 0.14; }
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-dot {
    color: #6c757d;
    font-weight: 400;
}

.tagline {
    font-size: 0.7rem;
    color: #6c757d;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e8b84b;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #f5f0e8;
}

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

/* ---- Hero Section ---- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 8rem 3rem 6rem;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero-isometric-icon {
    margin-bottom: 3rem;
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.isometric-vinyl {
    filter: drop-shadow(0 8px 24px rgba(74, 144, 217, 0.15));
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #f5f0e8;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5f0e8;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    margin: 0 auto;
}

/* ---- Catalog Section (Ma space) ---- */
.catalog-section {
    position: relative;
    z-index: 1;
    padding: 8rem 3rem;
}

.catalog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* ---- Music Cards with Hover-Lift ---- */
.music-card {
    position: relative;
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(74, 144, 217, 0.12);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.05), rgba(232, 184, 75, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.card-shimmer {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(74, 144, 217, 0.06) 40%,
        rgba(232, 184, 75, 0.06) 50%,
        transparent 60%
    );
    transition: transform 0.8s ease;
    pointer-events: none;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(74, 144, 217, 0.12), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hover-lift:hover::before {
    opacity: 1;
}

.hover-lift:hover .card-shimmer {
    transform: translateX(50%) translateY(50%);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.isometric-icon {
    filter: drop-shadow(0 4px 12px rgba(74, 144, 217, 0.1));
    transition: filter 0.3s ease;
}

.hover-lift:hover .isometric-icon {
    filter: drop-shadow(0 4px 16px rgba(232, 184, 75, 0.2));
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #f5f0e8;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.card-artist {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
}

.card-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: #e8b84b;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Featured Section ---- */
.featured-section {
    position: relative;
    z-index: 1;
    padding: 8rem 3rem;
}

.featured-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.featured-vinyl-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-vinyl-svg {
    animation: vinyl-spin 20s linear infinite;
    filter: drop-shadow(0 8px 32px rgba(74, 144, 217, 0.15));
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-holographic-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(74, 144, 217, 0.08) 10%,
        transparent 20%,
        rgba(232, 184, 75, 0.06) 30%,
        transparent 40%,
        rgba(74, 144, 217, 0.08) 50%,
        transparent 60%,
        rgba(232, 184, 75, 0.06) 70%,
        transparent 80%,
        rgba(74, 144, 217, 0.08) 90%,
        transparent 100%
    );
    animation: holo-spin 8s linear infinite;
    pointer-events: none;
}

@keyframes holo-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.featured-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.featured-artist {
    font-size: 1rem;
    color: #e8b84b;
    margin-bottom: 1.5rem;
}

.featured-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.featured-tracks {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(108, 117, 125, 0.15);
    transition: background 0.3s ease, padding-left 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(74, 144, 217, 0.05);
    padding-left: 0.5rem;
}

.track-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: #6c757d;
    width: 2.5rem;
    flex-shrink: 0;
}

.track-name {
    flex: 1;
    font-size: 0.9rem;
    color: #f5f0e8;
}

.track-duration {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: #6c757d;
}

/* ---- About Section ---- */
.about-section {
    position: relative;
    z-index: 1;
    padding: 8rem 3rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    color: #f5f0e8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-body {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.8;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.isometric-headphones {
    animation: gentle-float 7s ease-in-out infinite;
    filter: drop-shadow(0 6px 20px rgba(74, 144, 217, 0.12));
}

/* ---- Footer ---- */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 5rem 3rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(74, 144, 217, 0.08);
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-text {
    font-size: 0.8rem;
    color: #6c757d;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.7rem;
    color: rgba(108, 117, 125, 0.5);
}

/* ---- Reveal Animations ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .catalog-section,
    .featured-section,
    .about-section {
        padding: 5rem 1.5rem;
    }
}
