﻿/*
   LineBras shared theme
   Dark Interlude-inspired skin for the legacy PHP modules.
*/

:root {
	--ely-bg: #070706;
	--ely-panel: rgba(13, 14, 15, 0.91);
	--ely-panel-soft: rgba(25, 25, 24, 0.86);
	--ely-border: rgba(205, 174, 96, 0.36);
	--ely-border-soft: rgba(255, 255, 255, 0.08);
	--ely-gold: #cda55b;
	--ely-gold-bright: #f0d58b;
	--ely-teal: #079ba6;
	--ely-red: #8e2525;
	--ely-text: #eadfcb;
	--ely-muted: #b7ab96;
	--ely-ink: #11100e;
	--ely-shadow: 0 18px 52px rgba(0, 0, 0, 0.58);
}

html {
	min-height: 100%;
	background: var(--ely-bg);
}

body {
	min-height: 100%;
	margin: 0;
	color: var(--ely-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	background:
		radial-gradient(circle at 50% 42%, rgba(36, 151, 75, 0.18), transparent 34%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34) 34%, rgba(0, 0, 0, 0.42) 66%, rgba(0, 0, 0, 0.88)),
		url(images/linebras_site_bg.jpg) center top / cover fixed no-repeat,
		#050504 !important;
}

a,
a:link,
a:visited {
	color: var(--ely-gold-bright);
	text-decoration: none;
}

a:hover {
	color: #fff;
	text-decoration: none;
}

.elysium-subnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: min(1120px, calc(100% - 28px));
	margin: 22px auto 0;
	padding: 10px;
	background: linear-gradient(180deg, rgba(27, 26, 24, 0.94), rgba(8, 8, 7, 0.94));
	border: 1px solid var(--ely-border);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.elysium-subnav strong {
	margin-right: 10px;
	color: var(--ely-gold-bright);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	line-height: 1;
	text-shadow: 0 2px 0 #000;
}

.elysium-subnav a {
	display: inline-block;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--ely-text) !important;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.elysium-subnav a:hover {
	background: rgba(7, 155, 166, 0.72);
	color: #fff !important;
}

img {
	max-width: 100%;
}

input,
select,
textarea,
button {
	font-family: Arial, Helvetica, sans-serif;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea,
#form_text {
	background: rgba(255, 255, 255, 0.09) !important;
	border: 1px solid rgba(205, 174, 96, 0.34) !important;
	border-radius: 4px !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus,
#form_text:focus {
	border-color: var(--ely-gold-bright) !important;
	outline: none;
}

input[type="submit"],
button,
.button,
#btn,
#submit_cadastro,
#submit_cadastro2,
#submit_limpar,
#anotebtn {
	background: linear-gradient(#d4b66b, #8c6428) !important;
	border: 1px solid #f0d58b !important;
	border-radius: 4px !important;
	color: #150f08 !important;
	cursor: pointer;
	font-weight: 700;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

input[type="submit"]:hover,
button:hover,
.button:hover,
#btn:hover,
#submit_cadastro:hover,
#submit_cadastro2:hover,
#submit_limpar:hover,
#anotebtn:hover {
	background: linear-gradient(#f1d98e, #a8752d) !important;
}

table {
	border-collapse: collapse;
}

td,
th {
	border-color: rgba(205, 174, 96, 0.18);
}

/* Main public pages */
#templatemo_body_wrapper {
	width: 100%;
	min-height: 100vh;
	padding: 28px 14px;
	background: none !important;
}

#templatemo_wrapper {
	width: min(1120px, 100%) !important;
	margin: 0 auto;
	background: linear-gradient(180deg, rgba(10, 10, 9, 0.72), rgba(10, 10, 9, 0.94));
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
}

.linebras-intro {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: end;
	min-height: 250px;
	padding: clamp(28px, 5vw, 48px);
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(21, 16, 10, 0.68) 48%, rgba(0, 0, 0, 0.88)),
		radial-gradient(circle at 68% 20%, rgba(187, 40, 22, 0.22), transparent 38%),
		#080706;
	border-bottom: 1px solid var(--ely-border);
	isolation: isolate;
}

.linebras-hero-video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.08) saturate(0.95);
	opacity: 0.68;
	pointer-events: none;
}

.linebras-intro:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	background: url(images/linebras_hero_poster.jpg) center 45% / cover no-repeat;
	filter: contrast(1.08) saturate(0.9);
	opacity: 0.72;
}

