/**  -----------------------------------------------------------------
	Style name:			progamer MODERN EDITION
	Based on:			progamer by Mazeltof
	Inherited from:		prosilver (phpBB 3.2.x)
	Modified by:		Claude AI - Design Moderne 2025
	Description:		Design sombre, élégant et moderne
-----------------------------------------------------------------  **/
@import url("custom_modern.css");

/**  ============================================================
     VARIABLES CSS ET COULEURS DE BASE
     ============================================================  **/

:root {
	--bg-primary: #0a0a0a;
	--bg-secondary: #1a1a1a;
	--bg-card: rgba(26, 26, 26, 0.8);
	--bg-hover: rgba(74, 144, 226, 0.1);
	--border-color: rgba(255, 255, 255, 0.1);
	--text-primary: #ffffff;
	--text-secondary: #cccccc;
	--text-muted: #999999;
	--accent-blue: #4a90e2;
	--accent-blue-dark: #357abd;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
	--radius-sm: 6px;
	--radius-md: 8px;
	--radius-lg: 12px;
}

/**  ============================================================
     RESET ET STYLES DE BASE
     ============================================================  **/

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

body {
	background: var(--bg-primary);
	color: var(--text-primary);
	font-family: 'Segoe UI', 'Open Sans', Arial, sans-serif;
	line-height: 1.6;
	padding: 0;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

/**  ============================================================
     WRAPPER ET STRUCTURE PRINCIPALE
     ============================================================  **/

#wrap {
	background: var(--bg-primary);
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
}

@media only screen and (max-width: 950px) {
	.wrap {
		margin: 0;
		padding: 0;
	}
}

.page-body {
	margin: 0;
	padding: 15px;
	max-width: 1200px;
	margin: 0 auto;
}

/**  ============================================================
     LOGO ANIMÉ MODERNE
     ============================================================  **/

.site_logo {
	width: 235px;
	height: 52px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.site_logo .sports-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	font-size: 26px;
}

.site_logo .sports-bg span {
	animation: fadeInOut 3s ease-in-out infinite;
}

.site_logo .sports-bg span:nth-child(1) { animation-delay: 0s; }
.site_logo .sports-bg span:nth-child(2) { animation-delay: 0.75s; }
.site_logo .sports-bg span:nth-child(3) { animation-delay: 1.5s; }
.site_logo .sports-bg span:nth-child(4) { animation-delay: 2.25s; }

@keyframes fadeInOut {
	0%, 100% { opacity: 0.1; }
	50% { opacity: 0.4; }
}

.site_logo .text {
	position: relative;
	z-index: 2;
	font-size: 18px;
	font-weight: 900;
	background: linear-gradient(135deg, #fff 0%, #888 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: 2px;
	font-family: 'Impact', 'Arial Black', sans-serif;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

/**  ============================================================
     HEADER MODERNE
     ============================================================  **/

#page-header {
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 0;
	z-index: 999;
}

.headerbar {
	background: linear-gradient(to bottom, rgba(26, 26, 26, 0.95) 0%, rgba(13, 13, 13, 0.95) 100%);
	backdrop-filter: blur(10px);
	border-radius: 0;
	margin-bottom: 0;
	padding: 15px 20px;
	border: none;
	border-bottom: 1px solid var(--border-color);
}

.headerbar .inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

#site-description {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}

#site-description h1 {
	color: var(--text-primary);
	font-size: 20px;
	font-weight: 600;
	margin: 0;
}

#site-description p {
	color: var(--text-muted);
	font-size: 13px;
	margin: 0;
}

.skiplink {
	display: none;
}

/**  ============================================================
     BARRE DE RECHERCHE MODERNE
     ============================================================  **/

#search-box.search-header {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 8px 15px;
	transition: all 0.3s ease;
}

#search-box.search-header:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--accent-blue);
}

#search-box input[type="search"],
#search-box input.inputbox {
	background: transparent;
	border: none;
	color: var(--text-primary);
	font-size: 14px;
	padding: 5px 10px;
	outline: none;
}

#search-box input::placeholder {
	color: var(--text-muted);
}

#search-box .button {
	background: transparent;
	border: none;
	color: var(--text-secondary);
	cursor: pointer;
	padding: 5px 10px;
	transition: color 0.3s ease;
}

#search-box .button:hover {
	color: var(--accent-blue);
}

/**  ============================================================
     NAVIGATION MODERNE
     ============================================================  **/

.navbar {
	background: var(--bg-card);
	border-radius: 0;
	margin-bottom: 15px;
	padding: 0;
	border: none;
	box-shadow: var(--shadow-sm);
}

.navbar .inner {
	max-width: 1200px;
	margin: 0 auto;
}

