:root {
	--mkt-primary: #DA1F25;
	--mkt-primary-dark: #B01A1F;
	--mkt-primary-light: #E84A50;
	--mkt-primary-lighter: #F5A5A9;
	--mkt-primary-bg: #FFF5F5;
	--mkt-gray-50: #FAFAFA;
	--mkt-gray-100: #F5F5F5;
	--mkt-gray-200: #EEEEEE;
	--mkt-gray-300: #E0E0E0;
	--mkt-gray-400: #BDBDBD;
	--mkt-gray-500: #9E9E9E;
	--mkt-gray-600: #757575;
	--mkt-gray-700: #616161;
	--mkt-gray-800: #424242;
	--mkt-gray-900: #212121;
	--mkt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
	--mkt-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
	--mkt-shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
	--mkt-shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
	--mkt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--mkt-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	--primary: #DA1F25;
}

* {
	box-sizing: border-box;
}

.mkt-campanha-voting-page {
	width: 100%;
	margin: 0 auto;
	padding: 60px 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: linear-gradient(to bottom, var(--mkt-gray-50) 0%, #ffffff 100%);
	min-height: 100vh;
}

.mkt-campanha-header {
	text-align: center;
	margin-bottom: 40px;
	animation: fadeInDown 0.6s ease-out;
}

.mkt-campanha-voting-info {
	text-align: center;
	margin-bottom: 40px;
	padding: 16px 24px;
	background: var(--mkt-primary-bg);
	border-left: 4px solid var(--mkt-primary);
	border-radius: 8px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	animation: fadeIn 0.4s ease-out;
}

.mkt-campanha-voting-info p {
	margin: 0;
	color: var(--mkt-gray-700);
	font-size: 14px;
}

.marketeer-icon-wrapper {
	--size: 30px;
	position: relative;
	width: var(--size);
	height: var(--size);
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	margin: 0 auto 20px;
}

.marketeer-icon-wrapper .red-square {
	width: 100%;
	height: 100%;
	background-color: var(--primary);
}

.marketeer-icon-wrapper .white-square {
	position: absolute;
	width: calc(var(--size) * 0.7071);
	height: calc(var(--size) * 0.7071);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -125%) rotate(45deg);
	background-color: #ffffff;
	z-index: 5;
}

.mkt-campanha-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--mkt-gray-900);
	letter-spacing: -0.02em;
	line-height: 1.2;
	border-bottom: 3px solid #DA1F25;
	padding-bottom: 8px;
	display: inline-block;
}

.mkt-campanha-intro {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--mkt-gray-600);
	max-width: 700px;
	margin: 0 auto;
}

.mkt-campanha-message {
	padding: 24px 28px;
	margin: 24px auto;
	border-radius: 12px;
	text-align: center;
	max-width: 800px;
	font-size: 1.1rem;
	animation: fadeIn 0.4s ease-out;
	box-shadow: var(--mkt-shadow-sm);
}

.mkt-campanha-message-info {
	background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
	border-left: 4px solid #2196F3;
	color: #1565C0;
}

.mkt-campanha-message-warning {
	background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
	border-left: 4px solid #FF9800;
	color: #E65100;
}

.mkt-campanha-message-success {
	background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
	border-left: 4px solid #4CAF50;
	color: #2E7D32;
	font-size: 1.5rem;
}

.mkt-campanha-message-success p {
	font-size: 1.5rem;
}

.mkt-campanha-home-btn {
	background: var(--mkt-primary);
	color: white;
	border: none;
	padding: 16px 48px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--mkt-transition);
	box-shadow: 0 4px 12px rgba(218, 31, 37, 0.3);
	text-decoration: none;
	display: inline-block;
	margin-top: 24px;
}

.mkt-campanha-home-btn:hover {
	background: var(--mkt-primary-dark);
	box-shadow: 0 6px 20px rgba(218, 31, 37, 0.4);
	transform: translateY(-2px);
}

.mkt-campanha-home-btn:active {
	box-shadow: 0 2px 8px rgba(218, 31, 37, 0.3);
	transform: translateY(0);
}

.mkt-campanha-message-error {
	background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
	border-left: 4px solid var(--mkt-primary);
	color: var(--mkt-primary-dark);
}

.mkt-campanha-candidates-wrapper {
	max-width: 950px;
	margin: 0 auto;
}

.mkt-campanha-candidates {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 60px 0;
	animation: fadeInUp 0.6s ease-out 0.2s both;
}

.mkt-campanha-candidate {
	border: 2px solid var(--mkt-gray-200);
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	background: #ffffff;
	transition: var(--mkt-transition);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: var(--mkt-shadow-sm);
}

.mkt-campanha-candidate:hover {
	border-color: var(--mkt-primary);
	border-width: 2px;
	background: var(--mkt-primary-bg);
	box-shadow: 0 0 0 1px var(--mkt-primary), 0 0 20px rgba(218, 31, 37, 0.15);
}

.mkt-campanha-candidate.selected {
	border-color: var(--mkt-primary);
	background: var(--mkt-primary-bg);
	box-shadow: 0 8px 24px rgba(218, 31, 37, 0.15);
}

