﻿/*!
 * template_modern — profile pages
 */

/* ── Player profile card ── */
.profiles_player_card {
	position: relative;
	width: 680px;
	max-width: 100%;
	min-height: 400px;
	margin: 0 auto;
	border: 1px solid rgba(26, 111, 255, 0.3) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(26, 111, 255, 0.15) !important;
	overflow: hidden;
	background-color: rgba(8, 12, 24, 0.95);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

/* Dark overlay so text is readable over the image */
.profiles_player_card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(8, 12, 24, 0.10) 0%,
		rgba(8, 12, 24, 0.55) 35%,
		rgba(8, 12, 24, 0.92) 65%,
		rgba(8, 12, 24, 0.97) 100%
	);
	pointer-events: none;
	z-index: 0;
}

/* Stats container sits on top of the overlay */
.profiles_player_content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	min-height: 400px;
	padding: 40px 48px 40px 50%;
}

.profiles_player_table {
	width: 100%;
	border: 0 !important;
	background: transparent !important;
}
.profiles_player_table td {
	border: 0 !important;
	padding: 3px 0 !important;
	background: transparent !important;
	color: #fff;
}

.profiles_player_table .cname {
	font-family: 'Poppins', 'Inter', sans-serif;
	font-size: 30px;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 0 24px rgba(26, 111, 255, 0.6), 0 2px 8px rgba(0,0,0,0.8);
	padding-bottom: 4px !important;
	text-align: right;
	padding-right: 0 !important;
}

.profiles_player_table .cclass {
	font-size: 13px;
	color: #4d8fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	padding-bottom: 14px !important;
	text-align: right;
	padding-right: 0 !important;
}

.profiles_player_table_info { margin-top: 4px; }
.profiles_player_table_info tr td:first-child {
	color: rgba(180, 210, 255, 0.60);
	font-size: 13px;
	padding-right: 16px !important;
	text-align: right;
	white-space: nowrap;
	width: 55%;
}
.profiles_player_table_info tr td:last-child {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: left;
	width: 45%;
}
.profiles_player_table_info .isonline  { color: #4ade80 !important; font-weight: 700; }
.profiles_player_table_info .isoffline { color: #ef4444 !important; font-weight: 700; }

/* ── Background images per class ── */
.profiles_player_card.DW,
.profiles_player_card.SM,
.profiles_player_card.GM,
.profiles_player_card.SW  { background-image: url('../img/profiles/wiz.jpg'); }

.profiles_player_card.DK,
.profiles_player_card.BK,
.profiles_player_card.BM,
.profiles_player_card.DGK { background-image: url('../img/profiles/knight.jpg'); }

.profiles_player_card.ELF,
.profiles_player_card.ME,
.profiles_player_card.HE,
.profiles_player_card.NE  { background-image: url('../img/profiles/elf.jpg'); }

.profiles_player_card.MG,
.profiles_player_card.DM,
.profiles_player_card.MK  { background-image: url('../img/profiles/mg.jpg'); }

.profiles_player_card.DL,
.profiles_player_card.LE,
.profiles_player_card.EL  { background-image: url('../img/profiles/dl.jpg'); }

.profiles_player_card.SUM,
.profiles_player_card.BS,
.profiles_player_card.DSM,
.profiles_player_card.DS  { background-image: url('../img/profiles/sum.jpg'); }

.profiles_player_card.RF,
.profiles_player_card.FM,
.profiles_player_card.FB  { background-image: url('../img/profiles/rf.jpg'); }

.profiles_player_card.GL,
.profiles_player_card.ML,
.profiles_player_card.SL  { background-image: url('../img/profiles/gl.jpg'); }

.profiles_player_card.RW,
.profiles_player_card.RSM,
.profiles_player_card.GRM { background-image: url('../img/profiles/rw.jpg'); }

.profiles_player_card.SLR,
.profiles_player_card.SLRR,
.profiles_player_card.MSLR,
.profiles_player_card.SLTR { background-image: url('../img/profiles/sl.jpg'); }

.profiles_player_card.GC,
.profiles_player_card.GB,
.profiles_player_card.MGB,
.profiles_player_card.HGC { background-image: url('../img/profiles/gc.jpg'); }

.profiles_player_card.LIW,
.profiles_player_card.LIM,
.profiles_player_card.SHW,
.profiles_player_card.LUW { background-image: url('../img/profiles/liw.jpg'); }

.profiles_player_card.LEM,
.profiles_player_card.WAM,
.profiles_player_card.ARM,
.profiles_player_card.MYM { background-image: url('../img/profiles/lem.jpg'); }

.profiles_player_card.IK,
.profiles_player_card.MIK,
.profiles_player_card.IM,
.profiles_player_card.MYK { background-image: url('../img/profiles/ik.jpg'); }

/* ── Guild profile card ── */
.profiles_guild_card {
	border: 1px solid rgba(26, 111, 255, 0.3) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(26, 111, 255, 0.15) !important;
	background: rgba(8, 12, 24, 0.92);
}
.profiles_guild_card .guild_name,
.profiles_guild_card .guild_members {
	font-family: 'Poppins', 'Inter', sans-serif !important;
	color: #fff !important;
}
.profiles_guild_card hr { border-top-color: rgba(255, 255, 255, 0.15) !important; }
.profiles_guild_card table { color: #fff; }
