/* GUILD PROFILES */
.profiles_guild_card {
	width: 100%;
	overflow: auto;
	border-radius: var(--border-radius);
	min-height: 500px;
	position: relative;
	animation: fadeIn 0.5s ease-in;
	backdrop-filter: blur(5px);
}

.profiles_guild_content {
	width: 75%;
	margin: 0 auto;
	padding: 2rem;
	color: var(--gray-light);
	border-radius: var(--border-radius);
	min-height: 500px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.profiles_guild_nickname {
	text-align: center;
	font-size: 40px;
	font-weight: bold;
	color: var(--gray-light);
	margin-bottom: 1rem;
}

.profiles_guild_info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}

.guild-icon {
    margin: 10px 0;
}

.guild_logo img {
	width: 150px;
	height: 150px;
	animation: pulse 2s infinite;
}

.profiles_guild_stats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profiles_guild_stat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: var(--b-low-opacity);
	border-radius: var(--border-radius);
	transition: background 0.2s;
	border: 1px solid var(--ww-low-opacity);
	border-left: 4px solid var(--bright-red);
}

.profiles_guild_stat:hover {
	background: var(--black-shadow);
}

.stat-label {
	font-size: 2.2rem;
	font-weight: 500;
	color: var(--gray-light);
	margin-left: 1.5rem;
	width: 25%;
}

.stat-value {
	font-size: 20px;
	margin-right: 2rem;
}

.profiles_guild_members {
    margin-top: 20px;
}

.guild-members-title {
	font-size: 35px;
	font-weight: bold;
	color: var(--gray-light);
	margin-bottom: 1rem;
}

.guild_members_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.guild-member {
	flex: 0 0 23%;
	padding: 1rem;
	background: var(--b-low-opacity);
	border-radius: var(--border-radius);
	text-align: center;
	transition: transform 0.2s;
	border: 1px solid var(--ww-low-opacity);
	border-left: 1px solid var(--bright-red);
	font-size: 20px;
}

.guild-member:hover {
    transform: translateY(-2px);
}

hr {
	border-top: 1px solid var(--ww-low-opacity);
	margin: 30px 0;
}

@media (max-width: 768px) {
    .profiles_guild_content {
        width: 100%;
        border-radius: 10px;
    }
    .guild-member {
        flex: 0 0 48%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}




















/* PLAYER PROFILES */
.profiles_player_card {
	width: 100%;
	overflow: auto;
	max-height: 400px;
	margin: 1rem;
	animation: fadeIn 0.5s ease-in;
}

.DK.profiles_player_card, .BK.profiles_player_card, .BM.profiles_player_card, .DGK.profiles_player_card { background-image: url('../img/profiles/dk.png'); }
.DW.profiles_player_card, .SM.profiles_player_card, .GM.profiles_player_card, .SW.profiles_player_card { background-image: url('../img/profiles/dw.png'); }
.ELF.profiles_player_card, .ME.profiles_player_card, .HE.profiles_player_card, .NE.profiles_player_card { background-image: url('../img/profiles/elf.png'); }
.SUM.profiles_player_card, .BS.profiles_player_card, .DSM.profiles_player_card, .DS.profiles_player_card { background-image: url('../img/profiles/sum.png'); }
.DL.profiles_player_card, .LE.profiles_player_card, .EL.profiles_player_card { background-image: url('../img/profiles/dl.png'); }
.MG.profiles_player_card, .DM.profiles_player_card, .MK.profiles_player_card { background-image: url('../img/profiles/mg.png'); }
.RF.profiles_player_card, .FM.profiles_player_card, .FB.profiles_player_card { background-image: url('../img/profiles/rf.png'); }

.profiles_player_content {
	float: right;
	width: 68%;
	padding: 1rem;
	color: var(--gray-darken);
	background: var(--b-low-opacity);
	border-radius: var(--border-radius);
	min-height: 400px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-right: 2rem;
}

.profiles_player_nickname {
	text-align: center;
	font-size: 34px;
	font-weight: bold;
	color: var(--gray-light);
}

.profiles_player_info {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.profiles_player_stat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: var(--b-low-opacity);
	border-radius: var(--border-radius);
	transition: background 0.2s;
}

.profiles_player_stat:hover {
	background: var(--black-shadow);
}

.stat-label {
	font-size: 16px;
	font-weight: 500;
	color: var(--gray-light);
	margin-left: 0.5rem;
	width: 15%;
}

.stat-value {
	font-size: 16px;
	margin-right: 1rem;
}

.isoffline {
    color: #ff0000;
}

.isonline {
    color: #00ff00;
}

.progress-bar {
	width: 100%;
	background: var(--black-shadow);
	border-radius: var(--border-radius);
	overflow: hidden;
	position: relative;
	height: 3rem;
}

.progress-fill {
	background: var(--bright-red);
	height: 100%;
	transition: width 0.5s ease-in-out;
	border: 1px solid var(--ww-low-opacity);
}

.progress-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--gray-light);
	font-size: 1.6rem;
}

@media (max-width: 768px) {
    .profiles_player_content {
        width: 100%;
        float: none;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}