ul.linklist {
	padding: 12px 20px;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

ul.linklist > li {
	line-height: 2em;
	margin: 0;
}

ul.linklist a,
ul.linklist .rightside a {
	color: var(--text-secondary);
	text-decoration: none;
	padding: 8px 15px;
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
	display: inline-block;
}

ul.linklist a:hover {
	background: var(--bg-hover);
	color: var(--accent-blue);
}

ul.navlinks {
	border-top: none;
	padding: 10px 20px;
}

/**  ============================================================
     CARTES DE FORUM (FORABG / FORUMBG)
     ============================================================  **/

.forabg,
.forumbg {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	margin-bottom: 20px;
	padding: 0;
	box-shadow: var(--shadow-md);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forabg:hover,
.forumbg:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.forabg .inner,
.forumbg .inner {
	padding: 0;
}

/* Headers des forums */
.forabg .header,
.forumbg .header {
	background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
	padding: 15px 20px;
	border-bottom: 1px solid var(--border-color);
}

.forabg .header a,
.forumbg .header a {
	color: white;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.forabg .header a:hover,
.forumbg .header a:hover {
	opacity: 0.9;
}

/**  ============================================================
     LISTES DE TOPICS ET FORUMS
     ============================================================  **/

ul.topiclist {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.topiclist li {
	margin-bottom: 2px;
	transition: background 0.2s ease;
}

ul.topiclist li:hover {
	background: rgba(255, 255, 255, 0.03);
}

li.header dt,
li.header dd {
	padding: 12px 15px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: rgba(0, 0, 0, 0.2);
}

li.row {
	border-top: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 15px 20px;
}

li.row:last-child {
	border-bottom: none;
}

li.row dt {
	padding: 0 15px 0 0;
}

li.row dd {
	padding: 0;
}

/* Icônes de dossiers */
dl.row-item {
	background-position: 10px 50%;
	padding-left: 60px;
}

li.header dl.row-item dt .list-inner {
	padding-left: 10px;
}

/**  ============================================================
     TITRES ET LIENS DE TOPICS
     ============================================================  **/

.topictitle {
	color: var(--text-primary);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
	display: inline-block;
}

.topictitle:hover {
	color: var(--accent-blue);
}

/**  ============================================================
     PAGINATION MODERNE
     ============================================================  **/

.pagination {
	margin: 10px 0;
}

.pagination li {
	display: inline-block;
	margin: 0 3px;
}

.pagination li a,
.pagination li span {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	padding: 6px 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
}

.pagination li a:hover {
	background: var(--accent-blue);
	border-color: var(--accent-blue);
	color: white;
}

.pagination li.active span {
	background: var(--accent-blue);
	border-color: var(--accent-blue);
	color: white;
	font-weight: 600;
}

.pagination li.page-jump a {
	padding: 6px 10px;
}

.pagination li.page-jump a i {
	font-size: 14px;
}

.pagination .arrow a {
	padding: 6px 8px;
}

.pagination li.ellipsis span {
	padding: 6px 5px;
	background: transparent;
	border: none;
}

/* Pagination petite dans les rows */
.row .pagination li a,
.row .pagination li span {
	padding: 3px 6px;
	font-size: 12px;
}

/**  ============================================================
     POSTS ET MESSAGES
     ============================================================  **/

.post {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	margin-bottom: 15px;
	padding: 0;
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.postbody {
	padding: 20px;
}

.postbody h3 {
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
}

.content {
	color: var(--text-secondary);
	line-height: 1.7;
	font-size: 14px;
}

/**  ============================================================
     PANNEAUX (PANELS)
     ============================================================  **/

.panel {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	margin-bottom: 15px;
	padding: 20px;
	box-shadow: var(--shadow-md);
}

.panel h2,
.panel h3 {
	color: var(--text-primary);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-color);
}

/**  ============================================================
     DROPDOWNS MODERNES
     ============================================================  **/

.dropdown {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-lg);
}

.dropdown .pointer,
.dropdown .pointer-inner {
	display: none;
}

.dropdown .dropdown-contents {
	background: var(--bg-secondary);
	border-radius: var(--radius-md);
	border: none;
	max-height: none;
	overflow: auto;
}

.dropdown-contents a {
	color: var(--text-secondary);
	text-decoration: none;
	padding: 12px 15px;
	display: block;
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-contents a:hover {
	background: var(--bg-hover);
	color: var(--accent-blue);
}

.dropdown-extended .header {
	background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: white;
	padding: 15px;
	text-align: center;
	text-shadow: none;
	text-transform: none;
}

.dropdown-extended .header:hover {
	background: linear-gradient(135deg, var(--accent-blue-dark) 0%, var(--accent-blue) 100%);
}

.dropdown-extended .footer {
	background: rgba(0, 0, 0, 0.2);
	padding: 12px 15px;
	border-top: 1px solid var(--border-color);
	text-align: center;
}

.dropdown-extended .header a,
.dropdown-extended .footer a {
	color: white;
	text-decoration: none;
}

/**  ============================================================
     TABLEAUX MODERNES
     ============================================================  **/

table.table1 {
	width: 100%;
	border-collapse: collapse;
}

table.table1 thead tr {
	background: rgba(0, 0, 0, 0.3);
}

table.table1 thead th {
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 600;
	padding: 12px 15px;
	text-align: left;
	border-bottom: 2px solid var(--border-color);
}

table.table1 tbody tr {
	border: none;
	transition: background 0.2s ease;
}

table.table1 tbody tr:hover {
	background: rgba(255, 255, 255, 0.03);
}

table.table1 tbody td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	border-top: none;
	padding: 12px 15px;
	color: var(--text-secondary);
}

.forumbg-table > .inner {
	margin: 0;
}

/**  ============================================================
     BOUTONS MODERNES
     ============================================================  **/

.button,
input[type="submit"],
input[type="button"],
button {
	background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
	border: none;
	border-radius: var(--radius-sm);
	color: white;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	box-shadow: var(--shadow-sm);
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	opacity: 0.9;
}

.button:active {
	transform: translateY(0);
}

/* Boutons secondaires */
.button-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
}

.button-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
}

/**  ============================================================
     FORMULAIRES MODERNES
     ============================================================  **/

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: 14px;
	padding: 10px 15px;
	width: 100%;
	transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--accent-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

/**  ============================================================
     BADGES ET NOTIFICATIONS
     ============================================================  **/

.badge {
	background: var(--accent-blue);
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	color: white;
	font-size: 12px;
	font-weight: 600;
	opacity: 1;
	padding: 4px 8px;
	top: 0;
	display: inline-block;
}

/**  ============================================================
     AVATARS
     ============================================================  **/

a.header-avatar img {
	margin-bottom: 2px;
	max-height: 26px;
	border-radius: 50%;
	border: 2px solid var(--border-color);
}

/**  ============================================================
     RÈGLES ET INFORMATIONS
     ============================================================  **/

div.rules {
	background: rgba(74, 144, 226, 0.1);
	border: 1px solid var(--accent-blue);
	border-left: 4px solid var(--accent-blue);
	border-radius: var(--radius-md);
	margin: 15px 0;
	padding: 15px 20px;
	color: var(--text-secondary);
}

#information {
	background: rgba(74, 144, 226, 0.1);
	border: 1px solid var(--accent-blue);
	border-left: 4px solid var(--accent-blue);
	border-radius: var(--radius-md);
	padding: 15px 20px;
	margin-bottom: 15px;
}