.linebras-intro:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 48%, rgba(0, 0, 0, 0.72)),
		linear-gradient(180deg, rgba(233, 185, 82, 0.08), transparent 30%, rgba(0, 0, 0, 0.66));
	pointer-events: none;
}

.linebras-intro-content {
	max-width: 600px;
	color: #fff;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95);
}

.linebras-kicker {
	display: inline-block;
	padding: 6px 10px;
	background: rgba(7, 155, 166, 0.64);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.linebras-intro-content h1 {
	margin: 12px 0 10px;
	color: var(--ely-gold-bright);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(48px, 7vw, 76px);
	line-height: 0.95;
	text-shadow: 0 4px 0 #000, 0 0 22px rgba(240, 213, 139, 0.34);
}

.linebras-intro-content p {
	margin: 0 0 18px;
	color: #eadfcb;
	font-size: 15px;
	line-height: 1.6;
}

.linebras-intro-actions,
.linebras-intro-status {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.linebras-intro-actions a {
	display: inline-block;
	min-width: 128px;
	padding: 11px 14px;
	background: linear-gradient(#d4b66b, #8c6428);
	border: 1px solid #f0d58b;
	color: #140e07 !important;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
	text-transform: uppercase;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}

.linebras-intro-actions a:hover {
	background: linear-gradient(#f1d98e, #a8752d);
	color: #050403 !important;
}

.linebras-intro-status {
	justify-content: flex-end;
	max-width: 390px;
	color: var(--ely-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.linebras-intro-status span {
	padding: 8px 10px;
	background: rgba(0, 0, 0, 0.62);
	border: 1px solid rgba(205, 174, 96, 0.38);
}

.linebras-intro-status strong {
	margin-left: 5px;
}

.linebras-intro-status .is-online {
	color: #6bff78;
}

.linebras-intro-status .is-offline {
	color: #ff7777;
}

#header_right {
	float: none !important;
	margin: 12px 0 0 !important;
	color: var(--ely-muted);
}

#templatemo_menubar {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	background: linear-gradient(180deg, #1b1a18, #080807) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid var(--ely-border);
}

.ddsmoothmenu {
	float: none !important;
}

.ddsmoothmenu ul,
#top_nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
}

.ddsmoothmenu ul li,
#top_nav ul li {
	display: block !important;
	float: none !important;
}

.ddsmoothmenu ul li a,
#top_nav ul li a {
	height: auto !important;
	padding: 15px 18px !important;
	background: transparent !important;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--ely-text) !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1 !important;
	text-transform: uppercase;
}

.ddsmoothmenu ul li a.selected,
.ddsmoothmenu ul li a:hover,
#top_nav ul li a.selected,
#top_nav ul li a:hover {
	background: linear-gradient(180deg, rgba(7, 155, 166, 0.92), rgba(4, 93, 100, 0.94)) !important;
	color: #fff !important;
}

#templatemo_main {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	width: 100% !important;
	min-height: 430px;
	padding: 24px !important;
	background: var(--ely-panel) !important;
}

#templatemo_main > .cleaner {
	grid-column: 1 / -1;
}

#sidebar,
#content {
	float: none !important;
	width: auto !important;
}

#content {
	padding: 20px 22px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--ely-border-soft);
	color: var(--ely-text) !important;
	font-size: 14px;
	line-height: 1.75;
}

#content h1,
#content h2,
#content h3 {
	color: var(--ely-gold-bright) !important;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	text-shadow: 0 2px 0 #000;
}

#content h1 {
	font-size: 34px !important;
	margin: 0 0 18px !important;
}

#content p {
	color: var(--ely-text);
}

.sidebar_box {
	margin: 0 0 18px !important;
	background: var(--ely-panel-soft) !important;
	border: 1px solid var(--ely-border) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.sidebar_box h3 {
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	background: linear-gradient(180deg, rgba(205, 174, 96, 0.2), rgba(205, 174, 96, 0.06)) !important;
	border-bottom: 1px solid var(--ely-border);
	color: var(--ely-gold-bright) !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px !important;
	line-height: 1.2 !important;
}

#sidebar .sidebar_box .content {
	padding: 12px 14px !important;
}

#sidebar .sidebar_list li {
	border-top: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	color: var(--ely-text);
}

#sidebar .sidebar_list li a {
	color: var(--ely-text) !important;
}

