:root {
	color-scheme: dark;
	--bg-dark: #07090e;
	--bg-card: #0f141f;
	--bg-card-hover: #161e2e;
	--bg-card-secondary: #121927;
	--border-color: rgba(255, 255, 255, 0.08);
	--border-focus: #10b981;
	--fg: #f8fafc;
	--fg-muted: #94a3b8;
	--fg-dim: #64748b;
	--accent-gold: #f59e0b;
	--accent-gold-glow: rgba(245, 158, 11, 0.2);
	--accent-green: #10b981;
	--accent-green-dark: #059669;
	--accent-green-glow: rgba(16, 185, 129, 0.25);
	--accent-red: #ef4444;
	--accent-blue: #3b82f6;
	--accent-purple: #8b5cf6;
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 18px;
	--radius-xl: 24px;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-display: "Clash Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
	--shadow-glow: 0 0 25px -5px var(--accent-green-glow);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg-dark);
	background-image: 
		radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
		radial-gradient(circle at 100% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
		radial-gradient(circle at 0% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
	background-attachment: fixed;
	color: var(--fg);
	font-family: var(--font-sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	padding-bottom: 80px; /* space for mobile bottom bar */
}

@media (min-width: 768px) {
	body {
		padding-bottom: 40px;
	}
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

/* Base utilities & standard classes from UI */
.shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Animations */
@keyframes pulse-live {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.9); }
}

@keyframes ticker-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

/* TOP TICKER BAR */
.top-ticker {
	background: #04060a;
	border-bottom: 1px solid var(--border-color);
	font-size: 0.82rem;
	padding: 8px 0;
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.ticker-badge {
	background: var(--accent-red);
	color: white;
	font-weight: 700;
	font-size: 0.7rem;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	margin-left: 16px;
	margin-right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.ticker-items {
	display: inline-flex;
	gap: 24px;
	animation: ticker-scroll 45s linear infinite;
}

.ticker-items:hover {
	animation-play-state: paused;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--fg-muted);
	cursor: pointer;
	padding: 2px 8px;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
}

.ticker-item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--fg);
}

.ticker-item strong {
	color: var(--fg);
}

.ticker-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent-red);
	display: inline-block;
	animation: pulse-live 1.5s infinite;
}

/* MAIN HEADER */
.main-header {
	background: rgba(7, 9, 14, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.logo-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 900;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
	color: var(--fg);
}

.logo-icon {
	width: 38px;
	height: 38px;
	background: linear-gradient(135deg, #10b981, #059669);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-brand .gold-text {
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nav-links {
	display: none;
	align-items: center;
	gap: 4px;
}

@media (min-width: 960px) {
	.nav-links {
		display: flex;
	}
}

.nav-btn {
	background: transparent;
	border: none;
	color: var(--fg-muted);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 8px 14px;
	border-radius: var(--radius-md);
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-btn:hover {
	color: var(--fg);
	background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
	color: #fff;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn-add-video {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #000;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 8px 16px;
	border: none;
	border-radius: 999px;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
	transition: all 0.2s;
}

.btn-add-video:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
	filter: brightness(1.1);
}

/* MOBILE BOTTOM BAR */
.mobile-bottom-nav {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 64px;
	background: rgba(10, 14, 23, 0.95);
	backdrop-filter: blur(20px);
	border-top: 1px solid var(--border-color);
	z-index: 100;
	justify-content: space-around;
	align-items: center;
	padding: 0 4px;
}

@media (min-width: 960px) {
	.mobile-bottom-nav {
		display: none;
	}
}

.mob-nav-item {
	background: none;
	border: none;
	color: var(--fg-dim);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	font-size: 0.68rem;
	font-weight: 600;
	padding: 6px 8px;
	border-radius: var(--radius-sm);
	transition: all 0.15s;
}

.mob-nav-item.active {
	color: var(--accent-green);
}

.mob-nav-item .icon {
	font-size: 1.15rem;
}

/* HERO SECTION */
.hero-spotlight {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin: 20px 0 28px;
	background: linear-gradient(135deg, #0b1329 0%, #080d19 100%);
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-card);
}

.hero-content-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 24px;
}

@media (min-width: 860px) {
	.hero-content-grid {
		grid-template-columns: 1.3fr 1fr;
		padding: 32px;
		align-items: center;
	}
}

.hero-badge-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.tag-live {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid var(--accent-red);
	color: #fca5a5;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	text-transform: uppercase;
}

.tag-gold {
	background: rgba(245, 158, 11, 0.15);
	border: 1px solid var(--accent-gold);
	color: #fde68a;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
}

.hero-title {
	font-size: clamp(1.4rem, 3.5vw, 2.2rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}

.hero-desc {
	color: var(--fg-muted);
	font-size: 0.95rem;
	margin-bottom: 20px;
	line-height: 1.6;
}

.hero-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
	color: #fff;
	border: none;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 10px 22px;
	border-radius: var(--radius-md);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
	transition: all 0.2s;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.08);
	color: var(--fg);
	border: 1px solid var(--border-color);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 20px;
	border-radius: var(--radius-md);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s;
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.14);
}

