@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

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

:root {
    --primary-red: #c42727;
    --primary-red-dark: #8b1a1a;
    --primary-red-light: #e63946;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #252525;
    --border-color: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-gold: #d4af37;
}

body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(at 20% 30%, rgba(196, 39, 39, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(196, 39, 39, 0.05) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(196, 39, 39, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar:hover {
    background: rgba(10, 10, 10, 0.85);
    border-bottom-color: rgba(196, 39, 39, 0.4);
}

.navbar .logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(196, 39, 39, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.navbar .logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transition: width 0.3s ease;
}

.navbar .logo:hover::after {
    width: 100%;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.navbar a {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
    letter-spacing: 1px;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: var(--primary-red-light);
    text-shadow: 0 0 10px rgba(196, 39, 39, 0.5);
}

.navbar a:hover::before {
    width: 100%;
}

/* Hero Section */
.hero, .subhero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%),
                url('https://images.unsplash.com/photo-1602526218591-46e12b391f5e?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(196, 39, 39, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.subhero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    position: relative;
}

.subhero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(196, 39, 39, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero h1, .subhero h1 {
    font-size: clamp(48px, 8vw, 90px);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-red-light) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(196, 39, 39, 0.5);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: clamp(20px, 3vw, 28px);
    margin-top: 20px;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.subhero h1 {
    font-size: clamp(42px, 7vw, 75px);
}

/* Content Section */
.content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.content p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content ul li {
    font-size: 22px;
    padding: 20px 30px;
    margin: 15px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(35, 35, 35, 0.6) 100%);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.content ul li::before {
    content: '▶';
    position: absolute;
    left: 10px;
    color: var(--primary-red);
    opacity: 0;
    transition: all 0.3s ease;
}

.content ul li:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-red-light);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(35, 35, 35, 0.8) 100%);
    box-shadow: 0 5px 20px rgba(196, 39, 39, 0.2);
}

.content ul li:hover::before {
    opacity: 1;
    left: 15px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Ranks Grid - more compact, fixed layout */
.ranks-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.rank-card {
    cursor: pointer;
    text-align: center;
    padding: 20px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rank-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.rank-card h3 {
    margin: 10px 0 5px 0;
    font-size: 22px;
}

.rank-short {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(35, 35, 35, 0.7) 100%);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(196, 39, 39, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(196, 39, 39, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(196, 39, 39, 0.3),
                0 0 30px rgba(196, 39, 39, 0.1);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 40, 0.85) 100%);
}

.card h3 {
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar a {
        font-size: 16px;
    }
    
    .hero, .subhero {
        height: 50vh;
        min-height: 400px;
    }
    
    .content {
        width: 95%;
        padding: 40px 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content ul li {
        font-size: 18px;
        padding: 15px 20px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
}

/* Additional Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content > * {
    animation: fadeIn 0.6s ease-out;
}

.card {
    animation: fadeIn 0.6s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Dropdown/Accordion Styles */
.dropdown {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(35, 35, 35, 0.7) 100%);
    border: 1px solid rgba(196, 39, 39, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dropdown:hover {
    border-color: rgba(196, 39, 39, 0.4);
    box-shadow: 0 5px 20px rgba(196, 39, 39, 0.1);
}

.dropdown-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(40, 40, 40, 0.6) 100%);
    transition: all 0.3s ease;
    user-select: none;
}

.dropdown-header:hover {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.9) 0%, rgba(45, 45, 45, 0.7) 100%);
}

.dropdown-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.dropdown-header .dropdown-icon {
    font-size: 20px;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.dropdown.active .dropdown-header .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.dropdown.active .dropdown-content {
    max-height: 2000px;
    padding: 25px 30px;
}

.dropdown-content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin: 15px 0;
    text-align: left;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.dropdown-content ul li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.dropdown-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.dropdown-content .sub-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}

.dropdown-content .sub-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: var(--primary-red-light);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Card dropdown styles for ranks page */
.card .dropdown-header {
    margin-bottom: 0;
}

.card.active {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(196, 39, 39, 0.3);
}

.card .dropdown-content {
    transition: max-height 0.4s ease, padding 0.4s ease;
    overflow: hidden;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(35, 35, 35, 0.95) 100%);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(196, 39, 39, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(196, 39, 39, 0.2);
    animation: slideUp 0.4s ease;
    position: relative;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px 40px 20px 40px;
    border-bottom: 1px solid rgba(196, 39, 39, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(40, 40, 40, 0.6) 100%);
}

.modal-rank-number {
    font-size: 48px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.modal-body {
    padding: 30px 40px 40px 40px;
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-red-light);
    transform: rotate(90deg);
    text-shadow: 0 0 10px rgba(196, 39, 39, 0.5);
}

@media (max-width: 1200px) {
    .ranks-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .ranks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rank-card {
        padding: 15px;
        min-height: 120px;
    }
    
    .rank-number {
        font-size: 24px;
        top: 8px;
        right: 10px;
    }
    
    .rank-card h3 {
        font-size: 18px;
    }
    
    .rank-short {
        font-size: 12px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-header {
        padding: 25px 30px 15px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modal-rank-number {
        font-size: 36px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 20px 30px 30px 30px;
    }
    
    .modal-body p {
        font-size: 16px;
    }
    
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 28px;
    }
}

/* Members Page Styles */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(35, 35, 35, 0.7) 100%);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(196, 39, 39, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(196, 39, 39, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.member-card:hover::before {
    left: 100%;
}

.member-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(196, 39, 39, 0.3),
                0 0 30px rgba(196, 39, 39, 0.1);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 40, 0.85) 100%);
}

.member-avatar-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(196, 39, 39, 0.3);
    box-shadow: 0 0 30px rgba(196, 39, 39, 0.4);
    transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
    border-color: var(--primary-red);
    box-shadow: 0 0 40px rgba(196, 39, 39, 0.6);
    transform: scale(1.05);
}

.member-card[data-rank="12"] .member-avatar {
    border-width: 5px;
    box-shadow: 0 0 40px rgba(196, 39, 39, 0.6),
                0 0 80px rgba(196, 39, 39, 0.3);
}

.member-card[data-rank="12"]:hover .member-avatar {
    box-shadow: 0 0 50px rgba(196, 39, 39, 0.8),
                0 0 100px rgba(196, 39, 39, 0.5);
}

.member-rank-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(196, 39, 39, 0.7);
    border: 3px solid var(--bg-dark);
    z-index: 2;
}

.member-card[data-rank="12"] .member-rank-badge {
    box-shadow: 0 0 20px rgba(196, 39, 39, 0.9),
                0 0 40px rgba(196, 39, 39, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
    width: 55px;
    height: 55px;
    font-size: 22px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(196, 39, 39, 0.9),
                    0 0 40px rgba(196, 39, 39, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(196, 39, 39, 1),
                    0 0 60px rgba(196, 39, 39, 0.7);
    }
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.member-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-red-light);
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.member-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-card {
        padding: 30px 20px;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    .member-rank-badge {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: -3px;
        right: -3px;
    }
    
    .member-card[data-rank="12"] .member-rank-badge {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .member-name {
        font-size: 28px;
    }
    
    .member-title {
        font-size: 18px;
    }
    
    .member-description {
        font-size: 15px;
    }
}
