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

:root {
    --back: #0a0d12;
    --accent: #fd7d62;
    --accent-glow: rgba(253, 125, 98, 0.4);
    --txt: #f0f0f0;
    --txt-muted: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--back);
    color: var(--txt);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(253, 125, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(253, 125, 98, 0.05) 0%, transparent 50%);
}

main {
    padding: 100px 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

main h1 {
    color: var(--accent);
    margin-bottom: 60px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
    display: inline-block;
}

main h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light, #ff9a8b));
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.team-grid {
    display: grid;
    width: 100%;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.member-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 125, 98, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover::before {
    opacity: 1;
}

.member-card:hover {
    transform: translateY(-15px);
    border-color: rgba(253, 125, 98, 0.4);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(253, 125, 98, 0.15);
}

.member-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--back-light, #11151c);
    position: relative;
}

.member-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 13, 18, 0.9), transparent);
    pointer-events: none;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 30px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.member-info .role {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.member-info .desc {
    font-size: 0.95rem;
    color: var(--txt-muted);
    margin-top: 12px;
    line-height: 1.6;
    font-weight: 400;
}

/* ========== FOOTER ========== */
.global-footer {
    padding: 50px 0;
    width: 100%;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(10, 13, 18, 0.5);
    backdrop-filter: blur(10px);
}

.footer-wrap p {
    font-size: 0.8rem;
    opacity: 0.5;
    margin: 5px 0;
    letter-spacing: 0.5px;
}

.footer-wrap .credits {
    color: var(--accent);
    opacity: 0.7;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(253, 125, 98, 0.3);
    border-radius: 5px;
    border: 2px solid var(--back);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(253, 125, 98, 0.5);
}

/* ========== SELECTION ========== */
::selection {
    background: var(--accent);
    color: var(--back);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    main {
        padding: 60px 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    main h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 40px 10px;
    }
    
    .member-info {
        padding: 20px 15px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
}
