/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0f0f0f 100%);
    min-height: 100vh;
    color: #e8e8e8;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.title i {
    color: #ffd700;
    margin-right: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 5px;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.description {
    font-size: 0.9rem;
    color: rgba(232, 232, 232, 0.8);
    margin-top: 8px;
}

.header-actions {
    margin-top: 20px;
}

.vote-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: #ffd700;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.vote-link:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.vote-link i {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

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

/* Navigation Indicators */
.nav-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(45, 45, 45, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.indicator.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-color: #ffd700;
    transform: scale(1.2);
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.indicator:hover {
    background: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Member Counter */
.member-counter {
    text-align: center;
    color: rgba(232, 232, 232, 0.9);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.current-member {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffd700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    z-index: 10;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(26, 26, 26, 0.9) 100%);
    transform: translateY(-50%) scale(1.1);
    border-color: #ffd700;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.nav-btn-left {
    left: -80px;
}

.nav-btn-right {
    right: -80px;
}

/* Members Container */
.members-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    height: calc(100vh - 200px);
    min-height: 500px;
    max-height: 700px;
}

/* Member Card */
.member-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(26, 26, 26, 0.95) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    border-radius: 25px;
    padding: 30px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.member-card.active {
    opacity: 1;
    transform: translateX(0);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.member-card.prev {
    transform: translateX(-100px);
}

/* Member Avatar */
.member-avatar {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    flex-shrink: 0;
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 215, 0, 0.6),
        inset 0 2px 0 rgba(255, 215, 0, 0.4);
}

.avatar-ring {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Member Info */
.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    flex-shrink: 0;
}

.member-role {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: #ffd700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    margin: 0 auto 15px;
    display: block;
    width: fit-content;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.join-date {
    text-align: center;
    color: rgba(232, 232, 232, 0.7);
    margin-bottom: 20px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.join-date i {
    margin-right: 8px;
    color: #ffd700;
}

/* Bio and Highlights */
.member-bio, .highlights {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.member-bio h3, .highlights h3 {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.member-bio p {
    line-height: 1.5;
    color: rgba(232, 232, 232, 0.8);
    font-size: 0.9rem;
}

.highlights ul {
    list-style: none;
}

.highlights li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
    color: rgba(232, 232, 232, 0.8);
    font-size: 0.85rem;
}

.highlights li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #ffd700;
    font-size: 0.8rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: rgba(232, 232, 232, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 8px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .description {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .header {
        padding: 12px 15px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .nav-btn-left {
        left: -30px;
    }

    .nav-btn-right {
        right: -30px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .member-card {
        padding: 20px;
    }

    .members-container {
        height: calc(100vh - 160px);
        min-height: 450px;
        max-height: 650px;
    }

    .member-counter {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .nav-indicators {
        gap: 10px;
        margin-bottom: 8px;
    }

    .avatar-img {
        width: 80px;
        height: 80px;
    }

    .avatar-ring {
        width: 100px;
        height: 100px;
        top: -6px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-bio h3, .highlights h3 {
        font-size: 1rem;
    }

    .member-bio p {
        font-size: 0.85rem;
    }

    .highlights li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }

    .title {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .description {
        font-size: 0.75rem;
    }

    .header {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .nav-btn-left, .nav-btn-right {
        position: static;
        margin: 8px;
    }

    .main-content {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .members-container {
        height: calc(100vh - 140px);
        min-height: 400px;
    }

    .nav-indicators {
        gap: 8px;
        margin-bottom: 6px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .member-counter {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
}
