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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    color: rgba(255, 255, 255, 0.9);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(40, 40, 40, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(50, 50, 50, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 10%, rgba(30, 30, 30, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 10% 90%, rgba(45, 45, 45, 0.05) 0%, transparent 35%);
    animation: drift 30s linear infinite;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(30, 30, 30, 0.015) 49%, rgba(30, 30, 30, 0.015) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(40, 40, 40, 0.01) 49%, rgba(40, 40, 40, 0.01) 51%, transparent 52%);
    background-size: 60px 60px;
    animation: slide 25s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

@keyframes slide {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px 60px; }
}

.roster-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.roster-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.roster-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rank-section {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    position: relative;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.rank-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.member-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.member-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.member-item:last-child {
    margin-bottom: 0;
}



.bottom-toolbar {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    margin-top: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.toolbar-icon {
    padding: 12px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.toolbar-icon:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.toolbar-icon.active {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toolbar-icon.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.bio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bio-overlay.hidden {
    display: none;
}

.bio-modal {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.bio-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
}

.bio-close:hover {
    color: rgba(255, 255, 255, 1);
}

.bio-avatar {
    margin-bottom: 20px;
}

.bio-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.bio-modal h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.bio-modal p {
    font-size: 16px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.bio-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-group small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.success-message {
    background: rgba(0, 255, 102, 0.2);
    border: 1px solid rgba(0, 255, 102, 0.4);
    color: rgba(0, 255, 102, 1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.dashboard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.logout-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-edit {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.edit-header {
    text-align: center;
    margin-bottom: 32px;
}

.edit-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.edit-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.update-btn {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
}

.update-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-container {
        padding: 20px 16px;
    }
    
    .profile-edit {
        padding: 24px;
    }
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-form {
    background: rgba(255, 255, 255, 0.06);
    padding: 48px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 450px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.login-form input {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.login-form label {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.login-form label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

.login-form button {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.login-form button:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.click-to-enter {
    color: white;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.click-to-enter:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.profile-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.profile-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    border-radius: 25px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.profile-rank {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.profile-bio {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .roster-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .roster-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-toolbar {
        gap: 16px;
    }
    
    .profile-content {
        padding: 30px;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-rank {
        font-size: 14px;
    }
    
    .profile-bio {
        font-size: 14px;
    }
}