:root {
    --primary-gradient: linear-gradient(135deg, #f4811f 0%, #eb4e24 100%);
    --bg-gradient: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    --accent-color: #f4811f;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: #000;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    display: flex;
    flex-direction: column;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('drawable-hdpi/fondo_player.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.svg-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.social-link img:hover {
    transform: scale(1.1);
}

.view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.view:not(.active) {
    display: none;
    opacity: 0;
}

/* Player View */
.logo-container {
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(244, 129, 31, 0.5));
    animation: pulse 3s infinite ease-in-out;
}

.equalizer-container {
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#visualizer {
    width: 100%;
    height: 100%;
}

.metadata {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    padding: 0 20px;
}

.metadata h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metadata p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.control-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn.main {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border: none;
}

.control-btn.main img {
    width: 40px;
    height: 40px;
}

.control-btn.mini {
    width: 50px;
    height: 50px;
}

.control-btn.mini img {
    width: 24px;
    height: 24px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    color: #333;
    z-index: 100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.menu-logo {
    width: 150px;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-items li:hover {
    background: #f5f5f5;
}

.menu-items li.active {
    color: var(--accent-color);
    background: #fff5ed;
    border-right: 4px solid var(--accent-color);
}

.svg-icon-menu {
    width: 22px;
    height: 22px;
}

/* Content Views */
.content-view {
    background: var(--bg-gradient);
    justify-content: flex-start;
    overflow-y: auto;
}

.content-body {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.content-logo {
    width: 120px;
    display: block;
    margin: 0 auto 20px;
}

/* Content Headers */
.view-header {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.view-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Schedule Hero */
.schedule-hero {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-img-container {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: auto;
}

.hero-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
}

.hero-info .time {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.hero-info .presenter {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Day Selector */
.day-selector {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 25px;
    scrollbar-width: none;
}

.day-selector::-webkit-scrollbar {
    display: none;
}

.day-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.day-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Schedule List */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.main-item {
    background: rgba(42, 82, 152, 0.4);
    border: 2px solid var(--accent-color);
}

.item-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.item-img-small {
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.item-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.item-info p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.item-info span {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* App Info */
.text-center {
    text-align: center;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-outline {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--text-color);
    color: var(--accent-color);
}