.server-status-panel {
	margin: 4px 0 0 !important;
	background: linear-gradient(180deg, #171615, #090908) !important;
	border: 1px solid var(--ely-border) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.server-status-online {
	background: linear-gradient(#14a65b, #0d6d3d) !important;
}

.server-status-offline {
	background: linear-gradient(#a52a2a, #651515) !important;
}

.download-lead {
	margin-bottom: 18px;
	color: #eadfcb;
	font-size: 15px;
}

.download-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.download-card {
	position: relative;
	padding: 18px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--ely-border-soft);
	color: var(--ely-text);
}

.download-card.is-featured {
	grid-column: 1 / -1;
	background:
		linear-gradient(135deg, rgba(7, 155, 166, 0.18), rgba(205, 174, 96, 0.08)),
		rgba(255, 255, 255, 0.045);
	border-color: var(--ely-border);
}

.download-card h2,
.download-notes h2 {
	margin: 8px 0 10px;
	color: var(--ely-gold-bright);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	line-height: 1.15;
	text-shadow: 0 2px 0 #000;
}

.download-card p,
.download-card li,
.download-notes p {
	color: #f2eadc;
	font-size: 14px;
	line-height: 1.55;
}

.download-card ul {
	margin: 12px 0 16px 18px;
	padding: 0;
}

.download-tag {
	display: inline-block;
	padding: 5px 9px;
	background: rgba(7, 155, 166, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.download-button {
	display: inline-block;
	min-width: 170px;
	padding: 12px 16px;
	background: linear-gradient(#d4b66b, #8c6428);
	border: 1px solid #f0d58b;
	color: #140e07 !important;
	font-size: 12px;
	font-weight: 900;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
	text-transform: uppercase;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.download-button:hover {
	background: linear-gradient(#f1d98e, #a8752d);
	color: #050403 !important;
}

.download-notes {
	margin-top: 18px;
	padding: 16px 18px;
	background: rgba(0, 0, 0, 0.36);
	border: 1px solid var(--ely-border-soft);
}

#templatemo_footer {
	width: 100% !important;
	padding: 24px !important;
	background: linear-gradient(180deg, #0c0b0a, #050504) !important;
	border-top: 1px solid var(--ely-border);
	color: var(--ely-muted) !important;
}

#templatemo_footer img {
	max-width: min(500px, 100%);
	height: auto;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

/* Cadastro */
#bg_info,
#box_out,
#box_in,
.mgs_credito {
	color: var(--ely-text) !important;
}

#bg_info {
	height: auto !important;
	min-height: 64px;
	padding: 16px 18px !important;
	background: rgba(0, 0, 0, 0.78) !important;
	border-bottom: 1px solid var(--ely-border);
}

#box_out {
	width: min(560px, calc(100% - 28px)) !important;
	margin-top: 58px !important;
	background: var(--ely-panel) !important;
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
}

#box_in {
	background: rgba(255, 255, 255, 0.045) !important;
	border: 1px solid var(--ely-border-soft) !important;
}

.mgs_credito,
.creditos {
	position: static !important;
	margin: 18px auto;
	color: var(--ely-muted) !important;
}

#msg_alert,
#msg_sucesso {
	height: auto !important;
	padding: 12px !important;
	border-radius: 4px;
}

#form1 table {
	width: 100% !important;
}

#form1 td {
	padding: 6px 4px;
}

#form1 td[style*="position:absolute"] {
	position: static !important;
	display: block;
	margin-left: 0 !important;
	color: var(--ely-text) !important;
	text-align: center;
}

/* Account panel */
#box {
	width: min(1120px, calc(100% - 28px)) !important;
	margin: 28px auto !important;
	background: var(--ely-panel);
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
}

#header {
	height: 150px !important;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.22)),
		url(images/linebras_hero_poster.jpg) center 48% / cover no-repeat !important;
	border-bottom: 1px solid var(--ely-border);
}

#menu {
	float: none !important;
	width: 100% !important;
	height: auto !important;
	min-height: 42px;
	background: linear-gradient(180deg, #1b1a18, #080807) !important;
	border-bottom: 1px solid var(--ely-border);
}

#menu a {
	margin: 0 !important;
	padding: 13px 18px;
	color: var(--ely-text) !important;
	font-weight: 700;
	text-transform: uppercase;
}

#menu img {
	display: none;
}

#login {
	z-index: 5;
	background: rgba(8, 8, 8, 0.96) !important;
	border: 1px solid var(--ely-border);
}

#conteudo {
	float: none !important;
	width: auto !important;
	padding: 20px !important;
	background: transparent !important;
	color: var(--ely-text) !important;
}

