.profile-card {
    display: flex;
    margin: 100px auto;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-width: 900px;
    height: auto;
    transition: var(--transition-base);
}

.profile-card:hover {
    transform: translateY(-5px);
}

.character-viewport {
    position: relative;
    width: 45%;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.05);
}

.race-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    filter: brightness(0.6) saturate(1.2);
}

.character-img {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, black 80%, transparent);
}

.stats-panel {
    width: 55%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.player-header h1 {
    margin: 0;
    font-size: 2.3rem;
    letter-spacing: 2px;
    color: var(--text-navbar);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.class-title {
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 4px;
}

.stats-grid {
    margin-top: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 1.4rem;
}

.stat-row strong {
    color: var(--text-navbar);
}

.color-stat strong {
    color: #f0f0f0;
    text-shadow: 0 0 5px rgba(255,255,255,0.1);
}

.profile-card hr {
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 15px 0;
}

.status-offline {
    color: #ff4d4d !important;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

.status-online {
    color: #278028 !important;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

.guild-name {
    color: #aa37a5;
    text-transform: uppercase;
}

.guild-card {
    display: flex;
    width: 750px;
    height: 400px;
    margin: 100px auto;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
    position: relative;
}

.guild-identity {
    width: 35%;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.2) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.logo-container {
    width: 120px;
    height: 120px;
    border: 2px solid var(--text-navbar);
    padding: 10px;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.guild-logo {
    max-width: 100%;
    filter: drop-shadow(0 0 5px var(--text-navbar));
}

.guild-name {
    color: var(--text-navbar);
    letter-spacing: 3px;
    margin: 15px 0 5px 0;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px #000;
}

.guild-badge {
    color: var(--text-muted);
    font-size: 0.8rem;
    border: 1px solid var(--accent-red);
    padding: 3px 13px;
    border-radius: 20px;
}

.guild-details {
    width: 65%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.info-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-box {
    display: flex;
    flex-direction: column;
}

.info-box span {
    color: #666;
    font-size: 0.7rem;
    margin-bottom: 3px;
}

.info-box strong {
    color: #ddd;
    font-size: 1rem;
}

.highlight-gold {
    color: #ffd700 !important;
}

.members-section h3 {
    color: #888;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.members-list {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.member-item {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 4px;
    align-items: center;
    font-size: 0.9rem;
    border-radius: 4px;
    color: #bbb;
}

.member-item.master {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--text-navbar);
    color: #ddd;
}

.rank-icon {
    font-size: 0.7rem;
    color: #ffd700;
}

.class {
    font-weight: bold;
    text-align: right;
    font-size: 0.75rem;
    color: #555;
}

.members-list::-webkit-scrollbar {
    width: 4px;
}

.members-list::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 10px;
}
