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

body {
    background-color: #2e2e2e;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
}

header {
    width: 100%;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, transparent, #81242d, transparent) 1;
    position: fixed;
    top: 0;
    z-index: 100;
}

.game-title {
    color: #81242d;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

nav ul li { margin: 0; padding: 0; }

nav ul li h1 {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}

nav ul li h1 a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #aaaaaa;
    border: 2px solid #81242d;
    border-radius: 8px;
    background: linear-gradient(to bottom, #141414, #1a1a1a);
    box-shadow: 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

nav ul li h1 a:hover {
    background: linear-gradient(to bottom, #81242d, #750d0d);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

nav ul li h1 a:active {
    background: linear-gradient(to bottom, #750d0d, #81242d);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(1px);
}

.page-content {
    flex: 1;
    padding: 30px;
    padding-top: 100px;
}

.section-header {
    margin-bottom: 32px;
}

.section-label {
    color: #aaaaaa;
    background-color: #81242d;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    color: #81242d;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.member-card {
    background-color: #141414;
    border: 1px solid #444;
    border-top: 3px solid #81242d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}

.member-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1015 50%, #141414 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.member-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(129,36,45,0.18) 0%, transparent 70%);
}

.avatar-initials {
    font-size: 3rem;
    font-weight: 700;
    color: #81242d;
    letter-spacing: 0.04em;
    z-index: 1;
    user-select: none;
}

.member-info {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.member-name {
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.member-role {
    color: #aaaaaa;
    background-color: #81242d;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.member-divider {
    height: 1px;
    background-color: #333;
    margin: 6px 0;
}

.member-bio {
    color: #aaaaaa;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .game-title { font-size: 1.6rem; }
}