/* 
  MVINGO ARTIST PORTFOLIO
  DESIGN SYSTEM: BLACK & RED PREMIUM
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&family=Outfit:wght@300;500;800&display=swap');

:root {
    --bg-color: #050505;
    --accent-color: #ff0033;
    --accent-glow: rgba(255, 0, 51, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --card-bg: #111111;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --noise-opacity: 0.05;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: url('img/bg-texture.png');
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, .artist-name {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8), transparent);
    backdrop-filter: blur(10px);
}

.artist-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.artist-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.artist-name:hover {
    color: var(--accent-color);
    font-style: italic;
    transform: translateX(-10px);
}

.artist-name:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 51, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 0.9;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    transition-delay: 0.2s;
}

.hero.active h1, .hero.active p {
    opacity: 1;
    transform: translateY(0);
}

/* Discography Section */
.discography {
    padding: 8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    padding-left: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-smooth);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 2rem;
    width: 150px;
    height: 12px;
    background: var(--accent-color);
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    opacity: 0.6;
    transform: skewX(-15deg);
    z-index: -1;
}

.section-title.reveal {
    opacity: 1;
    transform: translateX(0);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.album-card {
    background-color: transparent;
    border-radius: 4px;
    height: 100%;
    min-height: 350px;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.album-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

.card-front {
    background-color: var(--card-bg);
}

.card-back {
    background-color: #0c0c0c;
    background-image: radial-gradient(circle at center, #1a0004 0%, #050505 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border: 1px solid #330009;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.platform-icon svg, .platform-icon img {
    width: 32px;
    height: 32px;
    fill: var(--text-secondary);
    transition: var(--transition-smooth);
}

.platform-icon:hover svg, .platform-icon:hover img {
    fill: var(--accent-color);
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.platform-label {
    font-size: 0.6rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.platform-icon:hover .platform-label {
    color: var(--accent-color);
}

.album-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.album-card:hover:not(.flipped) {
    transform: translateY(-15px);
}

.album-card.flipped {
    z-index: 10;
}

.album-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.album-card:hover .album-img {
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.2);
}

.album-info {
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.album-card:hover .album-info {
    transform: translateY(0);
}

.album-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.album-meta {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Footer & Socials */
footer {
    padding: 6rem 4rem;
    background-color: #000;
    border-top: 1px solid #222;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.social-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
    border-color: #222;
}

.footer-copy {
    color: #444;
    font-size: 0.9rem;
}

/* Animations */
/* ============================================ */
/* UNRELEASED SECTION                           */
/* ============================================ */
.unreleased-section {
    padding: 8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.unreleased-card {
    display: flex;
    align-items: stretch;
    gap: 5rem;
    background: linear-gradient(135deg, #0d0000 0%, #1a0004 50%, #0a0000 100%);
    border: 1px solid #2a0008;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.unreleased-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.unreleased-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Image Side */
.unreleased-img-wrapper {
    flex: 0 0 480px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.unreleased-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) brightness(0.4) grayscale(0.3);
    transform: scale(1.1);
    transition: filter 0.5s ease;
}

.unreleased-card:hover .unreleased-img {
    filter: blur(12px) brightness(0.3) grayscale(0.4);
}

.unreleased-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.lock-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,0,51,0.15);
    border: 1px solid rgba(255,0,51,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-lock 2s ease-in-out infinite;
}

.lock-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

@keyframes pulse-lock {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 0, 51, 0); }
}

.unreleased-teaser {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* Info Side */
.unreleased-info {
    flex: 1;
    padding: 4rem 4rem 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.unreleased-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 0 20px var(--accent-glow);
}

.unreleased-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.unreleased-artist {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.unreleased-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
    border-left: 2px solid var(--accent-color);
    padding-left: 1.5rem;
}

.unreleased-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.btn-request-access {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-request-access:hover {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 0 40px rgba(255,255,255,0.2);
}

.btn-request-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    width: fit-content;
}

/* ============================================ */
/* PAYWALL MODAL                                */
/* ============================================ */
.paywall-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.paywall-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #0d0000;
    border: 1px solid #330009;
    border-top: 3px solid var(--accent-color);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.paywall-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 1px solid #333;
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    line-height: 1;
}

.modal-close:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-lock {
    width: 50px;
    height: 50px;
    background: rgba(255,0,51,0.1);
    border: 1px solid rgba(255,0,51,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-lock svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #0a0000;
    border: 1px solid #2a0008;
    color: var(--text-primary);
    padding: 0.9rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255,0,51,0.1);
}

.btn-submit-access {
    width: 100%;
    padding: 1.1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-submit-access:hover {
    background: white;
    color: var(--accent-color);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 60px;
    height: 60px;
    color: var(--accent-color);
    margin: 0 auto 1.5rem;
    display: block;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.form-success p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Mobile Responsive - Unreleased */
@media (max-width: 992px) {
    .unreleased-section {
        padding: 4rem 2rem;
    }
    .unreleased-card {
        flex-direction: column;
        gap: 0;
    }
    .unreleased-img-wrapper {
        flex: 0 0 380px;
        height: 380px;
    }
    .unreleased-info {
        padding: 3rem 2rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
}



/* ============================================ */
/* ORIGINAL ANIMATIONS                          */
/* ============================================ */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.accent-line {
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 2rem auto;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Latest Release Section */
.latest-release {
    padding: 10rem 4rem;
    background: linear-gradient(rgba(5,5,5,1), rgba(15,0,0,0.8), rgba(5,5,5,1));
    display: flex;
    align-items: center;
    gap: 6rem;
    min-height: 80vh;
    overflow: hidden;
}

.latest-content {
    flex: 1;
    opacity: 0;
    transform: translateX(-100px);
    transition: var(--transition-smooth);
}

.latest-content.reveal {
    opacity: 1;
    transform: translateX(0);
}

.latest-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px var(--accent-glow);
}

.latest-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.latest-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 30px var(--accent-glow);
}

.latest-visual {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
    /* Torn Paper Effect */
    clip-path: polygon(1% 4%, 18% 2%, 35% 5%, 48% 1%, 63% 6%, 79% 2%, 94% 6%, 99% 4%, 97% 20%, 100% 36%, 96% 52%, 99% 68%, 95% 83%, 100% 98%, 84% 95%, 68% 99%, 53% 95%, 38% 100%, 23% 96%, 7% 99%, 1% 95%, 5% 79%, 0% 64%, 4% 49%, 1% 34%, 5% 19%);
}

.latest-visual.reveal {
    opacity: 1;
    transform: scale(1);
}

.latest-visual img {
    width: 100%;
    filter: sepia(0.2) contrast(1.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.latest-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    z-index: -1;
    transition: var(--transition-smooth);
}

.latest-visual:hover::before {
    top: 10px;
    right: 10px;
    background-color: rgba(255, 0, 51, 0.05);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .latest-release {
        flex-direction: column-reverse;
        text-align: center;
        padding: 6rem 2rem;
    }
    .latest-content {
        transform: translateY(50px);
    }
    .latest-desc {
        margin: 0 auto 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }
    .discography {
        padding: 4rem 2rem;
    }
    .album-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 5rem;
    }
}
