/* Scartopia Themed Styles */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@400;600;700&display=swap');

body {
	background: radial-gradient(circle at top, #111827 0, #020617 45%, #000000 100%);
	color: #E5E7EB;
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Main content container */
.content {
    background: rgba(15, 23, 42, 0.92);
    color: #E5E7EB;
	margin-left: 8%;
	margin-right: 8%;
	margin-top: 20px;
	margin-bottom: 40px;
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
	padding: 16px 20px;
}

/* Generic text styling */
tr, td, div, span, body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 9pt;
}

/* Links */
a:link,
a:visited,
a:active {
	color: #60E297;
	text-decoration: none;
	transition: color 0.15s ease, text-shadow 0.15s ease;
}

a:hover {
	color: #A7F3D0;
	text-decoration: none;
	text-shadow: 0 0 6px rgba(96, 226, 151, 0.5);
}

#ingame .headerblock a:visited {
	color: #FFFFFF;
}

a:focus {
	text-decoration: none;
	outline: none;
}

/* Lists */
ul {
	margin-left: 6px;
	padding-left: 6px;
}

li {
	margin-bottom: 8px;
}

/* Images */
img {
	text-align: center;
	vertical-align: middle;
	border: none;
}

/* Typography helpers */
.fHeading {
	font-family: "Orbitron", "Inter", sans-serif;
	font-size: 9pt;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #F9FAFB;
}

.fSmall {
	font-family: "Inter", sans-serif;
	font-size: 7pt;
	color: #9CA3AF;
}

.fTitle {
	font-family: "Orbitron", "Inter", sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #FFFFFF;
}

.fNormal {
	font-family: "Inter", sans-serif;
	font-size: 10px;
	font-weight: 600;
	padding-left: 12%;
	color: #E5E7EB;
}

/* Background utility blocks */
.bg1 {
    background-color: #020617;
}   

.bg2 {
    background-color: #020617;
}

/* Data tables */
.data-table {
	background-color: #020617;
	border: 1px solid #1F2937;
	border-collapse: collapse;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
}

.data-table td {
	padding: 6px 8px;
	text-align: left;
	border: 1px solid #111827;
	border-bottom: 0;
	color: #E5E7EB;
}

