/*
Theme Name: Label Music Inc. Theme
Theme URI: https://labelmusicinc.com
Author: Gravity Inc.
Author URI: https://gravityinc.com
Description: Tema personalizado estilo App / Spotify para Label Music Inc. con diseño Dark Glassmorphism, tipografía Gotham, notificaciones Push, métricas en tiempo real y reproductor continuo. Hecho con <3 por Gravity Inc.
Version: 1.0.0
Text Domain: lmi-theme
*/

@import url('https://cdn.jsdelivr.net/npm/gotham-fonts@1.0.3/css/gotham.min.css');

:root {
    --font-gotham: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-main: #0a0a0a;
    --bg-card: #131b3d;
    --bg-card-hover: #1e295d;
    --accent-neon: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
}

* {
    box-sizing: border-box;
    font-family: var(--font-gotham) !important;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header Sticky & Glassmorphism */
.lmi-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lmi-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.lmi-equalizer-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
}

.lmi-bar {
    width: 4px;
    background: #ffffff;
    border-radius: 4px;
    animation: lmiEqualize 1.4s infinite ease-in-out;
}

.lmi-bar:nth-child(1)  { height: 6px;  animation-delay: 0.1s; }
.lmi-bar:nth-child(2)  { height: 14px; animation-delay: 0.3s; }
.lmi-bar:nth-child(3)  { height: 10px; animation-delay: 0.2s; }
.lmi-bar:nth-child(4)  { height: 22px; animation-delay: 0.4s; }
.lmi-bar:nth-child(5)  { height: 30px; animation-delay: 0.1s; }
.lmi-bar:nth-child(6)  { height: 26px; animation-delay: 0.5s; }
.lmi-bar:nth-child(7)  { height: 18px; animation-delay: 0.2s; }
.lmi-bar:nth-child(8)  { height: 24px; animation-delay: 0.6s; }
.lmi-bar:nth-child(9)  { height: 20px; animation-delay: 0.3s; }
.lmi-bar:nth-child(10) { height: 28px; animation-delay: 0.1s; }
.lmi-bar:nth-child(11) { height: 32px; animation-delay: 0.4s; }
.lmi-bar:nth-child(12) { height: 16px; animation-delay: 0.2s; }
.lmi-bar:nth-child(13) { height: 12px; animation-delay: 0.5s; }
.lmi-bar:nth-child(14) { height: 8px;  animation-delay: 0.3s; }

@keyframes lmiEqualize {
    0%, 100% { transform: scaleY(0.4); opacity: 0.8; }
    50%      { transform: scaleY(1.1); opacity: 1; filter: drop-shadow(0 0 6px var(--accent-glow)); }
}

.lmi-logo-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-top: 4px;
    text-transform: uppercase;
}

.lmi-search-container {
    position: relative;
    width: 280px;
}

.lmi-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: 0.3s;
}

.lmi-search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-neon);
    box-shadow: 0 0 12px var(--accent-glow);
}

.lmi-nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lmi-nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}

.lmi-nav-menu a:hover, .lmi-nav-menu a.active {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.lmi-auth-btn {
    background: var(--accent-neon);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.lmi-auth-btn:hover {
    background: #4f46e5;
    box-shadow: 0 0 12px var(--accent-glow);
}

.lmi-app-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}

.lmi-main-content {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 400px);
    padding: 30px;
}

/* Tarjetas y Feed Principal */
.lmi-hero-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(19, 27, 61, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.lmi-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.lmi-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px;
    transition: transform 0.2s, background 0.2s;
    position: relative;
    cursor: pointer;
}

.lmi-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.lmi-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.lmi-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lmi-card-play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-neon);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.lmi-card:hover .lmi-card-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.lmi-card-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lmi-card-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.lmi-card-metrics {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.lmi-metric-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 12px;
}

/* Footer & Firma */
.lmi-footer {
    padding: 20px 30px 100px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 12px;
    background: #070707;
}

.lmi-footer-credits span {
    color: #ef4444;
}