/**
 * Sarau Brasilis Core - Design System & UI Styles
 * Derived from Sarau Brasilis Vector Identity
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
	--sarau-gold: #C59B27;
	--sarau-gold-light: #E0BA43;
	--sarau-emerald: #1F7A5C;
	--sarau-emerald-dark: #12543E;
	--sarau-ocean: #2B7A8C;
	--sarau-ocean-light: #3D9BB0;
	--sarau-dark: #0F171E;
	--sarau-dark-card: rgba(23, 33, 43, 0.88);
	--sarau-light-card: #FFFFFF;
	--sarau-text-light: #F4F6F8;
	--sarau-text-muted: #94A3B8;
	--sarau-border-glass: rgba(197, 155, 39, 0.25);
	--sarau-radius-lg: 16px;
	--sarau-radius-md: 12px;
	--sarau-font-heading: 'Outfit', sans-serif;
	--sarau-font-body: 'Plus Jakarta Sans', sans-serif;
	--sarau-shadow-glow: 0 8px 32px rgba(197, 155, 39, 0.18);
}

/* Global Reset & Base */
.sarau-app-container {
	font-family: var(--sarau-font-body);
	background: radial-gradient(circle at top right, #172635, var(--sarau-dark));
	color: var(--sarau-text-light);
	min-height: 100vh;
	padding: 20px 16px;
	box-sizing: border-box;
}

/* Header Component */
.sarau-header {
	text-align: center;
	margin-bottom: 24px;
}

.sarau-header .sarau-logo-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--sarau-border-glass);
	padding: 8px 20px;
	border-radius: 40px;
	backdrop-filter: blur(10px);
}

.sarau-logo-icon {
	width: 28px;
	height: 28px;
}

.sarau-header h1 {
	font-family: var(--sarau-font-heading);
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--sarau-gold-light);
	margin: 12px 0 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.sarau-header p {
	font-size: 0.9rem;
	color: var(--sarau-text-muted);
	margin: 0;
}

/* Glassmorphism Cards */
.sarau-card {
	background: var(--sarau-dark-card);
	border: 1px solid var(--sarau-border-glass);
	border-radius: var(--sarau-radius-lg);
	padding: 24px;
	margin-bottom: 20px;
	backdrop-filter: blur(16px);
	box-shadow: var(--sarau-shadow-glow);
}

/* Touch Friendly Inputs & Buttons */
.sarau-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	background: linear-gradient(135deg, var(--sarau-gold), #A8811A);
	color: #000;
	font-family: var(--sarau-font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	border: none;
	border-radius: var(--sarau-radius-md);
	cursor: pointer;
	transition: all 0.25s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

.sarau-btn:hover, .sarau-btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(197, 155, 39, 0.5);
	background: linear-gradient(135deg, var(--sarau-gold-light), var(--sarau-gold));
}

.sarau-btn:active {
	transform: translateY(0);
}

.sarau-btn-emerald {
	background: linear-gradient(135deg, var(--sarau-emerald), var(--sarau-emerald-dark));
	color: #FFF;
	box-shadow: 0 4px 15px rgba(31, 122, 92, 0.3);
}

.sarau-btn-emerald:hover {
	background: linear-gradient(135deg, #269671, var(--sarau-emerald));
}

/* Star Rating & Score Selector */
.sarau-rating-group {
	margin-bottom: 20px;
}

.sarau-rating-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 8px;
	color: var(--sarau-text-light);
}

.sarau-score-display {
	font-family: var(--sarau-font-heading);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--sarau-gold-light);
	background: rgba(197, 155, 39, 0.15);
	padding: 2px 12px;
	border-radius: 8px;
	border: 1px solid var(--sarau-gold);
}

.sarau-range-slider {
	width: 100%;
	height: 12px;
	border-radius: 6px;
	background: #1A2733;
	outline: none;
	-webkit-appearance: none;
}

.sarau-range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sarau-gold-light);
	border: 3px solid #FFF;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Telão Fullscreen Projection Mode */
.sarau-telao-body {
	background: #080D12;
	color: #FFF;
	margin: 0;
	padding: 0;
	overflow: hidden;
	width: 100vw;
	height: 100vh;
	font-family: var(--sarau-font-heading);
}

.sarau-telao-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;
	padding: 40px 60px;
	box-sizing: border-box;
	background: radial-gradient(circle at center, #11202D 0%, #060A0E 100%);
}

.sarau-telao-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid var(--sarau-border-glass);
	padding-bottom: 20px;
}

.sarau-telao-title {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--sarau-gold-light);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0;
}

.sarau-telao-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin: 40px 0;
}

.sarau-telao-artist-photo {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 24px;
	border: 3px solid var(--sarau-gold);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.sarau-telao-artist-info h2 {
	font-size: 3.5rem;
	font-weight: 800;
	margin: 0 0 12px 0;
	color: #FFF;
}

.sarau-telao-song {
	font-size: 2.2rem;
	color: var(--sarau-ocean-light);
	font-weight: 600;
	margin-bottom: 24px;
}

.sarau-telao-qr-box {
	background: #FFF;
	padding: 16px;
	border-radius: 16px;
	display: inline-block;
	text-align: center;
}

.sarau-telao-qr-box p {
	color: #000;
	font-weight: 700;
	margin: 8px 0 0 0;
	font-size: 0.9rem;
}

/* Presenter MC Dashboard */
.sarau-mc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.sarau-gauge-badge {
	display: inline-block;
	background: var(--sarau-emerald);
	color: #FFF;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 1rem;
}

/* Toast Notifications */
.sarau-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--sarau-emerald);
	color: #FFF;
	font-weight: 700;
	padding: 14px 28px;
	border-radius: 40px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	display: none;
	z-index: 9999;
}
