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

:root {
    --green: #1a7a2b;
    --green-dark: #0f5a1c;
    --green-deep: #0a3e13;
    --green-light: #28a745;
    --bg: #111;
    --bg2: #181818;
    --bg3: #1e1e1e;
    --text: #f0f0f0;
    --text2: #999;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ====== TOPBAR ====== */
.topbar {
    background: var(--green-deep);
    padding: 8px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 11px;
    opacity: 0.5;
}

.share-buttons a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.share-buttons a:hover {
    color: #fff;
}

.topbar-social {
    display: flex;
    gap: 14px;
}

.topbar-social a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.topbar-social a:hover {
    color: #fff;
}

/* ====== HEADER ====== */
.header {
    background: var(--green-dark);
    padding: 0;
    /* 3D: borde inferior grueso simula profundidad extruida */
    box-shadow:
        0 4px 0 var(--green-deep),
        0 8px 0 rgba(0,0,0,0.4),
        0 12px 20px rgba(0,0,0,0.6);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 55px;
    filter: drop-shadow(0 3px 0 rgba(0,0,0,0.5));
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav a:hover {
    color: #fff;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--green-light);
    transition: width 0.2s;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}

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

/* ====== HERO / PLAYER ====== */
.hero {
    background: var(--bg2);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 4px 0 var(--bg3),
        0 8px 30px rgba(0,0,0,0.5);
}

.eq-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex-shrink: 0;
}

.hero-right {
    flex: 1;
}

/* ====== DISCO ====== */
.disc-wrap {
    width: 320px;
    height: 320px;
    position: relative;
}

.disc {
    width: 320px;
    height: 320px;
    background: #1a1a1a;
    position: relative;
    animation: spin 3s linear infinite paused;
    /* 3D extruido: múltiples sombras apiladas simulan grosor */
    box-shadow:
        0 2px 0 #0a0a0a,
        0 4px 0 #080808,
        0 6px 0 #060606,
        0 8px 0 #040404,
        0 10px 0 #020202,
        0 14px 30px rgba(0,0,0,0.8);
    clip-path: circle(50%);
}

.disc.spinning {
    animation-play-state: running;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.disc-grooves {
    position: absolute;
    inset: 12px;
    clip-path: circle(50%);
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 3px,
        rgba(255,255,255,0.02) 3px,
        rgba(255,255,255,0.02) 4px
    );
}

.disc-art {
    position: absolute;
    inset: 70px;
    clip-path: circle(50%);
    overflow: hidden;
}

.disc-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disc-center {
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    clip-path: circle(50%);
    box-shadow:
        0 1px 0 #222,
        0 2px 0 #1a1a1a;
}

/* ====== TRACK INFO ====== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-light);
    margin-bottom: 12px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--green-light);
    display: inline-block;
    animation: blink 1.2s ease-in-out infinite;
    clip-path: circle(50%);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.song-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    /* Texto con sombra 3D extruida */
    text-shadow:
        0 1px 0 rgba(255,255,255,0.05),
        0 2px 0 #0a0a0a,
        0 3px 0 #080808,
        0 4px 8px rgba(0,0,0,0.5);
}

.song-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.song-meta span {
    font-size: 14px;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.song-meta i {
    color: var(--green-light);
}

/* ====== CONTROLES ====== */
.player-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-play {
    width: 70px;
    height: 70px;
    background: var(--green);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
    clip-path: circle(50%);
    /* 3D extruido: capas de sombra sólida */
    box-shadow:
        0 2px 0 var(--green-dark),
        0 4px 0 var(--green-deep),
        0 6px 0 rgba(0,0,0,0.4),
        0 8px 16px rgba(0,0,0,0.5);
    border: none;
}

.btn-play:hover {
    background: var(--green-light);
}

.btn-play:active {
    transform: translateY(4px);
    box-shadow:
        0 1px 0 var(--green-dark),
        0 2px 4px rgba(0,0,0,0.3);
}

.btn-play i {
    position: relative;
    left: 2px;
}

.vol-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text2);
}

.vol-range {
    -webkit-appearance: none;
    appearance: none;
    width: 130px;
    height: 8px;
    background: #2a2a2a;
    outline: none;
    cursor: pointer;
    clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0 70%);
    /* Ranura con profundidad */
    box-shadow:
        inset 0 2px 3px rgba(0,0,0,0.6);
}

.vol-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--green);
    cursor: pointer;
    clip-path: circle(50%);
    box-shadow:
        0 2px 0 var(--green-dark),
        0 4px 6px rgba(0,0,0,0.5);
}