/* MATCH SPOTLIGHT CARD (RIGHT SIDE OF HERO) */
.hero-match-preview {
	background: rgba(15, 20, 31, 0.9);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 18px;
	backdrop-filter: blur(10px);
}

.preview-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 10px;
	margin-bottom: 14px;
	font-size: 0.8rem;
	color: var(--fg-muted);
}

.match-scores-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	text-align: center;
	margin-bottom: 16px;
}

.team-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.team-badge-big {
	font-size: 2rem;
	line-height: 1;
}

.team-name {
	font-weight: 700;
	font-size: 0.9rem;
}

.score-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.live-score {
	font-size: 1.8rem;
	font-weight: 900;
	letter-spacing: 2px;
	background: rgba(255, 255, 255, 0.06);
	padding: 4px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-minute-pill {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent-red);
	background: rgba(239, 68, 68, 0.15);
	padding: 2px 8px;
	border-radius: 999px;
}

/* SECTION TITLES & HEADERS */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 28px 0 16px;
	gap: 12px;
	flex-wrap: wrap;
}

.section-title {
	font-size: 1.35rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.02em;
}

.section-icon {
	color: var(--accent-green);
}

.filter-pills-row {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: none;
}

.filter-pills-row::-webkit-scrollbar {
	display: none;
}

.pill-btn {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--fg-muted);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	white-space: nowrap;
	transition: all 0.2s;
}

.pill-btn:hover {
	color: var(--fg);
	background: var(--bg-card-hover);
}

.pill-btn.active {
	background: var(--accent-green);
	color: #000;
	font-weight: 700;
	border-color: var(--accent-green);
}

/* MATCHES GRID & CARDS */
.matches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
	gap: 16px;
}

.match-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 16px;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.match-card:hover {
	transform: translateY(-2px);
	border-color: rgba(16, 185, 129, 0.4);
	box-shadow: var(--shadow-card);
}

.match-card.is-live {
	border-left: 3px solid var(--accent-red);
}

.card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 0.78rem;
	color: var(--fg-muted);
}

.league-info {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.match-row-teams {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
}

.team-score-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.95rem;
}

.team-flex {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.team-score-num {
	font-weight: 800;
	font-size: 1.1rem;
	padding: 2px 8px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
}

.match-footer-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--border-color);
	padding-top: 10px;
	font-size: 0.75rem;
	color: var(--fg-dim);
}

/* DETAILED MATCH CENTER / MODAL */
.match-center-wrapper {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin: 20px 0;
}

.match-center-header {
	background: linear-gradient(180deg, #151d2f 0%, #0f141f 100%);
	padding: 24px 16px;
	text-align: center;
	border-bottom: 1px solid var(--border-color);
}

.match-center-stadium {
	font-size: 0.8rem;
	color: var(--fg-muted);
	margin-top: 6px;
}

.events-timeline {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
}

.event-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius-sm);
	border-left: 3px solid var(--accent-green);
}

.event-min {
	font-weight: 800;
	color: var(--accent-green);
	min-width: 32px;
}

/* STATS PROGRESS BARS */
.stats-bars-container {
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.stat-bar-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stat-label-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.82rem;
	font-weight: 600;
}

.stat-bar-track {
	height: 8px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
	display: flex;
}

.stat-bar-home {
	background: var(--accent-green);
	height: 100%;
}

.stat-bar-away {
	background: var(--accent-blue);
	height: 100%;
}

/* CLASSEMENT TABLE */
.table-container {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow-x: auto;
}

.league-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.88rem;
}

.league-table th {
	background: rgba(255, 255, 255, 0.03);
	color: var(--fg-muted);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	padding: 12px 14px;
	border-bottom: 1px solid var(--border-color);
}

.league-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--border-color);
	white-space: nowrap;
}

.league-table tr:last-child td {
	border-bottom: none;
}

.league-table tr:hover {
	background: rgba(255, 255, 255, 0.02);
}

.rank-cell {
	font-weight: 800;
	width: 36px;
	text-align: center;
	border-radius: 4px;
}

.rank-ucl {
	border-left: 3px solid #3b82f6;
	color: #60a5fa;
}

.rank-uel {
	border-left: 3px solid #f59e0b;
	color: #fbbf24;
}

.rank-uecl {
	border-left: 3px solid #10b981;
	color: #34d399;
}

.rank-relegation {
	border-left: 3px solid #ef4444;
	color: #f87171;
}

