@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;600;800&family=Playfair+Display:ital,wght@1,400;1,900&display=swap');

:root {
    --bg: #fdfdfb;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-gold: #b58d67;
    --accent-hover: #4b3621;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --nav-height: 70px;
    --card-radius: 32px;
    --font-ui: 'Epilogue', sans-serif;
    --font-serif: "Playfair Display", serif;
    --radius-apple: 32px;
    --transition-apple: cubic-bezier(0.4, 0, 0.25, 1);
    --shadow-premium: 0 30px 60px rgba(0,0,0,0.06);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.premium-gradient-light {
    background: linear-gradient(145deg, #fbfaf8 0%, #f1efe9 100%);
}

.premium-gradient-dark {
    background: linear-gradient(145deg, #1d1d1f 0%, #000000 100%);
}

.card-tag-gold {
    color: var(--accent-gold);
    background: rgba(181, 141, 103, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-starlight);
    color: var(--text-primary);
    font-family: var(--font-ui);
    overflow-x: hidden;
    letter-spacing: -0.015em;
}

/* The Sovereign Sidebar (Depth Gauge) */
.sidebar {
    position: fixed;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40vh;
    width: 1px;
    background: rgba(0,0,0,0.1);
    z-index: 1000;
}

.sidebar-fill {
    width: 2px;
    height: 0%;
    background: var(--text-primary);
    position: absolute;
    top: 0;
    left: -0.5px;
    transition: height 0.1s linear;
}

.sidebar-label {
    position: absolute;
    left: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Navbar: The Float */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 2000;
    background: rgba(249, 248, 243, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
}

.nav-item:hover {
    opacity: 0.6;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    fill: currentColor;
}

/* Sections: The Apple Chapters */
.section {
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1200px;
}

/* Hero: The One */
.hero {
    height: 100vh;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.m-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-img-wrap {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0;
    border-radius: var(--radius-apple);
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.05);
}

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

/* Bento Grid: Modular Storytelling */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: minmax(450px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: white;
    border-radius: var(--radius-apple);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--glass-border);
    transition: transform 0.8s var(--transition-apple), box-shadow 0.8s ease;
}

.bento-card:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.04);
}

.bento-card.large { grid-column: span 8; grid-row: span 2; }
.bento-card.tall { grid-column: span 4; grid-row: span 2; }
.bento-card.wide { grid-column: span 8; }
.bento-card.medium { grid-column: span 6; }
.bento-card.standard { grid-column: span 4; }
.bento-card.square { grid-column: span 4; grid-row: span 1; }
.bento-card.mini { grid-column: span 3; grid-row: span 1; padding: 1.5rem; }

.bento-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 70%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.8s var(--transition-apple);
}

.bento-card:hover .bento-img {
    transform: scale(1.05) translateY(-10px);
}

.card-title {
    font-size: 2.2rem;
    font-weight: 600;
    max-width: 80%;
    z-index: 2;
    line-height: 1.1;
}

.card-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    z-index: 2;
    max-width: 80%;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    z-index: 2;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.album-card {
    text-align: center;
    cursor: pointer;
}

.album-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s var(--transition-apple);
}

.album-card:hover .album-img {
    transform: translateY(-10px) scale(1.02);
}

/* Social & Newsletter */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--text-primary);
    color: #fff;
    transform: translateY(-5px);
}

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

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    border: 1px solid #d2d2d7;
    background: rgba(255,255,255,0.8);
    font-family: var(--font-ui);
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--accent-blue);
}

/* Bio Section: The Narrative */
.bio-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: #d2d2d7; /* Dimmed state */
    max-width: 1000px;
    margin-bottom: 5rem;
}

.bio-text span.active {
    color: var(--text-primary);
}

/* Button: The Pill */
.btn-pill {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--text-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.btn-pill:hover {
    background: #424245;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.platform-icon-btn {
    transition: all 0.4s var(--transition-apple);
    display: inline-block;
}

.platform-icon-btn:hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.btn-music {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s var(--transition-apple);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-music:hover {
    background: #1d1d1f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.btn-music i {
    font-size: 1.2rem;
}

/* Password Modal: The Lock */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 247, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s var(--transition-apple);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    text-align: center;
    max-width: 400px;
}

.modal-input {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    outline: none;
    font-family: var(--font-ui);
}

.pass-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    max-width: 320px;
}