.data-table-row {
	background: linear-gradient(90deg, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
	border: 1px solid #1F2937;
	color: #E5E7EB;
	vertical-align: bottom;
}

.data-table-row:nth-child(even) {
	background: rgba(15, 23, 42, 0.92);
}

.data-table-row:hover {
	background: rgba(31, 41, 55, 0.95);
}

/* Table header */
.data-table-head {
	background: linear-gradient(90deg, #020617, #111827);
	border: 1px solid #1F2937;
	color: #F9FAFB;
	vertical-align: bottom;
	text-transform: uppercase;
	font-size: 8pt;
	letter-spacing: 0.08em;
}

.data-table-head a:link,
.data-table-head a:active {
	color: #E5E7EB;
}

.data-table-head a:visited {
	color: #9CA3AF;
}

.data-table-head a:hover {
	color: #A7F3D0;
}

/* Game maps tab */
.gmapstab a:link,
.gmapstab a:active,
.dgmapstab a:visited {
	color: #E5E7EB;
	text-decoration: none;
}

.gmapstab a:hover {
	color: #A7F3D0;
}

/* Game table */
.game-table-row {
	border: 1px solid #1F2937;
	background-color: #020617;
	border-bottom: 0;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.game-table-row-hover,
.game-table-row:hover {
	background-color: #111827;
	border-bottom: 0;
	color: #E5E7EB;
}

.game-table-cell {
	color: #E5E7EB;
	vertical-align: middle;
	padding: 6px 8px;
	border: 1px solid #111827;
}

.game-table-cell a {
	color: #60E297;
}

/* Live stats table */
.livestats-table {
	border: 1px solid #1F2937;
	border-collapse: collapse;
	width: 100%;
	background: rgba(15, 23, 42, 0.9);
}

.livestats-table td {
	border: 0;
	padding: 2px;
	text-align: center;
	color: #E5E7EB;
}

/* Location bar (breadcrumb / nav) */
.location a:link,
.location a:visited,
.location a:active {
	color: #F9FAFB;
	text-decoration: none;
}   

.location a:hover {
	color: #A7F3D0;
	text-decoration: none;
}

.location {
	height: 32px;
	background: linear-gradient(90deg, #111827, #020617);
	width: 100%;
	color: #F9FAFB;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.location_under {
	height: 15px;
	background: linear-gradient(90deg, #020617, #000000);
	width: 100%;
}

.location ul {
	list-style-type: none;
	list-style-image: none;
	padding-top: 7px;
	padding-left: 13%;
	margin: 0 auto;
	color: #F9FAFB;
}

.location li {
	margin-left: 5px;
	display: inline;
}

/* Header games list */
.header_gameslist {
	padding-right: 10%;
	padding-top: 22px;
} 

.header_gameslist img {
	padding: 0 2px;
	padding-bottom: 20px;
}

ul.header_gameslist {
	list-style: none;
}

.header_gameslist img#gameslist-active-game {
	background-image: url(../styles/sourcebans/underline.png);
	background-position: bottom center;
	background-repeat: no-repeat;
}

/* Blocks */
.block {
	margin: 0 auto;
}

.subblock {
	margin: 0 auto;
	width: 95%;
}

/* Navbar */
.navbar img {
	margin-left: 2px;
	margin-right: 2px;
}

.navbar {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
	text-align: center;
	padding-bottom: 10px;
}

.navbar li {
	margin-right: 12px;
	display: inline;
}

/* Header block / title area */
.headerblock {
	background: radial-gradient(circle at top, #020617 0, #000000 55%, #020617 100%);
	border: 0;
	height: 86px;
	width: 100%;
	position: relative;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.title {
	margin-left: 13%;
	padding-top: 12px;
	font-family: "Orbitron", "Inter", sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FFFFFF;
	text-shadow: 0 0 12px rgba(96, 226, 151, 0.5);
}

.tableicon {
	margin: 0 4px;
}

/* Header tabs */
.headertabs ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}

.headertabs li {
	margin: 0;
	display: inline;
}

.headertabs {
	margin-left: 13%;
	padding-top: 14px;
	bottom: 0;
}

.headertabs a {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.85);
	border: 1px solid transparent;
	color: #E5E7EB;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}


.headertabs a:hover {
	background: rgba(31, 41, 55, 0.95);
	border-color: #60E297;
	color: #A7F3D0;
}

/* Misc */
.bargraph {
	height: 10px;
}

/* Error styles */
.errorhead {
	background-color: #B91C1C;
	color: white;
	font-family: "Inter", sans-serif;
	font-size: 12pt;
	font-weight: bold;
	padding: 8px 10px;
	border-radius: 8px 8px 0 0;
}

.errortext {
	background-color: #111827;
	color: #F9FAFB;
	font-family: "Inter", sans-serif;
	font-size: 10pt;
	padding: 10px;
	border-radius: 0 0 8px 8px;
}

/* Map tabs */
.gmapstab td {
	border: 0;
	padding: 0;
}

.gmapstab a {
	color: #60E297;
	text-decoration: underline;
}

.gmapstabtitle {
	color: #60E297;
	font-weight: bold;
	text-align: left;
}

/* Subsection Tabs
--------------------*/
#main ul.subsection_tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	clear: both;
	border-bottom: 1px solid #1F2937;
	height: 22px;
}

#main ul.subsection_tabs li {
	float: left;
	margin-right: 7px;
	padding-top: 2px;
	text-align: center;
}

#main ul.subsection_tabs li a {
	display: block;
	height: 18px;
	padding: 0 10px;
	background-color: #020617;
	color: #9CA3AF;
	width: 140px;
	font-weight: 600;
	font-family: "Inter", sans-serif;
	font-size: 8pt;
	border-radius: 999px 999px 0 0;
	border: 1px solid transparent;
}

#main ul.subsection_tabs li a:hover {
	color: #E5E7EB;
	background-color: #111827;
}

#main ul.subsection_tabs li a.active {
	background: linear-gradient(90deg, #60E297, #22C55E);
	color: #020617;
	border-color: #60E297;
}

/* Register tabs override */
#main ul.register_tabs {
	border-bottom: none;
}

#main ul.register_tabs li a.active {
	background: linear-gradient(90deg, #60E297, #22C55E);
	color: #020617;
}

/** ================ Footer ================ **/

a.footer_link:link,
a.footer_link:visited {
	color: #9CA3AF;
	text-decoration: none;
}

a.footer_link:hover {
	text-decoration: underline;
	color: #A7F3D0;
}

#footer {
	clear: both;
	color: #9CA3AF;
	width: 80%;
	margin-left: 10%;
	background-repeat: repeat-x;
	font-size: 8pt;
	padding: 10px 0 20px 0;
	text-align: center;
}


