/* FightStats.lk front-end styles */
:root {
	--fs-bg: #0e0e0f;
	--fs-panel: #1a1a1c;
	--fs-red: #c8102e;
	--fs-gold: #d4af37;
	--fs-text: #f2f2f2;
	--fs-muted: #a3a3a3;
	--fs-border: #2c2c2e;
}

.fs-rankings-wrap { color: var(--fs-text); }

.fs-rankings-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.fs-rankings-controls input,
.fs-rankings-controls select {
	background: var(--fs-panel);
	border: 1px solid var(--fs-border);
	color: var(--fs-text);
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 14px;
}
.fs-search-input { flex: 1 1 260px; }

.fs-rankings-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--fs-panel);
}
.fs-rankings-table th {
	text-align: left;
	background: #000;
	color: var(--fs-gold);
	padding: 12px;
	border-bottom: 2px solid var(--fs-red);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
}
.fs-rankings-table td {
	padding: 12px;
	border-bottom: 1px solid var(--fs-border);
}
.fs-fighter-cell a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fs-text);
	text-decoration: none;
	font-weight: 600;
}
.fs-fighter-thumb {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--fs-gold);
}
#fs-no-results { color: var(--fs-muted); padding: 20px 0; }

/* Athlete profile */
.fs-athlete-profile { color: var(--fs-text); max-width: 900px; margin: 0 auto; }
.fs-athlete-header { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.fs-athlete-photo img { width: 220px; height: 220px; object-fit: cover; border-radius: 8px; border: 3px solid var(--fs-red); }
.fs-athlete-summary h1 { margin: 0 0 4px; color: var(--fs-gold); }
.fs-real-name { color: var(--fs-muted); margin: 0 0 10px; }
.fs-record-badge {
	display: inline-block;
	background: var(--fs-red);
	color: #fff;
	padding: 6px 14px;
	border-radius: 4px;
	font-weight: 700;
	margin-bottom: 12px;
}
.fs-athlete-meta { list-style: none; padding: 0; margin: 0; }
.fs-athlete-meta li { margin-bottom: 4px; font-size: 14px; }

.fs-fight-history-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.fs-fight-history-table th { background: #000; color: var(--fs-gold); padding: 10px; text-align: left; font-size: 12px; text-transform: uppercase; }
.fs-fight-history-table td { padding: 10px; border-bottom: 1px solid var(--fs-border); }
.fs-fight-history-table tr.fs-result-win td:nth-child(5) { color: #4caf50; font-weight: 700; }
.fs-fight-history-table tr.fs-result-loss td:nth-child(5) { color: var(--fs-red); font-weight: 700; }
.fs-fight-history-table tr.fs-result-no-contest td:nth-child(5),
.fs-fight-history-table tr.fs-result-draw td:nth-child(5) { color: var(--fs-gold); font-weight: 700; }

/* Contact form */
.fs-contact-form { max-width: 600px; }
.fs-form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.fs-form-row label { font-weight: 600; }
.fs-form-row input,
.fs-form-row textarea {
	padding: 10px 12px;
	border: 1px solid var(--fs-border);
	border-radius: 6px;
	background: var(--fs-panel);
	color: var(--fs-text);
	font-size: 14px;
}
.fs-hp-field { position: absolute; left: -9999px; top: -9999px; }
.fs-submit-btn {
	background: var(--fs-red);
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.fs-submit-btn:hover { background: #a80d26; }
.fs-contact-response { margin-top: 12px; font-weight: 600; }
.fs-contact-response.fs-success { color: #4caf50; }
.fs-contact-response.fs-error { color: var(--fs-red); }

/* Site chrome */
.fs-site-header {
	background: #000;
	border-bottom: 2px solid var(--fs-red);
	position: sticky;
	top: 0;
	z-index: 100;
}
.fs-site-header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.fs-site-logo {
	font-size: 22px;
	font-weight: 800;
	color: var(--fs-text);
	text-decoration: none;
	letter-spacing: 0.02em;
}
.fs-nav-menu {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.fs-nav-menu a {
	color: var(--fs-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.fs-nav-menu a:hover { color: var(--fs-gold); }

.fs-site-footer {
	border-top: 1px solid var(--fs-border);
	margin-top: 60px;
	padding: 24px 20px;
	text-align: center;
	color: var(--fs-muted);
	font-size: 13px;
}

.fs-page-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 20px; color: var(--fs-text); }
.fs-page-title { color: var(--fs-gold); margin-bottom: 20px; }
.fs-page-content { line-height: 1.7; }
.fs-post-thumb img { border-radius: 8px; margin-bottom: 20px; }
.fs-event-meta { color: var(--fs-muted); margin-bottom: 20px; }

/* Homepage */
.fs-homepage { color: var(--fs-text); }
.fs-hero {
	text-align: center;
	padding: 70px 20px;
	background: radial-gradient(ellipse at top, #1e1e20 0%, var(--fs-bg) 70%);
	border-bottom: 3px solid var(--fs-red);
}
.fs-hero h1 { font-size: 48px; margin: 0 0 10px; color: var(--fs-text); letter-spacing: 0.02em; }
.fs-hero-dot { color: var(--fs-red); }
.fs-hero-tagline { font-size: 18px; color: var(--fs-gold); margin: 0 0 14px; font-weight: 600; }
.fs-hero-mission { max-width: 640px; margin: 0 auto 30px; color: var(--fs-muted); line-height: 1.6; }
.fs-hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.fs-hero-btn-primary {
	display: inline-block;
	background: var(--fs-red);
	color: #fff;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.fs-hero-btn-primary:hover { background: #a80d26; }

.fs-quicklinks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	padding: 40px 20px;
	max-width: 1100px;
	margin: 0 auto;
}
.fs-quicklink-card {
	background: var(--fs-panel);
	border: 1px solid var(--fs-border);
	border-radius: 8px;
	padding: 24px;
	text-align: center;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: border-color 0.15s ease;
}
.fs-quicklink-card:hover { border-color: var(--fs-gold); }
.fs-ql-title { color: var(--fs-gold); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.fs-ql-desc { color: var(--fs-muted); font-size: 13px; }

.fs-home-section { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.fs-home-section h2 { color: var(--fs-gold); border-bottom: 2px solid var(--fs-red); padding-bottom: 10px; margin-bottom: 20px; }

.fs-fighter-grid, .fs-event-grid, .fs-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
}
.fs-fighter-grid-card, .fs-event-card, .fs-news-card {
	background: var(--fs-panel);
	border: 1px solid var(--fs-border);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: var(--fs-text);
	display: flex;
	flex-direction: column;
}
.fs-fighter-grid-photo, .fs-event-card-photo, .fs-news-card-photo { width: 100%; height: 160px; object-fit: cover; }
.fs-fighter-grid-name, .fs-event-card-title, .fs-news-card-title { padding: 12px 12px 4px; font-weight: 700; }
.fs-fighter-grid-record { padding: 0 12px 12px; color: var(--fs-red); font-weight: 700; }
.fs-event-card-meta { padding: 0 12px 12px; color: var(--fs-muted); font-size: 13px; }

/* Submit records button */
.fs-submit-records-btn {
	display: inline-block;
	background: var(--fs-gold);
	color: #000;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.fs-submit-records-btn:hover { background: #c29a2b; }
