/**
 * LLUM RECORDS - Estilos principales
 * Future Anonymity
 */

/* --- VARIABLES & RESET --- */
:root {
    --bg: #030303;
    --surface: rgba(20, 20, 20, 0.6);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary: #a855f7;
    --secondary: #ec4899;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --font: 'Manrope', sans-serif;
    --cursor-size: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-smooth: 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NOISE OVERLAY (TEXTURA) --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: url('data:image/svg+xml;utf8,%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)" opacity="1"/%3E%3C/svg%3E');
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
}

body:hover .cursor-outline.hovered {
    width: 80px;
    height: 80px;
    background-color: rgba(168, 85, 247, 0.1);
    border-color: var(--primary);
}

/* --- UTILIDADES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: all var(--transition-normal);
    mix-blend-mode: difference;
}

header.scrolled {
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    mix-blend-mode: normal;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Redes sociales en header */
.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 30px;
}

.header-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s;
}

.header-social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.header-social-link svg {
    width: 14px;
    height: 14px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

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

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 10px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Menú móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 3, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 3, 3, 0.4) 0%, rgba(3, 3, 3, 0.7) 50%, rgba(3, 3, 3, 0.95) 100%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
    animation: pulse 10s infinite alternate;
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.hero-content {
    text-align: center;
    z-index: 3;
}

h1 {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s 0.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    animation: bounce 2s infinite;
    color: white;
}

/* --- MARQUEE (TEXTO INFINITO) --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: var(--surface);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

.marquee-item {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    margin: 0 30px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.marquee-item span {
    color: var(--primary);
    -webkit-text-stroke: 0;
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* --- SECCIONES GENERALES --- */
section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
}

/* --- FILOSOFÍA (BENTO BOX) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}

.bento-item:hover {
    border-color: var(--primary);
}

.bento-large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.bento-text {
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- ARTISTAS (GRID) --- */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px;
}

.artist-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #111;
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
    transition: all var(--transition-smooth);
    transform: scale(1.05);
}

.artist-card:hover .artist-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1);
}

.artist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.artist-card:hover .artist-info {
    transform: translateY(0);
    opacity: 1;
}

.artist-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.artist-genre {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

/* --- LLUM RADIO --- */
.radio-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.radio-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.radio-info {
    max-width: 450px;
}

.radio-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.radio-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 15px;
    margin-bottom: 25px;
}

.radio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.radio-tag {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.radio-player {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-wrapper-large {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 45%; /* Más grande que el normal */
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe,
.video-wrapper-large iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.radio-youtube-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    transition: all 0.3s;
    align-self: flex-start;
}

.radio-youtube-link:hover {
    color: #ff0000;
    border-color: #ff0000;
}

/* --- SPOTIFY SECTION --- */
.spotify-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--surface-border);
}

.spotify-header {
    text-align: center;
    margin-bottom: 25px;
}

.spotify-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.spotify-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spotify-widget-large {
    max-width: 600px;
    margin: 0 auto;
}

/* --- CONTACTO FORMULARIO --- */
.contact-wrapper {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 60px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

input,
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 1px solid var(--surface-border);
    padding: 20px;
    color: white;
    font-family: var(--font);
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 8px 8px 0 0;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--primary);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

select option {
    background: #111;
    color: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: white;
    color: black;
    border: none;
    padding: 20px 40px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 20px;
    border-radius: 50px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: var(--font);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.btn-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-submit.success {
    background: var(--primary);
    color: white;
}

/* Mensaje del formulario */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* --- FOOTER --- */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--surface-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-email {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- ANIMACIONES GENERALES --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-row: span 1;
    }

    .artist-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .radio-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .radio-info {
        max-width: 100%;
        text-align: center;
    }

    .radio-tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .header-social {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    h1 {
        font-size: 12vw;
    }

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

    .marquee-item {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-wrapper {
        padding: 40px 20px;
    }

    .artist-card {
        height: 400px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Desactivar custom cursor en móvil */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    * {
        cursor: auto;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .radio-section {
        padding: 60px 0;
    }

    .radio-content {
        gap: 25px;
    }

    .radio-info {
        max-width: 100%;
    }

    .radio-live-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .radio-section .section-title {
        font-size: 1.8rem;
    }

    .radio-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .radio-tags {
        gap: 8px;
    }

    .radio-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .video-wrapper-large {
        max-width: 100%;
        padding-bottom: 56.25%;
    }

    .radio-youtube-link {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .spotify-section {
        margin-top: 40px;
        padding-top: 35px;
    }

    .spotify-header h3 {
        font-size: 1.1rem;
    }

    .spotify-header p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 14vw;
    }

    .contact-wrapper h2 {
        font-size: 1.8rem !important;
    }

    input,
    textarea,
    select {
        padding: 15px;
        font-size: 0.9rem;
    }

    .btn-submit {
        width: 100%;
        padding: 18px 30px;
    }

    .radio-section {
        padding: 50px 0;
    }

    .radio-live-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
        gap: 6px;
    }

    .live-dot {
        width: 6px;
        height: 6px;
    }

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

    .radio-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .radio-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .radio-youtube-link {
        width: 100%;
        justify-content: center;
    }

    .spotify-section {
        margin-top: 35px;
        padding-top: 30px;
    }

    .spotify-header h3 {
        font-size: 1rem;
    }

    .spotify-widget-large iframe {
        height: 152px;
    }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-content {
        animation: none;
    }

    .hero-glow {
        animation: none;
    }
}