.team-cell {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.form-pill {
	display: inline-flex;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	align-items: center;
	justify-content: center;
	font-size: 0.68rem;
	font-weight: 800;
	margin-right: 3px;
}

.form-w { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.form-d { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.form-l { background: rgba(239, 68, 68, 0.2); color: #f87171; }

/* 5 CONTINENTS SECTIONS */
.continents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
	gap: 16px;
}

.national-team-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.2s;
}

.national-team-card:hover {
	transform: translateY(-2px);
	border-color: rgba(245, 158, 11, 0.4);
}

.nat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fifa-rank-badge {
	background: rgba(245, 158, 11, 0.15);
	color: var(--accent-gold);
	border: 1px solid rgba(245, 158, 11, 0.3);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

/* STATS & "DIZAINE PARFAIT 10/10" */
.perfect-ten-banner {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(16, 185, 129, 0.1));
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: var(--radius-lg);
	padding: 20px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.badge-ten {
	background: linear-gradient(135deg, #f59e0b, #e11d48);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 900;
	padding: 6px 14px;
	border-radius: var(--radius-md);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.players-leaderboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
	gap: 16px;
}

.player-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
}

.player-card:hover {
	transform: translateY(-3px);
	border-color: rgba(16, 185, 129, 0.4);
	box-shadow: var(--shadow-card);
}

.player-card-image {
	height: 180px;
	background-size: cover;
	background-position: center top;
	background-color: #162032;
	background-image: linear-gradient(135deg, #1e293b, #0f172a);
	position: relative;
}

.player-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}

.player-card-rating {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	color: #10b981;
	font-weight: 900;
	font-size: 1.1rem;
	padding: 3px 10px;
	border-radius: 8px;
	border: 1px solid rgba(16, 185, 129, 0.4);
}

.player-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.player-card-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 4px;
}

.player-stat-bubbles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 12px 0;
	background: rgba(255, 255, 255, 0.03);
	padding: 10px;
	border-radius: var(--radius-sm);
	text-align: center;
}

.stat-bubble-val {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--accent-green);
}

.stat-bubble-lbl {
	font-size: 0.7rem;
	color: var(--fg-muted);
	text-transform: uppercase;
}

/* RADAR STATS BARS */
.radar-bars {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.radar-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
}

.radar-name {
	width: 50px;
	color: var(--fg-muted);
}

.radar-track {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.radar-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981, #3b82f6);
	border-radius: 999px;
}

.radar-num {
	width: 25px;
	text-align: right;
	font-weight: 700;
}

/* VIDEOS SECTION & MODAL */
.videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
	gap: 20px;
}

.video-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.2s;
	cursor: pointer;
}

.video-card:hover {
	transform: translateY(-3px);
	border-color: rgba(245, 158, 11, 0.4);
	box-shadow: var(--shadow-card);
}

.video-thumb-wrapper {
	position: relative;
	height: 170px;
	background: #111;
	overflow: hidden;
}

.video-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.video-card:hover .video-thumb-img {
	transform: scale(1.05);
}

.video-play-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.video-card:hover .video-play-overlay {
	background: rgba(0, 0, 0, 0.15);
}

.play-circle-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent-green);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
	transition: transform 0.2s;
}

.video-card:hover .play-circle-btn {
	transform: scale(1.12);
}

.video-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
}

.video-category-tag {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(16, 185, 129, 0.9);
	color: #000;
	font-size: 0.7rem;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
}

.video-card-content {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.video-card-title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.75rem;
	color: var(--fg-dim);
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--border-color);
}

.like-action-btn {
	background: none;
	border: none;
	color: var(--fg-muted);
	font-size: 0.8rem;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s;
}

.like-action-btn:hover {
	color: var(--accent-red);
}

/* MODAL SYSTEM */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.modal-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	width: 100%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 24px;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.modal-close-btn {
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: var(--fg);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: background 0.2s;
}

.modal-close-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* FORM ELEMENTS */
.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.form-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--fg-muted);
}

.form-input, .form-select, .form-textarea {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	color: var(--fg);
	font-family: inherit;
	font-size: 0.9rem;
	padding: 10px 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
	border-color: var(--accent-green);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-textarea {
	resize: vertical;
	min-height: 80px;
}

/* MERCATO HUB */
.mercato-item-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 16px;
	display: grid;
	gap: 12px;
	transition: border-color 0.2s;
}

.mercato-item-card:hover {
	border-color: rgba(245, 158, 11, 0.4);
}

.mercato-status-badge {
	font-size: 0.72rem;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
}

.status-officiel { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }
.status-chaude { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.status-nego { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

/* VOTE SECTION */
.vote-card {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 16px;
	margin-top: 14px;
}

.vote-buttons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
	margin-top: 10px;
}

.btn-vote {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-color);
	color: var(--fg);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 8px;
	border-radius: var(--radius-sm);
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.btn-vote:hover {
	background: var(--accent-green);
	color: #000;
	font-weight: 700;
}

/* FOOTER */
.footer-main {
	margin-top: 50px;
	border-top: 1px solid var(--border-color);
	padding: 30px 16px 20px;
	text-align: center;
	color: var(--fg-dim);
	font-size: 0.85rem;
}
