/*
Theme Name: Vandeilson Temas CDs
Theme URI: https://vandeilsonmultimarcas.com.br/
Author: Vandeilson
Description: Tema WordPress baseado no catálogo de CDs Vandeilson, com home, busca, categorias, álbuns, player, download e compartilhamento.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vandeilson-temas-cds
*/

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #0b0b0b;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }

        .wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: #050505;
        }

        .app-container {
            width: 100%;
            max-width: 420px;
            height: 100vh;
            max-height: 900px;
            background-color: #121212;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 0 0 30px rgba(0,0,0,0.9);
            overflow: hidden;
        }

        @media (min-width: 481px) {
            .app-container {
                border-radius: 24px;
                border: 4px solid #222;
                height: 850px;
            }
        }

        /* Telas (Home e Detalhes) */
        .screen {
            display: none;
            flex-direction: column;
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background-color: #121212;
            z-index: 1;
        }

        .screen.active {
            display: flex;
        }

        /* --- TELA HOME --- */
        header {
            text-align: center;
            padding: 20px 15px 10px;
            background: linear-gradient(180deg, #1f1a0e 0%, #121212 100%);
            flex-shrink: 0;
        }

        header h1 {
            color: #ff9f0a;
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 1px;
        }

        header h1 span {
            color: #ffffff;
        }

        .scrollable-content {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding-bottom: 90px;
            scrollbar-width: none;
        }

        .scrollable-content::-webkit-scrollbar,
        .detail-scroll::-webkit-scrollbar {
            display: none;
        }

        .search-box {
            position: relative;
            padding: 10px 15px;
        }

        .search-box input {
            width: 100%;
            padding: 12px 15px 12px 40px;
            background-color: #1e1e1e;
            border: 1px solid #2a2a2a;
            border-radius: 30px;
            color: #ffffff;
            font-size: 0.9rem;
            outline: none;
        }

        .search-box i {
            position: absolute;
            left: 28px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
        }

        .categories {
            display: flex;
            gap: 8px;
            padding: 0 15px 15px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .cat-btn {
            background-color: #1e1e1e;
            color: #ccc;
            border: none;
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: 0.3s;
        }

        .cat-btn.active {
            background-color: #ffb703;
            color: #000000;
        }

        .banner-section {
            padding: 0 15px;
            margin-bottom: 20px;
        }

        .banner {
            width: 100%;
            height: 130px;
            background-color: #ffffff;
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #000000;
            font-size: 2rem;
            font-weight: 900;
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
        }

        .section-title {
            padding: 0 15px;
        }

        .section-title h2 {
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #ffffff;
        }

        .section-title h2 i {
            color: #3a86ff;
        }

        .section-subtitle {
            font-size: 0.8rem;
            color: #888;
            margin-top: 2px;
            margin-bottom: 15px;
            padding: 0 15px;
        }

        .cd-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            padding: 0 15px;
        }

        .cd-card {
            background-color: #1a1a1a;
            border-radius: 12px;
            padding: 10px;
            border: 1px solid #262626;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .cd-card:hover {
            border-color: #ffb703;
        }

        .cd-card img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 8px;
        }

        .cd-info h3 {
            font-size: 0.85rem;
            color: #fff;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cd-info p {
            font-size: 0.75rem;
            color: #888;
            margin-bottom: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .btn-ouvir {
            width: 100%;
            background: linear-gradient(90deg, #ff9f0a 0%, #ffb703 100%);
            color: #000;
            border: none;
            padding: 8px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            text-transform: uppercase;
        }

        .footer-contato {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 12px 15px;
            background: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,0.95) 40%, #121212 100%);
            display: flex;
            justify-content: center;
            z-index: 10;
        }

        .btn-whatsapp {
            width: 100%;
            background-color: #181818;
            border: 1px solid #ffb703;
            color: #ffffff;
            padding: 12px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        }

        .btn-whatsapp i {
            color: #25d366;
            font-size: 1.3rem;
        }

        /* --- TELA DE DETALHES DO CD --- */
        .detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: #121212;
            flex-shrink: 0;
        }

        .close-btn, .share-btn {
            background: #1e1e1e;
            border: 1px solid #333;
            color: #fff;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1rem;
        }

        .detail-scroll {
            flex: 1;
            overflow-y: auto;
            padding: 0 20px 30px;
            scrollbar-width: none;
        }

        .album-cover-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .album-cover {
            width: 100%;
            max-height: 280px;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.6);
            border: 2px solid #333;
        }

        .album-meta-box {
            background-color: #191919;
            border: 1px solid #2a2a2a;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
            font-size: 0.85rem;
            line-height: 1.6;
            color: #ccc;
        }

        .album-meta-box span {
            color: #ffb703;
            font-weight: bold;
        }

        .btn-baixar-completo {
            width: 100%;
            background: linear-gradient(180deg, #d32f2f 0%, #900 100%);
            color: #ffffff;
            border: none;
            padding: 14px;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
            margin-bottom: 25px;
            text-transform: uppercase;
            text-decoration: none;
        }

        /* Lista de Músicas Individuais */
        .track-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .track-card {
            background-color: #171717;
            border: 1px solid #262626;
            border-radius: 12px;
            padding: 10px 15px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .track-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .play-btn-circle {
            width: 45px;
            height: 45px;
            background: radial-gradient(circle, #ffb703 0%, #ff9f0a 100%);
            border: 2px solid #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-size: 1.1rem;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(255, 183, 3, 0.4);
            flex-shrink: 0;
        }

        .track-action-btn {
            flex: 1;
            background: linear-gradient(90deg, #d4af37 0%, #aa8c2c 100%);
            color: #000;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 900;
            cursor: pointer;
            text-align: center;
            letter-spacing: 1px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .track-info {
            font-size: 0.8rem;
            color: #aaa;
        }

        .track-progress {
            width: 100%;
            height: 4px;
            background-color: #333;
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }

        .track-progress-bar {
            width: 0%;
            height: 100%;
            background-color: #ffb703;
            transition: width 0.1s linear;
        }

/* WordPress compatibility */
.wp-site-blocks { padding: 0 !important; }