#meni {
	width: 238px !important;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--ely-border) !important;
}

#meni #top {
	width: auto !important;
	background: rgba(205, 174, 96, 0.16) !important;
	color: var(--ely-gold-bright) !important;
	font-weight: 700;
}

#bottom,
#bottom a {
	width: auto !important;
}

#bottom a {
	display: block;
	float: none !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--ely-text) !important;
}

#bottom a:hover,
#bottom a[style] {
	background: rgba(7, 155, 166, 0.52) !important;
}

#content {
	color: var(--ely-text);
}

#footer {
	float: none !important;
	width: auto !important;
	margin-top: 24px !important;
	padding: 12px 0;
	background: transparent !important;
	color: var(--ely-muted) !important;
}

/* Rankings */
#aling_tabela {
	width: min(1040px, calc(100% - 28px));
	margin: 58px auto 0 !important;
	padding: 20px;
	background: var(--ely-panel);
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
	overflow-x: auto;
}

#aling_tabela table {
	width: 100% !important;
	min-width: 780px;
}

#titulo_tabela {
	background: linear-gradient(180deg, #835e28, #442b12) !important;
	color: #fff !important;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.color_text {
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--ely-text) !important;
	padding: 9px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Vote system */
.corpo-topo {
	width: min(960px, calc(100% - 28px)) !important;
	min-height: 0 !important;
	margin: 36px auto !important;
	padding: 24px !important;
	background: var(--ely-panel) !important;
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
}

#server,
#vote,
#logo {
	background: none !important;
}

#logo:before {
	content: "LineBras Vote System";
	display: block;
	margin-bottom: 18px;
	color: var(--ely-gold-bright);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	text-shadow: 0 2px 0 #000;
}

#login-box,
.center-login,
.formulario,
.fb-like-box-back {
	background: rgba(255, 255, 255, 0.045) !important;
	border-color: var(--ely-border-soft) !important;
	color: var(--ely-text) !important;
}

#creditos,
#creditos2 {
	color: var(--ely-muted) !important;
}

/* Donation helper pages */
#etc,
#ja-current-content {
	width: min(920px, calc(100% - 28px));
	margin: 42px auto;
	padding: 24px;
	background: var(--ely-panel);
	border: 1px solid var(--ely-border);
	box-shadow: var(--ely-shadow);
	color: var(--ely-text);
}

@media (max-width: 860px) {
	body {
		background-attachment: scroll !important;
	}

	#templatemo_body_wrapper {
		padding: 12px;
	}

	#templatemo_main {
		display: block;
		padding: 14px !important;
	}

	#sidebar {
		margin-bottom: 16px;
	}

	#content {
		padding: 16px;
	}

	#content h1 {
		font-size: 28px !important;
	}

	.linebras-intro {
		display: block;
		min-height: 300px;
		padding: 28px 18px;
	}

	.linebras-intro-content p {
		font-size: 14px;
	}

	.linebras-intro-status {
		justify-content: flex-start;
		margin-top: 22px;
	}

	.download-grid {
		grid-template-columns: 1fr;
	}

	.ddsmoothmenu ul,
	#top_nav ul {
		gap: 4px;
		padding: 8px;
	}

	.ddsmoothmenu ul li a,
	#top_nav ul li a {
		padding: 10px 12px !important;
		background: rgba(255, 255, 255, 0.08) !important;
		border: 0;
	}

	#conteudo {
		padding: 14px !important;
	}

	#meni,
	#content {
		float: none !important;
		width: auto !important;
	}

	#meni {
		margin-bottom: 16px;
	}
}

@media (max-width: 560px) {
	#content h1 {
		font-size: 24px !important;
	}

	.linebras-intro {
		min-height: 300px;
	}

	.linebras-intro-content h1 {
		font-size: 46px;
	}

	.linebras-intro-actions a {
		min-width: 118px;
	}

	.server-status-panel span {
		display: block;
		margin-top: 8px;
	}

	#box_in {
		padding: 14px !important;
	}

	#form1 table,
	#form1 tbody,
	#form1 tr,
	#form1 td {
		display: block;
		width: 100% !important;
		height: auto !important;
		text-align: left !important;
	}

	#form1 span {
		display: block;
		margin-bottom: 6px;
	}

	#form_text {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
	}

	#form1 td[style*="position:absolute"] {
		text-align: center !important;
	}

	#submit_limpar,
	#submit_cadastro {
		width: 120px !important;
		margin: 10px 6px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.linebras-hero-video {
		display: none;
	}
}
