body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
}

header {
    background: linear-gradient(135deg, var(--orange-start), var(--orange-end));
    color: var(--text-light);
    text-align: center;
    padding: 4rem 0 3rem;
    position: relative;
}

header .logo {
    width: 110px;
    margin-bottom: 1rem;
    margin-top: -1.5rem;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
}

header svg {
    display: block;
    width: 100%;
    height: 70px;
    position: absolute;
    left: 0;
    bottom: -1px;
}

.back-button {
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--dark);
    color: var(--text-light);
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.15s ease;
}
.back-button:hover {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.05);
}

main {
    flex: 1;
    padding: 3rem 1rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    width: 260px;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.team-card .skin {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: 10px;
    image-rendering: pixelated;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.team-rank {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
}
.rank-Owner {
    color: darkred;
}
.rank-admin {
    color: darkred;
}

.rank-dev {
    color: darkcyan;
}

.rank-mod {
    color: blue;
}

.rank-support {
    color: yellow;
}


footer {
    background: var(--dark);
    color: var(--text-light);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1rem;
    width: 100%;
    letter-spacing: 0.04em;
    margin-top: auto;
}