.mkt-campanha-candidate.selected::after {
	content: '✓';
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	background: var(--mkt-primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
	animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	box-shadow: 0 4px 12px rgba(218, 31, 37, 0.3);
}

.mkt-campanha-candidate-title {
	font-size: clamp(16px, 1.75rem, 2rem);
	font-weight: 600;
	margin-bottom: 28px;
	color: var(--mkt-gray-900);
	letter-spacing: -0.01em;
	transition: var(--mkt-transition-fast);
}

.mkt-campanha-candidate:hover .mkt-campanha-candidate-title {
	color: var(--mkt-primary);
}

.mkt-campanha-view-creative {
	background: linear-gradient(135deg, var(--mkt-primary) 0%, var(--mkt-primary-dark) 100%);
	color: white;
	border: none;
	padding: 16px 36px;
	border-radius: 8px;
	cursor: pointer;
	font-size: clamp(14px, 1.05rem, 1.2rem);
	font-weight: 600;
	transition: var(--mkt-transition);
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(218, 31, 37, 0.2);
	letter-spacing: 0.02em;
	margin-bottom: 12px;
	display: block;
	width: 100%;
}

.mkt-campanha-view-creative:last-child {
	margin-bottom: 0;
}

.mkt-campanha-view-creative::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.mkt-campanha-view-creative:hover {
	background: linear-gradient(135deg, var(--mkt-primary-dark) 0%, var(--mkt-primary) 100%);
	box-shadow: 0 6px 20px rgba(218, 31, 37, 0.3);
}

.mkt-campanha-view-creative:hover::before {
	width: 300px;
	height: 300px;
}

.mkt-campanha-view-creative:active {
	box-shadow: 0 2px 8px rgba(218, 31, 37, 0.2);
	opacity: 0.9;
}

.mkt-campanha-view-creative span {
	position: relative;
	z-index: 1;
}

.mkt-campanha-vote-section {
	text-align: center;
	margin: 60px 0;
	animation: fadeInUp 0.6s ease-out 0.4s both;
}

.mkt-campanha-votar-btn {
	background: linear-gradient(135deg, var(--mkt-primary) 0%, var(--mkt-primary-dark) 100%);
	color: white;
	border: none;
	padding: 20px 64px;
	font-size: 1.25rem;
	font-weight: 700;
	border-radius: 12px;
	cursor: pointer;
	transition: var(--mkt-transition);
	box-shadow: 0 8px 24px rgba(218, 31, 37, 0.25);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
}

.mkt-campanha-votar-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.mkt-campanha-votar-btn:hover:not(:disabled)::before {
	left: 100%;
}

.mkt-campanha-votar-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, var(--mkt-primary-dark) 0%, var(--mkt-primary) 100%);
	box-shadow: 0 12px 32px rgba(218, 31, 37, 0.35);
}

.mkt-campanha-votar-btn:active:not(:disabled) {
	box-shadow: 0 4px 16px rgba(218, 31, 37, 0.25);
	opacity: 0.95;
}

.mkt-campanha-votar-btn:disabled {
	background: var(--mkt-gray-300);
	color: var(--mkt-gray-500);
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.mkt-campanha-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
	overflow: auto;
	animation: fadeIn 0.3s ease-out;
	padding: 20px;
	box-sizing: border-box;
}

.mkt-campanha-modal[style*="display: block"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.mkt-campanha-modal-content {
	background-color: #ffffff;
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 20px;
	width: 90%;
	max-width: 900px;
	position: relative;
	box-shadow: var(--mkt-shadow-lg);
	animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	overflow: hidden;
}

.mkt-campanha-modal-close {
	color: var(--mkt-gray-500);
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 32px;
	font-weight: 300;
	cursor: pointer;
	line-height: 1;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	transition: var(--mkt-transition-fast);
	z-index: 10;
	backdrop-filter: blur(10px);
}

.mkt-campanha-modal-close:hover {
	color: var(--mkt-primary);
	background: var(--mkt-primary-bg);
	transform: rotate(90deg) scale(1.1);
}

.mkt-campanha-modal-body {
	padding: 40px;
	margin-top: 0;
}

.mkt-campanha-modal-body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 12px;
	box-shadow: var(--mkt-shadow-md);
}

.mkt-campanha-modal-body iframe {
	width: 100%;
	min-height: 500px;
	border-radius: 12px;
	border: none;
}

.mkt-campanha-modal-body audio {
	width: 100%;
	margin: 20px 0;
}

/* Animações */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.02);
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes successPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

@keyframes shake {
	0%, 100% {
		transform: translateX(0);
	}
	10%, 30%, 50%, 70%, 90% {
		transform: translateX(-5px);
	}
	20%, 40%, 60%, 80% {
		transform: translateX(5px);
	}
}

.mkt-campanha-votar-btn.loading {
	position: relative;
	color: transparent;
}

.mkt-campanha-votar-btn.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

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

/* Responsividade */
@media (max-width: 1024px) {
	.mkt-campanha-candidates {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	
	.mkt-campanha-voting-page {
		padding: 40px 20px;
	}
}

@media (max-width: 768px) {
	.mkt-campanha-candidates {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 40px 0;
	}
	
	.mkt-campanha-voting-page {
		padding: 32px 16px;
	}
	
	.mkt-campanha-title {
		font-size: 2rem;
	}
	
	.mkt-campanha-candidate {
		padding: 24px 20px;
	}
	
	.mkt-campanha-votar-btn {
		padding: 16px 40px;
		font-size: 1rem;
		width: 100%;
		max-width: 400px;
	}
	
	.mkt-campanha-modal-content {
		width: 95%;
		margin: 10% auto;
		border-radius: 16px;
	}
	
	.mkt-campanha-modal-body {
		padding: 24px;
	}
}

@media (max-width: 480px) {
	.mkt-campanha-header {
		margin-bottom: 40px;
	}
	
	.mkt-campanha-candidate-title {
		font-size: clamp(16px, 1rem, 1.5rem);
	}
	
	.mkt-campanha-view-creative {
		padding: 14px 28px;
		font-size: clamp(14px, 0.875rem, 1rem);
		width: 100%;
	}
}
