.csapat-section {
    background-color: #1a1a1a;
    padding: 80px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.csapat-container {
    max-width: 1400px;
    margin: 0 auto;
}

.csapat-header {
    text-align: center;
    margin-bottom: 80px;
}

.csapat-title {
    font-family: 'MinecraftTen', 'Arial', sans-serif;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    /* text-shadow: -1px 0px 0px #737373; */
    letter-spacing: 2px;
}

.csapat-subtitle {
    font-family: 'Regular', 'Arial', sans-serif;
    font-size: 18px;
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.team-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    background: #2a2a2a;
    border: 4px solid #424242;
    position: relative;
}

/* bal oldal */
.team-info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    min-height: 400px;
}

.team-member-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.team-member-info.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.team-member-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.team-member-title-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-member-name {
    font-family: 'MinecraftTen', 'Arial', sans-serif;
    font-size: 32px;
    color: #ffffff;
    /* text-shadow: 2px 2px 0 #737373; */
    letter-spacing: 2px;
    line-height: 1;
}

.team-member-separator {
    width: 6px;
    height: 6px;
    background: #666666;
    flex-shrink: 0;
}

.team-member-rank {
    font-family: 'RegularBold', 'Arial', sans-serif;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1;
    font-weight: bold;
    text-shadow: 2px 4px 0 #1f1f1f;
    transform: translateY(3px);
}

.team-member-description {
    font-family: 'Regular', 'Arial', sans-serif;
    font-size: 15px;
    color: #e5e5e5;
    line-height: 1.7;
    margin-top: 10px;
}

/* jobb oldal */
.team-model-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.team-model-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 150px;
}

.team-model {
    position: absolute;
    width: 170%;
    height: 170%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-model.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: modelFloat 3s ease-in-out infinite;
}

.team-model img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(1.2);
}

/* Navigáció */
.team-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.team-nav-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Regular', 'Arial', sans-serif;
}

.team-nav-btn:hover:not(:disabled) {
    color: #ffffff;
    transform: scale(1.2);
}

.team-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* fejek */
.team-indicators {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
}

.team-indicator {
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    filter: grayscale(100%);
    opacity: 0.6;
}

.team-indicator:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.team-indicator.active {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-10px);
    border: 3px solid #4ade80;
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.team-indicator img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .team-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .team-model-wrapper {
        height: 350px;
    }
    
    .team-member-name {
        font-size: 26px;
    }
    
    .team-member-rank {
        font-size: 16px;
    }
    
    .team-model-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .csapat-section {
        padding: 60px 20px;
    }
    
    .csapat-title {
        font-size: 36px;
    }
    
    .csapat-subtitle {
        font-size: 16px;
    }
    
    .team-showcase {
        padding: 30px 20px;
    }
    
    .team-model-wrapper {
        height: 300px;
    }
    
    .team-member-name {
        font-size: 22px;
    }
    
    .team-member-rank {
        font-size: 14px;
    }
    
    .team-member-description {
        font-size: 14px;
    }
    
    .team-indicators {
        gap: 10px;
    }
    
    .team-indicator {
        width: 40px;
        height: 40px;
    }
    
    .team-nav-btn {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .csapat-title {
        font-size: 28px;
    }
    
    .team-member-title-line {
        flex-wrap: wrap;
    }
    
    .team-member-name {
        font-size: 20px;
    }
    
    .team-member-separator {
        width: 12px;
        height: 12px;
    }
    
    .team-indicators {
        gap: 8px;
    }
    
    .team-indicator {
        width: 36px;
        height: 36px;
    }
}