/* --- CSS VARIABLES --- */
:root {
	--primary: #E50914; 
	--primary-dark: #b2070f;
	--bg-body: #0a0a0a;
	--bg-surface: #141414;
	--bg-surface-hover: #1f1f1f;
	--glass: rgba(15, 15, 15, 0.95);
	--border-light: rgba(255, 255, 255, 0.08);
	--text-main: #ffffff;
	--text-muted: #a1a1a1;
	
	--nav-height-desktop: 80px;
	--nav-height-mobile: 65px;
	--border-radius: 12px;
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	
	--spacing-container: 5%;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-body);
	color: var(--text-main);
	overflow-x: hidden;
	padding-bottom: 100px; /* Espaço extra para player mobile */
	-webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
h2 { font-size: 1.5rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
h2::before { content: ''; display: block; width: 6px; height: 24px; background: var(--primary); border-radius: 2px; }

.text-primary { color: var(--primary); }
.text-small { font-size: 0.85rem; color: var(--text-muted); }

/* --- LAYOUT UTILS --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--spacing-container); }
.section { padding: 50px 0; }
.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- HEADER & NAV --- */
.glass-header {
	position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height-desktop);
	background: var(--glass); backdrop-filter: blur(16px);
	z-index: 1000; display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--spacing-container); border-bottom: 1px solid var(--border-light);
}

.logo {
	font-size: 1.8rem; font-weight: 800;
	background: linear-gradient(45deg, var(--primary), #ff4d4d);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	letter-spacing: -1px;
}

.desktop-nav ul { display: flex; gap: 20px; }
.desktop-nav a {
	font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
	transition: var(--transition); position: relative; text-transform: uppercase; letter-spacing: 0.5px;
}
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.desktop-nav a.active::after {
	content: ''; position: absolute; bottom: -5px; left: 0; width: 100%;
	height: 2px; background: var(--primary); box-shadow: 0 0 10px var(--primary);
}

.btn-live {
	background: var(--primary); color: white; padding: 10px 24px; border-radius: 50px;
	font-weight: 700; font-size: 0.8rem; letter-spacing: 0.5px;
	transition: var(--transition); box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}
.btn-live:hover { transform: translateY(-2px); background: #f00f1a; }

.btn-filter {
	background: #2a2a2a; color: #ccc; padding: 8px 16px; border-radius: 20px; 
	font-size: 0.85rem; font-weight: 600; white-space: nowrap; transition: var(--transition);
}
.btn-filter.active, .btn-filter:hover { background: var(--primary); color: white; }

/* --- MOBILE NAV --- */
.mobile-nav {
	display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: var(--nav-height-mobile);
	background: rgba(15, 15, 15, 0.98); backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255,255,255,0.1); z-index: 1000;
	justify-content: space-around; align-items: center;
}
.mobile-nav-item {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-size: 0.6rem; color: #666; width: 16%; transition: var(--transition);
}
.mobile-nav-item.active { color: white; transform: translateY(-2px); }
.mobile-nav-item svg { width: 22px; height: 22px; fill: currentColor; margin-bottom: 4px; }
.mobile-nav-item.active svg { fill: var(--primary); filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.5)); }

/* --- HERO HOME (NEW) --- */
.hero-portal {
	margin-top: var(--nav-height-desktop); padding: 40px var(--spacing-container);
	background: radial-gradient(circle at top right, rgba(229,9,20,0.1), transparent 60%);
	display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
	min-height: 70vh;
}
.hero-text h1 { font-size: 3rem; margin-bottom: 15px; line-height: 1.1; }
.hero-text p { font-size: 1.1rem; color: #ccc; margin-bottom: 30px; }
.hero-player-wrapper {
	position: relative; border-radius: 16px; overflow: hidden;
	box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid var(--border-light);
}
.live-badge {
	position: absolute; top: 15px; left: 15px; background: rgba(229,9,20,0.9);
	color: white; padding: 5px 12px; border-radius: 4px; font-weight: 800; font-size: 0.8rem;
	z-index: 10; display: flex; align-items: center; gap: 6px;
}
.live-badge::before { content:''; display:block; width:8px; height:8px; background:white; border-radius:50%; animation: pulse 1s infinite; }

/* --- CARDS & GRID --- */
.grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.card {
	background: var(--bg-surface); border-radius: var(--border-radius); overflow: hidden;
	transition: var(--transition); border: 1px solid var(--border-light); position: relative; cursor: pointer;
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.card-img-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: white; line-height: 1.3; }

/* --- PARTNERS ROW --- */
.scroll-row {
	display: flex; overflow-x: auto; gap: 16px; padding-bottom: 15px;
	scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.sponsor-card {
	background: white; border-radius: 12px; height: 90px; padding: 10px;
	display: flex; align-items: center; justify-content: center;
	transition: var(--transition); filter: grayscale(100%); cursor: pointer; min-width: 140px;
	border: 2px solid transparent;
}
.sponsor-card:hover { filter: grayscale(0%); transform: scale(1.05); border-color: var(--primary); }
.sponsor-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- COMPONENTS --- */
.boxPlayerTV {
	position: relative; width: 100%; background: #000;
	overflow: hidden; aspect-ratio: 16/9;
}
.boxPlayerTV iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Podcast Card */
.pod-card { display: flex; gap: 15px; align-items: center; background: var(--bg-surface); padding: 15px; border-radius: 12px; border: 1px solid var(--border-light); margin-bottom: 15px; cursor: pointer; transition: var(--transition); }
.pod-card:hover { background: var(--bg-surface-hover); border-color: var(--primary); }
.pod-thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }

/* --- MODAL --- */
.modal-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0,0,0,0.9); backdrop-filter: blur(8px);
	z-index: 2000; display: flex; justify-content: center; align-items: center;
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
	background: #121212; border: 1px solid var(--border-light);
	width: 100%; height: 100%; overflow-y: auto;
	transform: translateY(50px); transition: transform 0.3s ease;
}
@media(min-width: 768px) { .modal-content { width: 90%; max-width: 750px; height: 90%; border-radius: 20px; box-shadow: 0 50px 100px black; } }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
	position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
	background: rgba(0,0,0,0.6); border-radius: 50%; color: white;
	display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10;
}

/* Modal Partner Specifics */
.btn-social {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
	color: white; transition: transform 0.2s; flex: 1; text-align: center;
}
.btn-social:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-whatsapp { background: #25D366; }
.btn-insta { background: #E1306C; }
.btn-maps { background: #4285F4; }

/* --- RADIO PLAYER FIXED --- */
.radio-mini-player {
	position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
	width: 90%; max-width: 500px; background: rgba(20, 20, 20, 0.95);
	backdrop-filter: blur(20px); border: 1px solid var(--border-light);
	border-radius: 50px; padding: 10px 20px; display: flex;
	align-items: center; justify-content: space-between; z-index: 900;
	box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.radio-progress-bar {
	position: absolute; bottom: 0; left: 0; height: 2px;
	background: var(--primary); width: 0%; border-radius: 0 0 0 16px; transition: width 0.2s linear;
}
@media (max-width: 768px) {
	.hero-portal { grid-template-columns: 1fr; margin-top: 0; padding-top: 80px; text-align: center; gap: 20px; }
	.hero-player-wrapper { order: -1; aspect-ratio: 16/9; }
	.desktop-header { display: none; }
	.mobile-nav { display: flex; }
	.radio-mini-player { bottom: 75px; width: 95%; }
	.container { padding: 0 20px; }
}

@media (min-width: 769px) { 
    .mobile-top-bar { display: none !important; } 
}