#information strong {
	color: var(--accent-blue);
}

/**  ============================================================
     FOOTER MODERNE
     ============================================================  **/

#page-footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-color);
	margin-top: 30px;
	padding: 20px;
}

.copyright {
	color: var(--text-muted);
	font-size: 13px;
	float: left;
	padding: 10px;
	text-align: left;
}

.footer-row {
	font-size: 13px;
	line-height: 1.4em;
	color: var(--text-muted);
}

/**  ============================================================
     LOADING ET INDICATEURS
     ============================================================  **/

.loading_indicator {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-lg);
}

/**  ============================================================
     MARK READ LINK
     ============================================================  **/

.dropdown-extended a.mark_read {
	background: var(--accent-blue);
	border-radius: var(--radius-sm);
	color: white;
	padding: 8px 15px;
	display: inline-block;
	margin: 10px;
	text-align: center;
}

.dropdown-extended a.mark_read:hover {
	background: var(--accent-blue-dark);
}

/**  ============================================================
     ARROW LINKS
     ============================================================  **/

a.arrow-up { padding-left: 0; }
a.arrow-down { padding-right: 0; }
a.arrow-left { padding-left: 0; }
a.arrow-right { padding-right: 0; }

/**  ============================================================
     MEMBER SEARCH
     ============================================================  **/

.member-search {
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-md);
	margin: 10px 0;
}

/**  ============================================================
     RESPONSIVE - MOBILE
     ============================================================  **/

@media only screen and (max-width: 700px) {
	/* Logo responsive */
	.site_logo {
		width: 180px;
		height: 45px;
	}
	
	.site_logo .text {
		font-size: 15px;
		letter-spacing: 1px;
	}
	
	.site_logo .sports-bg {
		font-size: 20px;
	}
	
	/* Header responsive */
	.headerbar .inner {
		flex-direction: column;
		gap: 15px;
	}
	
	#site-description {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	/* Navigation responsive */
	ul.linklist {
		flex-direction: column;
		gap: 5px;
	}
	
	/* Padding réduit sur mobile */
	.page-body {
		padding: 10px;
	}
	
	li.row {
		padding: 12px 15px;
	}
	
	.panel {
		padding: 15px;
	}
}

@media only screen and (max-width: 480px) {
	/* Très petits écrans */
	.forabg,
	.forumbg {
		border-radius: var(--radius-sm);
	}
	
	.post {
		border-radius: var(--radius-sm);
	}
	
	.postbody {
		padding: 15px;
	}
}

/**  ============================================================
     SCROLLBAR PERSONNALISÉE
     ============================================================  **/

::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

/**  ============================================================
     ANIMATIONS ET TRANSITIONS
     ============================================================  **/

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

.forabg,
.forumbg,
.post,
.panel {
	animation: fadeIn 0.5s ease;
}

/**  ============================================================
     CLASSES UTILITAIRES
     ============================================================  **/

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/**  ============================================================
     FIN DU FICHIER CSS MODERNE
     ============================================================  **/