.pass-input {
    flex: 1;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.pass-input:focus {
    border-color: var(--accent-gold);
    background: #fff;
}

.pass-btn {
    background: var(--text-primary);
    color: #fff;
    border: none;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pass-btn:hover {
    background: var(--accent-gold);
    transform: translateX(3px);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake { animation: shake 0.3s ease-in-out; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 1024px) {
    .sidebar { display: none; }
    .nav { padding: 0.5rem 0; }
    .nav-container { 
        width: 100%; 
        padding: 0 1rem; 
        overflow-x: auto; 
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .nav-item { flex-shrink: 0; padding: 0.5rem 0.8rem; }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-card { grid-column: span 1 !important; grid-row: span 1 !important; height: auto; min-height: 450px; padding: 2rem; }
    
    .bento-commercial-expansion {
        flex-direction: column !important;
        padding: 2.5rem !important;
        min-height: auto !important;
    }
    
    .commercial-content {
        flex: none !important;
        width: 100% !important;
        margin-bottom: 2rem;
    }
    
    .commercial-visual {
        flex: none !important;
        width: 100% !important;
        height: 300px;
        margin-top: 1rem;
    }
    
    .commercial-book-wrap {
        width: 180px !important;
        transform: rotate(0) !important;
    }
    
    .card-title {
        font-size: 2rem !important;
    }
}
/* Bento Card Variants & Content */
.bento-card-commercial {
    min-height: 600px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.05);
}

.bento-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    filter: contrast(1.05);
}

.bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
}

.bento-card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    margin-top: auto;
}

.bento-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c9a96e;
    color: #0a0a0f;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.bento-card-title {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.bento-card-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-family: var(--font-serif);
    font-style: italic;
}

.btn-white {
    background: #fff !important;
    color: #0a0a0f !important;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Newsroom Specific */
.bento-card-dark {
    min-height: 400px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 4rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.bento-card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsroom-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(201,169,110,0.3);
    color: #c9a96e;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.news-item-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.news-item-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-item-status {
    color: #c9a96e;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #c9a96e;
    border-radius: 50%;
}

/* Mobile Adjustments for Bento */
@media (max-width: 768px) {
    .bento-card-commercial {
        min-height: 500px;
    }
    
    .bento-card-content,
    .bento-card-dark {
        padding: 2rem;
    }
    
    .bento-card-title {
        font-size: 2rem;
    }
    
    .news-grid {
        gap: 2rem;
    }
    
    .newsroom-tag {
        margin-bottom: 1.5rem;
    }
}    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Legado Section: Songs Grid */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.song-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.song-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.song-cover {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.song-card:hover .song-cover img {
    transform: scale(1.1);
}

.song-info {
    padding: 1.5rem;
}

.song-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.song-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .songs-grid {
        grid-template-columns: 1fr;
    }
}

/* Final Signature Branding */
.signature-logo {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    filter: none;
    transition: transform 0.5s var(--transition-apple), opacity 0.5s ease;
    cursor: pointer;
}

.signature-logo:hover {
    transform: scale(1.01);
    opacity: 1;
}

#bio-scroll-text span {
    transition: color 0.4s ease;
}

/* Bento Commercial Expansion Premium Layout */
.bento-commercial-expansion {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    padding: 3.5rem !important;
    overflow: visible !important;
    min-height: 520px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f9f8f3 100%) !important;
}

.commercial-content {
    flex: 1.3;
    position: relative;
    z-index: 5;
}

.commercial-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.commercial-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(181, 141, 103, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.commercial-book-wrap {
    position: relative;
    width: 130%;
    transform: rotate(4deg) translateY(-10px);
    z-index: 2;
    filter: drop-shadow(30px 50px 80px rgba(0,0,0,0.18));
    transition: transform 0.6s var(--transition-apple);
}

/* Ensure mobile news-grid items stack properly */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    .news-item {
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .news-item:last-child {
        border-bottom: none;
    }
}

/* Fix global overflow and horizontal scrolling */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

* {
    max-width: 100vw;
}
/* Newsroom Professional Spacing */
.bento-card-dark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

/* ─── MOBILE Polish & Responsive Refinements ─── */
@media (max-width: 900px) {
    .sidebar { display: none; }
    .nav-container { padding: 0 0.5rem; }
    .nav-item { padding: 0.5rem 0.25rem; min-width: 60px; }
    .nav-item span { font-size: 0.55rem; letter-spacing: -0.02em; }
    .nav-item svg { width: 18px; height: 18px; }
    
    .section { padding: 4rem 0; }
    
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .bento-card {
        grid-column: span 12 !important;
        min-height: auto !important;
        padding: 2rem 1.2rem !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .card-title {
        font-size: 2.2rem !important;
    }

/* Responsive Refinements */
.merch-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.bento-commercial-expansion {
    grid-column: span 6;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 900px) {
    .merch-content-wrapper {
        flex-direction: column !important;
        padding: 2.5rem 1.5rem !important;
        gap: 3rem !important;
        text-align: center;
    }

    .merch-text {
        width: 100% !important;
        flex: none !important;
    }

    .merch-visual {
        width: 100% !important;
        flex: none !important;
        padding-bottom: 1rem;
    }

    .bento-commercial-expansion {
        grid-column: span 1 !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 2.5rem 1.5rem !important;
    }

    .commercial-content {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 3rem !important;
        text-align: center;
    }

    .commercial-visual {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 0 !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .commercial-book-wrap {
        width: 60% !important;
        max-width: 180px !important;
        transform: rotate(0deg) !important;
    }
    
    .m-title {
        font-size: 2.4rem !important;
    }
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
