@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    animation: fadeInCanvas 2s ease forwards;
}

@keyframes fadeInCanvas {
    to {
        opacity: 1;
    }
}

@keyframes fadeOutCanvas {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.5;
    }
}


#terminalBackdrop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: #000;
}

#terminalBackdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 2.5rem;
    opacity: 0.35;
}

.terminal-scanlines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 2.5rem, 2.5rem 100%;
    opacity: 0.14;
    pointer-events: none;
}

.terminal-output-wrap {
    position: absolute;
    top: 24px;
    left: 24px;
    width: min(92vw, 760px);
    font-family: 'Consolas', 'Courier New', monospace;
    pointer-events: none;
}

.terminal-output {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(13px, 1.4vw, 17px);
    line-height: 1.65;
    text-shadow: none;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    margin-left: 4px;
    vertical-align: text-bottom;
    background: rgba(255, 255, 255, 0.9);
    animation: cursorBlink 1s steps(2, start) infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

.fade-scale.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-rotate {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-rotate.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-blur {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-blur.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-only {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fade-only.visible {
    opacity: 1;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.9);
    gap: 40px;
}

.nav-brand {
    font-family: 'Franklin Gothic Heavy', 'Segoe UI Black', 'Segoe UI', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: white;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-menu li a:hover {
    color: #ff0080;
}

.nav-cta {
    display: inline-block;
    text-align: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.nav-cta-switch {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-cta-sub {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 600;
    color: #7b7b7b;
    letter-spacing: 0.9px;
    text-transform: lowercase;
    line-height: 1;
}

.nav-cta-main {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: inherit;
    line-height: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Hidden on desktop – only shown inside the mobile hamburger menu */
.nav-cta-menu-item {
    display: none;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    position: relative;
}

.section-title {
    font-family: 'Franklin Gothic Heavy', 'Segoe UI Black', 'Segoe UI', sans-serif;
    font-weight: 900;
    font-size: 56px;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Intro section mirrors the about layout */
.intro-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.intro-image-wrap {
    flex-shrink: 0;
}

.intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text {
    flex: 1;
}

@media (max-width: 820px) {
    .intro-container {
        flex-direction: column;
        gap: 30px;
    }

    .intro-image-wrap {
        width: min(100%, 400px);
        height: auto;
    }
}

/* Releases Section */
.release-section {
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
}

.release-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.release-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background: rgba(50, 50, 50, 0.5);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.release-card:hover {
    transform: translateY(-5px);
    background: rgba(50, 50, 50, 0.6);
}

.release-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.release-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.release-text h3 {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}

.release-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #e0e0e0;
}

.release-date {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.about-row-1 {
    flex-direction: row-reverse;
}

.about-row-2 {
    flex-direction: row;
}

.about-image-block {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.about-text-block p {
    font-size: 22px;
    line-height: 1.8;
    color: #e0e0e0;
}



/* Catalog Section */
.catalog-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.music-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.music-card:hover {
    transform: translateY(-5px);
    background: rgba(50, 50, 50, 0.9);
}

.music-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.music-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-card:hover .music-card-image img {
    transform: scale(1.03);
}

.music-card-info {
    padding: 20px;
    text-align: center;
}

.music-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.music-card-info p {
    font-size: 16px;
    color: #aaa;
    margin: 0;
}

/* Music Modal */
.music-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.music-modal.active {
    opacity: 1;
    visibility: visible;
}

.music-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.music-modal.active .music-modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.modal-album-art {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.modal-track-info {
    text-align: left;
}

.modal-track-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.modal-track-info p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.platform-link i {
    font-size: 28px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.platform-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.platform-link.spotify {
    background: linear-gradient(135deg, #1db954, #169c46);
}

.platform-link.apple-music {
    background: linear-gradient(135deg, #fc3c44, #d93036);
}

.platform-link.amazon-music {
    background: linear-gradient(135deg, #00a8e1, #0088b5);
}

/* Gallery Section */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


/* Footer */
.footer {
    background: transparent;
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 0;
}

.footer p {
    margin: 0;
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    opacity: 1;
    transition: opacity 1s ease;
}

.intro-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-title {
    font-family: 'Franklin Gothic Heavy', 'Segoe UI Black', 'Segoe UI', sans-serif;
    font-weight: 900;
    font-size: 84px;
    color: white;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInTitle 2s ease forwards;
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Main Wrapper */
.main-wrapper {
    opacity: 0;
    transition: opacity 1s ease;
}

.main-wrapper.fade-in {
    opacity: 1;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-brand {
        font-size: 22px;
    }

    /* Hide the switch button from the top navbar on mobile */
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.97);
        padding: 90px 30px 40px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.7);
        align-items: flex-start;
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu li:last-of-type {
        border-bottom: none;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu li a {
        font-size: 20px;
        font-weight: 300;
        display: block;
        padding: 18px 0;
    }

    /* Switch button inside the slide menu */
    .nav-menu .nav-cta-menu-item {
        display: flex !important;
        justify-content: center;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease 0.4s;
        width: 100%;
        padding: 24px 0 8px;
        border-bottom: none !important;
    }

    .nav-menu.active .nav-cta-menu-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-cta-inline {
        display: inline-block !important;
        text-align: center;
        padding: 16px 40px;
        min-width: 180px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.95);
        color: #000;
        text-decoration: none;
        transition: transform 0.3s ease, background 0.3s ease;
        line-height: 1;
        white-space: nowrap;
    }

    .nav-cta-inline:hover {
        background: #fff;
        transform: translateY(-2px);
    }

    .nav-cta-inline .nav-cta-sub {
        display: block;
        margin-bottom: 3px;
        font-size: 11px;
        font-weight: 600;
        color: #7b7b7b;
        letter-spacing: 0.9px;
        text-transform: lowercase;
        line-height: 1;
    }

    .nav-cta-inline .nav-cta-main {
        display: block;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #000;
        line-height: 1;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .intro-title {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .content {
        padding: 15px;
        padding-top: 80px;
        gap: 20px;
    }

    .section {
        min-height: auto;
        padding: 60px 20px;
        border-radius: 20px;
    }

    .section-title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    /* Releases Section Mobile */
    .release-card {
        flex-direction: column;
        padding: 20px;
    }

    .release-image {
        width: 100%;
        height: 260px;
    }

    .release-text h3 {
        font-size: 28px;
    }

    .release-text p {
        font-size: 18px;
    }

    /* About Section Mobile */
    .about-container {
        gap: 50px;
    }

    .about-row {
        flex-direction: column;
        gap: 25px;
    }

    .about-image-block {
        width: 100%;
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-text-block p {
        font-size: 18px;
    }

    /* Contact Form Mobile */
    .contact-container {
        max-width: 100%;
    }

    .submit-btn {
        font-size: 16px;
        padding: 15px 30px;
    }

    /* Catalog Section Mobile */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .music-card-info {
        padding: 15px;
    }

    .music-card-info h3 {
        font-size: 16px;
    }

    .music-card-info p {
        font-size: 14px;
    }

    /* Modal Mobile */
    .music-modal-content {
        padding: 25px;
        max-width: 95%;
    }

    .modal-header {
        flex-direction: row;
        justify-content: flex-start;
    }

    .modal-album-art {
        width: 80px;
        height: 80px;
    }

    .modal-track-info {
        text-align: left;
    }

    .modal-track-info h2 {
        font-size: 18px;
    }

    .platform-link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .platform-link i {
        font-size: 24px;
        width: 24px;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 30px;
    }

    .release-text h3 {
        font-size: 24px;
    }

    .release-text p {
        font-size: 16px;
    }

    .about-text-block {
        padding: 20px;
    }

    .about-text-block p {
        font-size: 16px;
    }

    .about-image-block {
        height: 300px;
    }

    /* Catalog 480px */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .music-card-info {
        padding: 12px;
    }

    .music-card-info h3 {
        font-size: 14px;
    }

    .music-card-info p {
        font-size: 13px;
    }
}

/* Developer Font Utility (used in index.html) */
.dev-font {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    text-transform: none !important;
}

/* Music Font Utility (used in pedromf3.html) */
.musik-font {
    font-family: 'Franklin Gothic Heavy', 'Segoe UI Black', 'Segoe UI', sans-serif;
    font-weight: 900;
    text-transform: uppercase !important;
}