.vol-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--green);
    cursor: pointer;
    clip-path: circle(50%);
    border: none;
}

/* ====== HISTORIAL ====== */
.history-section {
    padding: 60px 0;
    background: var(--bg);
}

.history-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow:
        0 2px 0 #0a0a0a,
        0 4px 8px rgba(0,0,0,0.4);
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background: var(--green);
    margin-right: 14px;
    vertical-align: middle;
    box-shadow:
        2px 0 0 var(--green-dark),
        4px 0 0 var(--green-deep);
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.h-item {
    background: var(--bg2);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.15s;
    /* 3D: sombras apiladas = efecto de bloque elevado */
    box-shadow:
        0 2px 0 #0e0e0e,
        0 4px 0 #0a0a0a,
        0 6px 12px rgba(0,0,0,0.4);
}

.h-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 3px 0 #0e0e0e,
        0 6px 0 #0a0a0a,
        0 10px 20px rgba(0,0,0,0.5);
}

.h-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--green);
    min-width: 36px;
    text-shadow:
        0 2px 0 var(--green-deep);
}

.h-name {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
}

/* ====== BANNER APP ====== */
.app-banner {
    background: var(--bg2);
    padding: 70px 0;
    box-shadow:
        inset 0 4px 0 var(--bg3),
        0 8px 30px rgba(0,0,0,0.4);
}

.app-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-preview {
    flex-shrink: 0;
    position: relative;
}

.app-img {
    width: 280px;
    display: block;
    box-shadow:
        0 4px 0 #0a0a0a,
        0 8px 0 #060606,
        0 12px 0 #030303,
        0 16px 40px rgba(0,0,0,0.7);
}

.app-text {
    flex: 1;
}

.app-title {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow:
        0 2px 0 #0a0a0a,
        0 4px 8px rgba(0,0,0,0.4);
}

.app-desc {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.app-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.app-features li {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-features i {
    color: var(--green-light);
    font-size: 12px;
}

.app-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    transition: transform 0.1s;
    box-shadow:
        0 3px 0 var(--green-dark),
        0 6px 0 var(--green-deep),
        0 9px 0 rgba(0,0,0,0.3),
        0 12px 24px rgba(0,0,0,0.5);
}

.app-download:hover {
    background: var(--green-light);
}

.app-download:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 var(--green-dark);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--green-deep);
    padding: 40px 0 24px;
    text-align: center;
    /* 3D techo hundido */
    box-shadow:
        inset 0 4px 0 rgba(0,0,0,0.3),
        inset 0 8px 20px rgba(0,0,0,0.2);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.5));
}

.footer p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--green-light);
}

.copy {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

.dev-credit {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    margin-top: 4px;
}

.dev-credit a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.dev-credit a:hover {
    color: var(--green-light);
}

/* ====== BANNER OXIRA ====== */
.oxira-banner {
    background: #0a0a0a;
    padding: 14px 0;
    box-shadow:
        inset 0 2px 0 #1a1a1a,
        inset 0 -2px 0 #000;
}

.oxira-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.oxira-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.oxira-brand {
    font-size: 16px;
    font-weight: 900;
    color: var(--green-light);
    letter-spacing: 1px;
    text-shadow: 0 2px 0 var(--green-deep);
}

.oxira-desc {
    font-size: 13px;
    color: var(--text2);
}

.oxira-desc strong {
    color: var(--text);
}

.oxira-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    white-space: nowrap;
    transition: transform 0.1s;
    box-shadow:
        0 2px 0 var(--green-dark),
        0 4px 0 var(--green-deep),
        0 6px 10px rgba(0,0,0,0.4);
}

.oxira-cta:hover {
    background: var(--green-light);
}

.oxira-cta:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--green-dark);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }

    .disc-wrap, .disc {
        width: 240px;
        height: 240px;
    }

    .disc-art {
        inset: 52px;
    }

    .song-title {
        font-size: 24px;
    }

    .song-meta {
        justify-content: center;
    }

    .player-controls {
        justify-content: center;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .header-inner, .topbar-inner, .hero-inner, .history-inner, .footer-inner {
        padding: 0 20px;
    }

    .nav {
        gap: 20px;
    }

    .topbar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .topbar-right {
        gap: 16px;
    }

    .share-buttons {
        display: none;
    }

    .app-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .app-img {
        width: 200px;
    }

    .app-title {
        font-size: 24px;
    }

    .app-features {
        align-items: center;
    }

    .oxira-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .oxira-info {
        justify-content: center;
    }
}
